Skip to content
⚠ TESTING ENVIRONMENT You are viewing a testing copy of Tolioo. Changes here do not affect the live website.

UUID Generator

Generate random UUID v4, time-ordered UUID v7, UUID v1 and GUIDs online. Create one or up to 1,000 UUIDs at once. Fast, free and no signup.

  • 100% free
  • Bulk generate
  • Runs in your browser

Generated UUIDs

0 UUIDs
ADVERTISEMENT
Demo Ad 728 x 90

Generate a UUID in 3 simple steps

  1. 1

    Pick a version

    Choose UUID v4 (random), v7 (time-ordered), v1 or Nil.

  2. 2

    Set quantity & format

    Generate 1 to 1,000 UUIDs, with or without hyphens, in any case.

  3. 3

    Copy or download

    Copy everything with one click or save the list as a .txt file.

UUID & GUID GUIDE

Free Online UUID Generator – Random UUID v4, UUID v7 and GUID in Bulk

Need a unique ID right now? Our free UUID generator creates universally unique identifiers (also called GUIDs) in one click. Generate a random UUID v4, a sortable UUID v7, a time-based UUID v1 or a Nil UUID. Create a single value or a bulk list of up to 1,000 UUIDs, choose uppercase or lowercase, remove the hyphens, wrap the result in braces or quotes, then copy it or download it as a text file. Everything runs in your browser with the secure random number generator built into modern browsers, so there is no signup and nothing to install.

People search for a UUID generator, a GUID generator or a random ID generator for the same reason: they need a value that will not clash with any other. This free online tool covers every common case. Create a random UUID v4 for an API key name or a file, a sortable UUID v7 for a database primary key, a Nil UUID as a placeholder, or a bulk list for test data. It runs in your browser on Windows, Mac, Linux, Android and iPhone, so there is nothing to install and nothing is uploaded.

  • uuid generator
  • guid generator online
  • random uuid
  • uuid v4 generator
  • uuid v7 generator
  • bulk uuid generator
  • generate uuid online
  • uuid without hyphens

UUID v4 Generator (Random UUID)

UUID version 4 is built from random numbers, which makes it the most popular choice for generating a unique ID online. Use a random UUID v4 for database keys, API request IDs, session tokens, file names, order numbers and test data.

UUID v7 Generator (Sortable UUID)

UUID v7 starts with a Unix timestamp, so new values sort in the order they were created. That makes it a strong UUID for primary keys because it keeps database indexes tidy and avoids the random inserts of v4.

GUID Generator for .NET and SQL Server

A GUID is Microsoft's name for a UUID. Use the braces format to get values like {123e4567-e89b-42d3-a456-426614174000}, ready for C#, .NET, SQL Server, Windows registry and COM projects.

What Is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit value used to label data without a central authority handing out numbers. It is written as 32 hexadecimal characters split into five groups by hyphens, in the pattern 8-4-4-4-12, for example 550e8400-e29b-41d4-a716-446655440000. The standard is defined in RFC 4122 and updated by RFC 9562, which also introduced the newer UUID v6, v7 and v8 formats. Because UUIDs can be created anywhere, on any device, without checking a shared counter, they are used across web apps, mobile apps, distributed systems and databases.

How to Generate a UUID Online

  1. Select the UUID version: v4 for a random UUID, v7 for a time-ordered UUID, v1 for a timestamp-based UUID, or Nil for the all-zero UUID.
  2. Enter how many UUIDs you need: type any number from 1 to 1,000, or use the quick buttons.
  3. Pick the output format: lowercase or UPPERCASE, with or without hyphens, plain, in { braces } or in "quotes".
  4. Copy or download: use Copy for the clipboard or Download .txt to save a bulk list.

UUID Versions Explained: v1 vs v4 vs v7

Each UUID version builds the identifier in a different way. This table shows when to use which one.

VersionHow it is madeSortableBest for
UUID v1Timestamp plus node and clock sequencePartlyLegacy systems that expect time-based IDs
UUID v4Random numbers (122 random bits)NoGeneral purpose unique IDs, tokens, test data
UUID v7Unix timestamp in milliseconds plus random bitsYesDatabase primary keys, event logs, new projects
Nil UUIDAll 128 bits set to zeron/aPlaceholder or "empty" value

UUID vs GUID: What Is the Difference?

There is no practical difference. GUID (Globally Unique Identifier) is the term used in Microsoft products such as .NET, C#, SQL Server and Windows, while UUID is the name used in the RFC standard and in most other languages and databases. Both are 128-bit identifiers with the same layout, so a GUID created here works anywhere a UUID is accepted, and the other way round. The only visible difference is style: GUIDs are often shown in uppercase or wrapped in curly braces.

Are UUIDs Really Unique? Collision Probability

A random UUID v4 has 122 random bits, which gives about 5.3 × 1036 possible values. You would have to generate roughly one billion UUIDs every second for around 85 years before the chance of a single duplicate reached 50%. For real-world apps, the chance of a collision is so small that it is treated as impossible. The generator on this page uses crypto.getRandomValues(), a cryptographically secure source, instead of Math.random(), which is not suitable for unique IDs.

Using UUIDs as Database Primary Keys

UUIDs are popular as primary keys in MySQL, PostgreSQL and SQL Server because you can create IDs in your app before saving a record, merge data from several sources, and avoid exposing guessable numbers such as /users/1. The trade-off is index performance: fully random UUID v4 values are inserted at random positions, which can fragment indexes on large tables. UUID v7 solves this because the timestamp prefix makes new rows land at the end of the index, while keeping the benefits of a UUID. If you store UUIDs in MySQL, a BINARY(16) column uses less space than a CHAR(36) column.

How to Generate a UUID in Code

Need UUIDs inside your own project? These are the most common one-liners.

