1. Home
  2. Developer
  3. UUID Generator

UUID Generator

Bulk v4 and time-ordered v7 UUIDs, plus a decoder for any UUID.

Runs in your browser · No upload

122 random bits. The most widely used general-purpose ID.

1 to 1,000
0 UUID(s)

Inspect a UUID

Shows the version and variant, plus the embedded timestamp for v1, v6 and v7.
Version
7 | Unix time (ms) + random
Variant
RFC 9562 (standard)
Canonical form
017f22e2-79b0-7cc3-98c4-dc0c0c07398f
Created (UTC)
2022-02-22T19:22:22.000Z
Created (local)
-

UUIDs are created on this device with the browser’s cryptographic RNG (crypto.getRandomValues) and are never sent or stored anywhere.

How to use

  1. Pick a Version. Use v4 unless you need IDs that sort in the order they were created (database primary keys, for example), in which case use v7.
  2. Enter How many you need (1 to 1,000), and they’re generated right away. Press Generate new for a fresh batch.
  3. Choose uppercase, no hyphens or braces { }, then Copy them or download a .txt file with one UUID per line.
  4. Paste any UUID into Inspect a UUID to see its version and variant. For v1, v6 and v7, it also shows the creation time stored inside.

How a UUID is laid out

A UUID (RFC 9562, formerly RFC 4122) is a 128-bit value written as 36 hex characters in 8-4-4-4-12 groups. The first character of the third group is the version, and the first character of the fourth group (8, 9, a or b) marks the standard variant.

Version How it’s built Notes
v1 Timestamp (100 ns steps) + node (MAC address) Reveals which machine made it and when
v4 122 random bits The most common, with no ordering
v6 v1 with the time fields rearranged so it sorts For when you need v1 compatibility
v7 48-bit Unix time in ms + 74 random bits Sorts in creation order

In the v7 example 017f22e2-79b0-7cc3-98c4-dc0c0c07398f, the first 12 hex digits 017f22e279b0 equal 1,645,557,742,000 ms, which is 2022-02-22 19:22:22 UTC (the example from the RFC 9562 appendix).

v4 or v7?

  • Use v4 when the ID must reveal nothing, such as IDs in public URLs. With 122 random bits, the chance of any two matching among a billion IDs is around 10⁻¹⁹.
  • Use v7 for primary keys and log IDs where order matters. New values always land at the end of the index, which reduces B-tree index fragmentation. The creation time (down to the millisecond) is visible, though, so don’t use it anywhere that would leak information.
  • This tool’s v7 uses the counter method from RFC 9562 §6.2, so IDs created within the same millisecond still stay in order.

FAQ

Is a GUID different from a UUID?

They’re the same thing. GUID is Microsoft’s name for it, and Windows and .NET often write it in uppercase with braces ({...}). You can produce that format with the options above.

Are generated UUIDs stored anywhere?

No. They’re created on your device with the browser’s cryptographic random number generator (crypto.getRandomValues, or crypto.randomUUID where available) and are never sent to a server or logged. For a secret that a person has to type, the Password Generator is a better fit. To check a v7 timestamp on its own, paste the millisecond value into the Unix Timestamp Converter.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.