UUID Generator
Generate UUIDs of any version, from one to a thousand at a time, in the format you need, and decode any UUID’s version and creation time.
- Free, no sign-up
- Runs in your browser
- Sources cited
Generate
The everyday choice: 122 random bits.
- Version 4 (random)
- Version 7 (time-ordered, random)
- Version 1 (time and node)
- Version 6 (reordered time)
- Version 5 (name, SHA-1)
- Version 3 (name, MD5)
- Nil (all zeros)
- Max (all ones)
- Standard (8-4-4-4-12)
- No hyphens
- Braces {…}
- URN (urn:uuid:…)
- One per line
- Comma separated
- JSON array
- SQL values
UUIDs
Random and time-based UUIDs are made in your browser, so every visitor gets their own. Turn on JavaScript to generate them.
Inspect a UUID
Any UUID, with or without hyphens, braces or urn:uuid:.
- Standard form
- 017f22e2-79b0-7cc3-98c4-dc0c0c07398f
- Variant
- RFC 9562
- Version
- 7, Unix time and random
- Created (UTC)
- 2022-02-22T19:22:22.000Z
- Unix time (ms)
- 1645557742000
- As a number
- 1989357241971137676463954034883508623
How to use the UUID generator
Choose a version
Version 4 for a random ID, version 7 for IDs that sort by time, or version 5 to turn a name into the same UUID every time.
Set how many and how they look
Make up to a thousand at once, in lowercase or uppercase, with or without hyphens, in braces or as URNs.
Pick a list layout
One per line, comma separated, a JSON array, or quoted values ready for an SQL statement.
Copy or download
Copy the list, download it as a file, or press “Generate new” for a fresh batch.
Inspect any UUID
Paste a UUID to see its version, variant, and for time-based versions when it was created.
How UUIDs work
A UUID, or universally unique identifier, is a 128-bit value written as 32 hexadecimal digits in groups of 8, 4, 4, 4 and 12. RFC 9562, published in 2024, defines them. A few bits are fixed: the first digit of the third group is the version, and the first bits of the fourth group are the variant, which for every UUID made here reads 8, 9, a or b.
Version 4 fills the other 122 bits with random data from your browser’s secure random generator, so two of them are practically never equal. Version 7 starts with the Unix time in milliseconds and fills the rest with random bits, so new IDs sort after older ones; RFC 9562 recommends it over versions 1 and 6 for database keys. Versions 1 and 6 count time in 100-nanosecond steps since 15 October 1582 and end with a node ID; this tool uses a random node ID, as the standard allows, never your network card’s address.
Versions 3 and 5 are name-based. The tool joins a namespace UUID and your name, hashes them with MD5 (version 3) or SHA-1 (version 5), and keeps 128 bits of the hash. The same name in the same namespace always gives the same UUID, which makes them useful as stable IDs for URLs, domain names or records. RFC 9562 prefers version 5. The nil UUID has every bit zero, and the max UUID every bit one.
Random and time-based UUIDs are made in your browser after the page loads, so no two visitors ever receive the same one from this page, and none are stored or sent anywhere.
Worked example
In the DNS namespace, 6ba7b810-9dad-11d1-80b4-00c04fd430c8, the name www.example.com gives the version 5 UUID 2ed6657d-e927-568b-95e1-2665a8aea6a2; its version digit, at the start of the third group, is 5. With version 3 the same name gives 5df41881-3aed-3515-88a7-2f4a814cf09e. Both match the examples in RFC 9562, and anyone who hashes the same name gets the same results.
RFC 9562’s example version 7 UUID is 017F22E2-79B0-7CC3-98C4-DC0C0C07398F. Its first twelve digits, 017F22E2-79B0 without the hyphen, are the Unix time 1645557742000 in milliseconds, which is 2022-02-22T19:22:22.000Z. The version 1 example C232AB00-9414-11EC-B3C8-9F6BDECED846 encodes the same moment, 2022-02-22T19:22:22.0000000Z, with the node ID 9f:6b:de:ce:d8:46.
Understanding the result, and common mistakes
- Variant
- Which UUID layout the value follows. RFC 9562 UUIDs show “RFC 9562”; other variants are reserved for old or vendor formats.
- Created (UTC)
- For versions 1, 6 and 7, the time stored in the UUID. It is only as accurate as the clock of the system that made it.
- Random node ID
- In versions 1 and 6, a node ID whose multicast bit is set was made randomly rather than taken from a network card.
- Treating a UUID as a secret. Version 4 is hard to guess, but a UUID is an identifier, not a password or access token.
- Expecting version 4 IDs to sort. They are random; use version 7 when order matters.
- Leaking information. Version 1 UUIDs from other software may contain the machine’s network card address and the exact creation time.
- Mixing formats. Compare UUIDs in one form: the same value can be written in uppercase, without hyphens or with braces.
Frequently asked questions
Which UUID version should I use?
Version 4 for a general random ID, version 7 for database keys and anything that should sort by creation time, version 5 when the same input must always give the same ID.
Can two generated UUIDs be the same?
In theory, but version 4 has 122 random bits, so a repeat is so unlikely that it can be ignored in practice. Versions 7, 6 and 1 made here also increase within each batch.
Is a GUID the same as a UUID?
Yes. GUID is the name Microsoft uses for the same 128-bit identifiers, often written in uppercase with braces.
Are the UUIDs stored or sent anywhere?
No. They are made in your browser and exist only on your screen until you copy them.
Why do I need JavaScript?
Random and time-based UUIDs are made on your device, so that no two visitors get the same ones from a cached page. The inspector and name-based UUIDs are shown either way.
Sources
- RFC 9562: Universally Unique IDentifiers (UUIDs)RFC Editor · retrieved Nov 14, 2026
About these results
- UUIDs are made in your browser. Nothing is stored or sent.