Generate UUIDs (GUIDs) for databases, APIs and tests: random v4, time-ordered v7, v1, or v5 and v3 from a name, up to 1,000 at a time. Check any UUID's version and timestamp below.
Shares this page only, not your entries.
122 random bits from your browser's secure generator. The usual choice for IDs.
Up to 1,000
Check or decode a UUID
Shows the version and variant, and when a version 1, 6 or 7 UUID was made. Braces, urn:uuid: and missing hyphens are fine.
How to use it
Pick a version. Version 4 is the usual choice; the line under the menu says what each one is for.
Enter how many you need, up to 1,000. For version 5 or 3, pick a namespace and type one name per line instead.
Choose a format: capitals, no hyphens, Windows-style {braces}, quotes, or commas for pasting into code.
Copy them all or download a .txt file. Regenerate makes a fresh set.
UUID versions compared
Version
Made from
Sorts by time
Good for
4
122 random bits
No
Most IDs
7
Unix time in milliseconds, then 74 random bits
Yes
Database keys, events, logs
1
Time in 100-nanosecond steps since 1582, a clock sequence and a node ID
Not as text
Older systems that expect it
5
SHA-1 of a namespace UUID and a name
No
The same UUID for the same input
3
MD5 of a namespace UUID and a name
No
Older systems that need it
Every UUID is 128 bits written as 32 hex digits in groups of 8-4-4-4-12. The first digit of the third group is the version, and the first digit of the fourth group (8, 9, a or b) marks the standard layout. The nil UUID, 00000000-0000-0000-0000-000000000000, means “no value”.
Examples you can check
These come from the test vectors in RFC 9562, the UUID standard published in May 2024 (it replaced RFC 4122).
Version 5, DNS namespace, name www.example.com: 2ed6657d-e927-568b-95e1-2665a8aea6a2. With version 3 the same input gives 5df41881-3aed-3515-88a7-2f4a814cf09e.
Paste 017f22e2-79b0-7cc3-98c4-dc0c0c07398f into the checker: it's version 7, made on 22 February 2022 at 19:22:22 UTC.
Random bits come from crypto.getRandomValues, your browser's cryptographically secure generator. A batch of version 7 UUIDs made in the same millisecond still sorts in the order it was made.
Frequently asked questions
Which UUID version should I use?
Version 4 for most IDs. Version 7 for database keys: it starts with the creation time, so new rows go at the end of the index instead of at random places. Version 5 when the same input must always give the same UUID. RFC 9562, the current UUID standard, recommends version 7 over 1 and 6 for new systems, and version 5 over 3.
Is a GUID the same as a UUID?
Yes. GUID is Microsoft's name for a UUID. Windows and .NET often write GUIDs in capitals inside braces, like {3F2504E0-4F89-11D3-9A0C-0305E82C3301}: turn on UPPERCASE and {Braces} to get that format.
Can two random UUIDs be the same?
In theory yes, in practice no. A version 4 UUID has 122 random bits, so you'd need about 2.7 × 10^18 of them before there was a 50% chance of a single duplicate. That assumes a good random source; this tool uses your browser's cryptographic generator.
Does a version 7 or version 1 UUID show when it was made?
Yes. Paste one into Check or decode a UUID to see the date and time. If your IDs are public and creation times should stay private, use version 4. Version 1 UUIDs made here use a random node ID, never your device's network address.
Can I use a UUID as a password or access token?
No. RFC 9562 says UUIDs must not be used as security capabilities, where knowing the ID is enough to get access. Use a password generator or a proper random token for secrets.
Are the UUIDs stored or sent anywhere?
No. They're made in your browser with the Web Crypto API, and the UUIDs you check are read there too. Nothing is sent to our server.