JavaScript / Node.js
crypto.randomUUID()
PHP / Laravel
use Illuminate\Support\Str;

Str::uuid();      // v4
Str::uuid7();     // v7
Python
import uuid

uuid.uuid4()
C# / .NET
Guid.NewGuid()
MySQL
SELECT UUID();
PostgreSQL
SELECT gen_random_uuid();

Common Uses for a UUID Generator

  • Database records: primary keys and foreign keys that are safe to create on the client or server.
  • APIs and microservices: request IDs, correlation IDs and idempotency keys for tracing and retries.
  • Testing and mock data: bulk lists of unique IDs for fixtures, seeders and load tests.
  • File and upload names: collision-free names for images, documents and exports.
  • Sessions and tokens: unique identifiers for sessions, invitations and one-time links (use a dedicated secret token for security-critical secrets).
  • Windows and .NET: GUIDs for installers, COM components and registry entries.

UUID Formats: Hyphens, Case, Braces and Quotes

The same 128-bit value can be written in several ways. Choose the one that your code or database expects.

UUID output formats in this generator
FormatExampleTypical use
With hyphens (lowercase)550e8400-e29b-41d4-a716-446655440000The standard text form for APIs, JSON and most databases
UPPERCASE550E8400-E29B-41D4-A716-446655440000Systems and documents that expect capital letters
No hyphens550e8400e29b41d4a716446655440000Compact IDs, file names and CHAR(32) columns
{ GUID } with braces{550e8400-e29b-41d4-a716-446655440000}.NET, C#, SQL Server and the Windows registry
"Quoted""550e8400-e29b-41d4-a716-446655440000"Pasting a list straight into code, JSON or SQL

What Is a Nil UUID?

The Nil UUID is the special value 00000000-0000-0000-0000-000000000000, with every bit set to zero. It is used as an "empty" or placeholder identifier when no real UUID exists yet, for example as a default value in a form or a test fixture. Never use it as a real ID, because every Nil UUID is the same.

Troubleshooting: Common UUID Problems

  • A validator rejects my UUID: A standard UUID has 32 hexadecimal characters in the pattern 8-4-4-4-12. Make sure the format is With hyphens and Plain, without braces or quotes.
  • My database says "invalid UUID": If you used the { GUID } or Quoted format, switch to Plain. Some databases, such as PostgreSQL, accept braces, while others do not.
  • Two UUIDs look almost the same: UUID v7 values start with a timestamp, so values created at nearly the same time share their first characters. This is expected and helps sorting.
  • Uppercase and lowercase do not match: UUIDs are case-insensitive, but many systems compare them as text. Pick one case and use it everywhere.
  • I need the version of a UUID: Look at the first character of the third group. A 4 means version 4, a 7 means version 7 and a 1 means version 1.

UUID Generator on Mobile, Windows and Mac

The generator is a normal web page, so it works on Android, iPhone, Windows, Mac and Linux in any modern browser. Open it, tap Generate new, then copy the result or download a list as a .txt file. There is no account and no extension, and the IDs are created on your own device.

More Free Developer Tools You May Need

IDs rarely travel alone. These free tools help with the data around them:

Why Use Our Online UUID Generator?

Our UUID generator is built to be quick and private. It is free with no signup, creates up to 1,000 UUIDs per click, supports v4, v7, v1 and Nil, and lets you control case, hyphens and wrapping so the output matches your code or database. Because the work happens in your browser, your generated IDs are never uploaded or logged, and the tool works on desktop, tablet and mobile.

ADVERTISEMENT
Demo Ad 300 x 250
COMMON QUESTIONS

Frequently Asked Questions About UUID and GUID Generators

Quick answers about generating UUIDs online, choosing between UUID v4 and v7, GUID formats and using UUIDs in databases.

What is a UUID generator?

A UUID generator is a tool that creates universally unique identifiers, 128-bit values written as 36 characters such as 550e8400-e29b-41d4-a716-446655440000. Developers use them as unique IDs for database rows, API requests, files and more, without needing a central system to hand out numbers.

How do I generate a random UUID or a bulk list online?

Open this page and a random UUID v4 is already created for you. Click Generate new for another one, or choose a quantity from 1 to 1,000 to create a whole list, one UUID per line. Then press Copy to put the UUIDs on your clipboard, or download them as a .txt file.

Is UUID the same as GUID?

Yes. GUID is the Microsoft name for the same 128-bit identifier. A UUID from this tool can be used as a GUID in .NET, C#, SQL Server and Windows. For GUID-style output, choose UPPERCASE and the { GUID } format.

What is the difference between UUID v4 and UUID v7?

UUID v4 is fully random, while UUID v7 begins with a millisecond timestamp followed by random bits. Because of that timestamp, v7 values sort by creation time, which is better for database primary keys and indexes. Both have the same 36-character format. For large tables, prefer UUID v7 or store UUIDs as BINARY(16).

Are the generated UUIDs truly unique?

For practical purposes, yes. A UUID v4 has 122 random bits, so the chance of two matching values is astronomically small. This tool uses the browser's cryptographically secure random generator, which is the right source for unique IDs.

How do I remove hyphens or change the case and format of a UUID?

Use the settings next to the output. Select No hyphens to get 32 hexadecimal characters, such as 550e8400e29b41d4a716446655440000. Choose lowercase or UPPERCASE for the letters, and wrap each value in braces for a GUID or in quotes for use in code and JSON lists.

Is it safe to generate UUIDs here, and can I use one as a password?

Yes, it is safe. The UUIDs are created locally in your browser and are never sent to our server or saved. A UUID is designed to be unique, not secret, so do not rely on it alone as a password or API secret. For those, use a dedicated password or token generator with a longer random value.

ADVERTISEMENT
Demo Ad 320 x 50