UUID generator
A new UUID is made each time the page opens. Copy it, or make more.
Options
Good to know
- Which version
- Version 4 is random and gives nothing away; use it unless you have a reason not to. Version 7 starts with the time in milliseconds, so IDs sort in the order they were made, which keeps database indexes compact (RFC 9562, 2024). Version 1 holds a time and a node ID; here the node ID is random, never your network card's address.
- Reading one
- 32 hex digits in groups of 8-4-4-4-12. The first digit of the third group is the version (
4in…-4f9c-…); the first digit of the fourth group is 8, 9, a or b. - Duplicates
- A version 4 UUID has 122 random bits. You would need about 2.7 × 1018 of them for even a 50% chance that two match.
- GUID
- Microsoft's name for the same thing, often written in uppercase inside braces: use Options.
- Special values
- The nil UUID is all zeros,
00000000-0000-0000-0000-000000000000; the max UUID is allf. - In code
- JavaScript
crypto.randomUUID(). Pythonuuid.uuid4(), anduuid.uuid7()from Python 3.14. PostgreSQLgen_random_uuid(), anduuidv7()from version 18. Terminaluuidgen. - Open from a link
?version=v7&count=10opens the page with ten new version 7 UUIDs;&upper=1and&format=plain,bracesorurnset the options. Every visit makes new ones.