What a UUID is
A UUID, or universally unique identifier, is a 128-bit value written as 32 hexadecimal digits in five groups, like 3f2b8c1e-9d4a-4f6b-a1c2-7e5d9b0a8f13. Microsoft calls the same thing a GUID. The point of a UUID is that anyone can create one without asking a central server, and the chance of two people ever producing the same value is so small that it can be ignored in practice. That makes UUIDs popular as database keys, file names, request IDs and anything else that needs a label that will not collide.
The format is defined in RFC 9562, which replaced the older RFC 4122 in 2024. One hex digit in the third group tells you the version, and the first digit of the fourth group holds the variant. In a standard UUID that variant digit is always 8, 9, a or b.
Version 4 or version 7?
Version 4 is 122 bits of randomness plus the fixed version and variant bits. It reveals nothing about when or where it was made, which is ideal for tokens, public IDs and anything where guessability matters. This tool uses your browser's crypto.randomUUID() when it is available and falls back to crypto.getRandomValues(), both of which are cryptographically secure.
Version 7 starts with a 48-bit Unix timestamp in milliseconds, followed by random bits. Because the time comes first, v7 IDs sort in the order they were created. Databases love that: new rows land at the end of an index instead of at random spots, which keeps inserts fast. When you generate many v7 IDs within the same millisecond, this tool increments a counter inside the random section so the list still sorts correctly. The trade-off is that anyone holding a v7 ID can read the moment it was created, so avoid it where that would leak information.
Formatting options
- Uppercase: some Windows tools and older systems display GUIDs in capitals. UUIDs are case-insensitive, so both forms are the same value.
- No hyphens: a compact 32-character form used in URLs, file names and some databases.
- Braces: the registry and .NET style, such as
{3F2B8C1E-9D4A-4F6B-A1C2-7E5D9B0A8F13}.
The download contains one UUID per line, ready to paste into a spreadsheet, a seed script or a test fixture.
Inspecting a UUID
Paste any UUID into the inspector to confirm it is well formed and see what kind it is. It reports the version, the variant, and for time-based versions (1, 6 and 7) the date and time embedded in the ID. It also recognizes the special nil UUID of all zeros and the max UUID of all f's. If something is wrong, such as a missing digit or a letter outside 0–9 and a–f, it tells you exactly what to fix.
Need other random values? The password generator creates strong passwords, and the Base64 encoder is handy when an ID has to travel inside a URL or token. Turning a v7 timestamp into a full date breakdown is easy with the Unix timestamp converter.