Free Tools · by The Cited Brand
100% FREE · NO SIGN-UP · NOTHING LEAVES YOUR BROWSER

UUID Generator

A UUID generator for developers: make UUIDs in one click — random v4, time-ordered v7, time-based v1 and v6, or name-based v3 and v5 from any string. Bulk up to 1,000, custom timestamps, braces and URN formats. Everything is made with your browser's secure random generator — never Math.random — and nothing leaves your device.

UUID Generator

Pick a version, pick how many, and press generate. Every UUID is made with your browser's secure random generator — never Math.random — and nothing is stored or sent anywhere.

Random UUIDs — 122 random bits. The default choice for IDs, tokens, and anything that just needs to be unique. No time, no machine info, just randomness.

Lists over 100 show as a scrollable text block, so the page stays fast.

Format only changes how the UUID looks — upper or lower case, with or without hyphens, wrapped or plain, it is the same 128-bit value. Changing a format box re-formats the list you already have; it does not make new UUIDs.

The nil UUID (all zeros) means "no value"; the max UUID (all f's) is its opposite. Both are fixed values, not generated.

Check UUIDs

Paste one UUID — or a whole list, one per line — to check it. The checker reads each version and variant, and for v1, v6, and v7 UUIDs it shows the creation time hidden inside. Everything runs in your browser — the UUIDs are never sent anywhere.

One per line. With or without hyphens, upper or lower case, wrapped in braces {…} or with a urn:uuid: prefix — all are fine.

What is a UUID generator?

A UUID generator makes a Universally Unique Identifier — a 128-bit value written as 32 hexadecimal digits in five groups, like 550e8400-e29b-41d4-a716-446655440000. Developers use UUIDs as IDs for database rows, files, sessions, and API objects, because each one is practically unique without a central counter. Two servers on opposite sides of the world can make UUIDs at the same time and never collide.

This one makes UUIDs with your browser's built-in secure random generator — the same source your operating system uses for security keys — and never Math.random, which is predictable and must never be used for IDs or secrets. The UUID is made on your device and never travels anywhere.

How to generate a UUID (3 steps)

  1. Pick a version above. v4 (random) for most things, v7 (time-ordered) for database primary keys, v5 (name-based) when the same input must always give the same UUID, v1 or v6 when a system expects time-based IDs.
  2. Pick how many and a format. 1 to 1,000 at a time; uppercase or lowercase, with or without hyphens, wrapped in braces or as a URN — the value stays the same either way. For v3 and v5, pick a namespace and enter one name per line instead.
  3. Press "Generate UUIDs" and copy what you need. Copy one, copy all, or download the whole list as .txt, JSON, CSV, or SQL. Save it right away — this page never stores it, so a closed page means a lost list.

How to use the result (3 steps)

  1. Paste the UUID where the ID belongs. A database primary key, a file name, a session ID, an API object ID — anywhere a unique label is needed.
  2. Store it as the database's own UUID type when one exists. PostgreSQL, MySQL, and SQL Server all have a UUID type that stores 16 bytes; storing the text form takes 36 characters and wastes space.
  3. Pick v7 for tables that grow fast. Its time-ordered start keeps new rows near each other in the index, so inserts stay quick as the table grows.

UUID v1 vs v3 vs v4 vs v5 vs v6 vs v7

All six are the same 128-bit format — they differ in what the bits hold:

VersionWhat it holdsBest for
v1Creation time (100-nanosecond ticks since 15 Oct 1582) + clock sequence + node IDOld systems that expect v1; when the creation time must be inside the ID
v3MD5 hash of a namespace + a nameOlder systems that already use name-based IDs; prefer v5 for new work
v4122 random bitsAlmost everything — the simple, safe default
v5SHA-1 hash of a namespace + a nameStable IDs from data — the same name always gives the same UUID
v6Creation time, reordered so UUIDs sort in time order (RFC 9562, 2024)Time-based IDs that must sort as plain text
v7Unix time in milliseconds + 74 random bits (RFC 9562, 2024)Database primary keys — new IDs sort after old ones

If you are unsure, pick v4. If the UUID will be a database primary key in a table that grows, pick v7 — your future self will thank you. If the same input must always map to the same ID, pick v5.

Generate UUIDs in code

Prefer to make UUIDs in your own program? Every major language has a built-in way:

Python

import uuid

print(uuid.uuid4())                                # random v4
print(uuid.uuid5(uuid.NAMESPACE_DNS, "example.com"))  # name-based v5

JavaScript

// Modern browsers + Node 19+
const id = crypto.randomUUID();   // v4

console.log(id.toUpperCase());    // uppercase
console.log(id.replace(/-/g, "")); // no hyphens

C# / .NET

Guid id = Guid.NewGuid();            // v4-like
Guid v7 = Guid.CreateVersion7();     // .NET 9+: time-ordered v7

Console.WriteLine(id.ToString("B")); // {550e8400-...} braces format

What this tool does NOT do

Here is the honest answer: this tool makes a correctly-shaped UUID with secure randomness — it cannot promise that no one, anywhere, has ever made the same one.

That promise is impossible for any generator. What makes collisions a non-problem is the size of the space: a v4 UUID has 122 random bits, so you would need around 2.7 quintillion of them before the chance of one collision reached 50%. In practice, a UUID from this page is unique.

Two more honest notes. First, v1 and v6 UUIDs made here use a random node ID, not your device's real MAC address — a browser cannot read your MAC address, and a real one would leak private information. Second, a UUID is an identifier, not a password: use the password generator for secrets, and the API key generator for keys.

Third, v3 and v5 UUIDs are deterministic: anyone who knows the namespace and the name can recreate the same UUID, so they are identifiers, not secrets. And v3 uses MD5, which is broken as a security hash — that is fine here, because a v3 UUID is not trying to be a secret; but prefer v5 for new work.

More free tools

More free tools from The Cited Brand:

Frequently asked questions

What is a UUID generator?

A UUID generator makes a Universally Unique Identifier — a 128-bit value written as 32 hexadecimal digits in five groups, like 550e8400-e29b-41d4-a716-446655440000. Developers use UUIDs as IDs for database rows, files, sessions, and API objects, because each one is practically unique without a central counter.

What does UUID stand for?

UUID stands for Universally Unique Identifier. Microsoft calls the same thing a GUID (Globally Unique Identifier) — a GUID and a UUID are the same 128-bit format, just different names.

Which UUID version should I use?

Use v4 for most things: it is fully random, simple, and the default almost everywhere. Use v7 for database primary keys, because it starts with the current time, so new rows sort after old ones and indexes stay fast. Use v5 when the same input must always give the same UUID, such as one ID per domain name. Use v6 when you need v1-style timestamps that sort in order. Use v1 only when an old system expects it. v3 exists for older systems that already use it.

What are v3 and v5 UUIDs?

v3 and v5 UUIDs are name-based: they are made by hashing a namespace UUID together with a name, like a domain name. The same namespace and name always produce the same UUID, so different systems can derive the same ID from the same data. v5 uses SHA-1 and is the one to use for new work; v3 uses MD5 and exists for older systems. Because they are deterministic, never use them as secrets or passwords.

Are UUIDs really unique?

Practically, yes. A version 4 UUID has 122 random bits, which means about 5.3 undecillion possible values. You would need to generate around 2.7 quintillion UUIDs before the chance of a single collision reached 50%. That is why UUIDs work without a central registry.

What is the difference between UUID v4 and v7?

A v4 UUID is fully random — every part comes from the random generator, so UUIDs have no order. A v7 UUID starts with the Unix timestamp in milliseconds, then 74 random bits, so UUIDs sort by creation time. Both are valid UUIDs; v7 is the newer design (RFC 9562, 2024) and the better pick when order matters, such as database keys.

What is a nil UUID?

The nil UUID is all zeros: 00000000-0000-0000-0000-000000000000. It means 'no UUID' — software uses it as an empty value, the same way an empty string means 'no text'. The opposite, all f's, is called the max UUID.

Can I use a UUID as a database ID?

Yes. UUIDs are a common choice for primary keys because any server can make one without asking a central database. Version 7 is the best fit: its time-ordered start keeps new rows near each other in the index, while random v4 UUIDs scatter inserts and slow the index down. One trade-off: a UUID takes 16 bytes, while a plain integer ID takes 4 or 8.

Can I generate 1,000 UUIDs at once?

Yes. Set the count to any number from 1 to 1,000 and press Generate. Lists over 100 show as a scrollable text block instead of one row per UUID, so the page stays fast. Copy all, or download the list as .txt, JSON, CSV, or SQL. For v1, v6, and v7 you can also set a custom date and time, which is handy for test data with a fixed date.

Is it safe to generate UUIDs in a browser?

Yes, when the randomness is real. This generator uses your browser's built-in secure random generator — the same source your operating system uses for security keys — and never Math.random, which is predictable. Nothing is sent to a server or stored anywhere.

Do uppercase UUIDs and lowercase UUIDs mean the same thing?

Yes. A UUID is a 128-bit number, and upper or lower case is only how it is written — 550E8400 and 550e8400 are the same value. The same goes for hyphens: with or without them, the 32 hex digits carry the same 128 bits. Lowercase with hyphens is the usual style.

Does this generator store my UUIDs?

No. Every UUID is made in your browser and shown only to you. Nothing is sent to our server, nothing is stored, and nothing is logged. If you close the page without copying a UUID, it is gone — so copy or download your list right away.