UUID Generator
Fresh UUIDs are ready as soon as the page opens.
How to use
- Choose the version and how many you need. Five v4 UUIDs are ready when the page opens.
- Each click on “Generate” makes new UUIDs. Hyphens and uppercase only change how the current ones look.
- “Copy” takes them all, one per line.
A v4 UUID looks like 550e8400-e29b-41d4-a716-446655440000, with the third group starting with 4. In a v7 UUID the first 12 hex digits are the creation time in milliseconds, so values sort by time and keep database indexes compact.
FAQ
Should I use v4 or v7?
Use v4 when an ID must not reveal anything. Use v7 for database primary keys and other places where IDs sorted by creation time help. Just remember that v7 contains its creation time.
Can two UUIDs collide?
A v4 UUID has 122 random bits, so even a billion of them practically never collide. The random values come from crypto.getRandomValues and cannot be predicted.
Is a GUID the same thing?
Yes. GUID is Microsoft’s name for a UUID. If your system wants braces or uppercase, add the braces yourself and turn on “Uppercase”.