UUID generator
Generate unique identifiers (UUIDs or GUIDs) with your browser’s cryptographic random generator: fully random v4, or v7, which embeds the time and sorts in creation order. You can also paste a UUID to see its version and, if it has one, its timestamp.
đź”’ Everything runs on your device
Inspect a UUID
How to use it
- Choose the version: v4 (random) or v7 (time-ordered).
- Set how many you want (up to 1,000) and the format: uppercase, no hyphens or in braces (Microsoft GUID style).
- Copy the list, one UUID per line.
- To inspect a UUID, paste it into the box below.
Example
Reading the time in a v7 UUID
The UUID 017F22E2-79B0-7CC3-98C4-DC0C0C07398F, the example in RFC 9562, is version 7 and was created on 22 February 2022 at 19:22:22 UTC: that time is stored in its first 12 characters.
How it works
It follows RFC 9562 (2024), which replaces RFC 4122. v4: 122 random bits. v7: 48 bits of Unix time in milliseconds, a 12-bit counter that keeps order when several are created in the same millisecond, and 62 random bits.
Random bits come from crypto.getRandomValues, the browser’s cryptographically secure generator.
When inspecting, the version is read from the 13th character and the variant from the 17th; for versions 1, 6 and 7 the creation time is calculated too.
Limitations
- A v7 UUID reveals when it was created; if that matters (public IDs, say), use v4.
- Two v4 UUIDs colliding is so unlikely that in practice it does not happen, but it is not impossible.
FAQ
UUID or GUID?
They are the same thing: GUID is Microsoft’s name. They are sometimes written in uppercase and in braces; this tool has those options.
When should I use v7 instead of v4?
As database primary keys: because they are ordered by time, they insert into indexes more efficiently.
Are they sent to a server?
No. They are generated in your browser and not stored.