UUID / GUID generator
Generate up to 1,000 UUID v4 or time-ordered v7 at once, and decode any UUID.
This is not a valid UUID (32 hexadecimal digits expected).
- Canonical form
- Version
- Variant
- Created
Runs entirely in your browser. Your files never leave your device.
About this tool
A UUID (also called GUID) is a 128-bit identifier that is unique without any central registry, which makes it ideal for database keys, file names or API objects. Generate one or a thousand at once and copy them or download them as a text file.
Choose version 4, fully random, or version 7, which starts with a timestamp so that new identifiers sort in creation order and keep database indexes compact. Formatting options cover uppercase, hyphens, braces for Microsoft tools and quotes for code. Paste any existing UUID in the inspector to see its version, variant and, for time-based versions, when it was created.
How it works
- Pick the version (v4 or v7) and how many UUIDs you need.
- Adjust the format: case, hyphens, braces, quotes.
- Copy the list or download it as a .txt file.
- Paste a UUID in the inspector to decode it.
Random bits come from your browser’s cryptographic generator (crypto.getRandomValues). UUID v7 follows RFC 9562 and stays strictly increasing even when many are generated within the same millisecond.
Worked example
A version 4 UUID looks like 3f1c9a2e-7b4d-4e8a-9c21-6d5f0b8e1a37: the 4 that starts the third group gives the version, and the 9 that starts the fourth group gives the variant. Generate 500 at once to seed test data and download them as a text file.
Version 7 identifiers start with a timestamp, so rows inserted later get larger identifiers and a database index stays ordered. Paste one into the inspector to read when it was created.
Good to know
- Choose v7 for database primary keys, v4 when the identifier must not reveal when it was created.
- Store UUIDs in a native UUID or 16-byte binary column rather than as 36-character text.
- Microsoft tools often expect braces and uppercase; the formatting options produce them directly.