UUID generator and decoder
Generate version 4 (random) and version 7 (time-ordered) UUIDs in bulk per RFC 9562, and decode any UUID to its version, variant and timestamp. Browser only.
Generate
The result appears here.Decode
A UUID is an identifier, not a secret. Do not use one as a password, a session token or an API key: v7 gives away its creation time, older versions can give away more, and the standard itself warns against treating a UUID as proof of access. Generated in your browser with crypto.getRandomValues.
Everything you type here stays in your browser. Nothing is sent to HardenKit or to anyone else.
How to use the UUID generator and decoder
- Choose version 4 for random IDs or version 7 for IDs that sort by time.
- Set how many you need, up to 100, and press Generate.
- Copy the list, one UUID per line.
- To inspect a UUID, paste it under Decode and read its version, variant and timestamp.
About this tool
A UUID is a 128-bit identifier that can be created anywhere without asking a central authority and still be unique for all practical purposes. It is written as 32 hex characters in five groups. The current standard, RFC 9562, defines several versions; one hex digit says which, and another marks the variant. This tool generates the two versions worth choosing today and decodes any UUID you paste.
Version 4 is 122 random bits and says nothing about where or when it was made. Version 7, new in RFC 9562, starts with a 48-bit Unix timestamp in milliseconds followed by random bits, so UUIDs sort by creation time. That matters for databases: random primary keys scatter inserts across an index, while time-ordered ones append near the end, which keeps indexes compact and writes fast. The decoder reads the timestamp back out of versions 1, 6 and 7.
A UUID is an identifier, not a secret. Version 7 tells anyone who sees it when the record was created, and version 1 also carries a node value that was once the machine’s network address. RFC 9562 states that UUIDs must not be used as security capabilities. Do not use one as a session token, a password reset code or an API key, and keep access checks on every URL that contains one.
Sources
Questions
Version 4 is entirely random apart from six fixed bits. Version 7 puts the creation time in the first 48 bits and fills the rest with random data, so values made later sort later. Use v7 for database keys and v4 when the ID should reveal nothing about its creation.
In theory, yes; in practice, no. A version 4 UUID has 122 random bits, so you would need to generate about 2.7 quintillion of them for a 50 percent chance of one duplicate. That assumes a good random source, which is why this tool uses the browser’s cryptographic generator.
Do not rely on it. Only version 4 is mostly random, many libraries produce other versions, and the standard says UUIDs must not be used as security capabilities. For anything that grants access, generate a random token of at least 128 bits made for that purpose.
Look at the first character of the third group: 4 means version 4, 7 means version 7, and so on. The first character of the fourth group gives the variant; 8, 9, a or b marks the standard one. Paste a UUID into the decoder and it reads both for you.
The nil UUID is all zeros and the max UUID is all ones (ffffffff-ffff-ffff-ffff-ffffffffffff). RFC 9562 defines both as special values, typically used to mean “no value” or as a sentinel at the end of a sorted range.