UUID Generator
Creates six kinds of UUID: random v4, time-ordered v7, v1, name-derived v5 and v3, and the nil value.
Done
Parsing
What a UUID is
A UUID is a 128-bit identifier written as 36 characters with hyphens. Its key property: a value can be created anywhere, even on a phone with no network, and it will almost certainly never collide with one created somewhere else.
No shared counter is needed because of this. Two systems can create records independently, and neither has to ask a database for the next number.
Versions 1 through 5 are defined in RFC 4122, and versions 6, 7 and 8 were added by RFC 9562. The tool generates values by these rules.
Which version to pick
- v4: random bits, the usual choice for record identifiers;
- v7: the first 48 bits hold a timestamp, so values sort in order of creation. This is what people put into primary keys of new databases;
- v1: time plus node, needed when an older system requires it;
- v5 and v3: derived from a namespace and a name, so the same name always produces the same UUID;
- nil: all zeros, meaning "no identifier".
Rate this tool
Help us get better
Tell us what was missing.
Other tools
JSON Formatter
Format and repair JSON in the browser, flagging duplicate keys and long numbers
Regex Tester
Regex testing with a plain-language breakdown and hang protection
JWT Decoder
JWT parsing with fields explained and signature verification
CSV to JSON
A table to JSON with honest types and a reverse check
JSON to CSV
JSON to a table for Excel, with verification and formula protection
SQL Formatter
A readable query layout, verified against the source, with risky spots flagged
XML Formatter
Readable XML, errors explained with a hint, verified against the source
XML Validator
Markup, XSD schema, sitemap, YML and RSS rules, with the path to each error