UUID Generator
Generate random v4 or time-ordered v7 UUIDs, up to 1,000 at a time, and inspect any UUID to see its version and timestamp.
Your UUIDs
Inspect a UUID
Key facts
- Privacy
- Runs in your browser: your files and text are never uploaded
- Last updated
How to generate UUIDs
Pick v4 for fully random IDs or v7 for IDs that sort by creation time, choose how many you need and a format, then copy them all at once. IDs are generated with your browser’s cryptographic random generator and are never sent anywhere.
Paste any UUID into the inspector to check it is valid, see its version, and read the creation time hidden in v1 and v7 UUIDs.
Frequently asked questions
v4 or v7: which should I use?
v4 is fully random and the most widely supported. v7 starts with a timestamp, so new IDs sort in creation order, which keeps database indexes fast. For new database keys, v7 is usually the better choice.
Can two UUIDs ever be the same?
In practice, no. A v4 UUID has 122 random bits; you would need to generate billions per second for decades before a collision becomes likely.
Is a GUID the same as a UUID?
Yes. GUID is Microsoft’s name for the same 128-bit format. Some tools show GUIDs in uppercase or wrapped in braces; use the format options to match.
How many UUIDs are possible?
A version 4 UUID has 122 random bits, so there are about 5.3 × 10^36 possible values. You could generate a billion a second for many lifetimes before a duplicate became likely.
Are UUIDs good database primary keys?
They work well when IDs are created in many places. Random v4 UUIDs can slow down index inserts in large tables; time-ordered v7 UUIDs keep new rows close together and avoid most of that cost.
Sources
The rules and figures this tool uses come from:
Related tools
- Password GeneratorStrong random passwords, locally generated
- Barcode GeneratorEAN-13, UPC-A, Code 128 and more, with labels and bulk
- QR Code GeneratorLinks, Wi-Fi, text, email and phone to QR
- Hash GeneratorMD5, SHA-1, SHA-256 and SHA-512 for text and files
- JWT DecoderInspect header, payload, expiry and signature
- Regex TesterTest patterns with live match highlights
- Unix Timestamp ConverterEpoch time to dates and back
- Bottleneck CalculatorCheck if your CPU or GPU holds back gaming performance