UUID Generator

  • Matches RFC 9562’s own version 4 and version 7 examples; 10,000 test UUIDs all different
  • Checked by Wayne Bickerton
  • Sources: IETF, W3C
  • Updated November 11, 2026

A UUID generator makes universally unique identifiers (UUIDs, also called GUIDs): 128-bit labels, written as 32 hexadecimal digits like 919108f7-52d1-4320-9bac-f847db4148a8, that programs use to name records, files and messages without asking a central registry. Choose version 4 (random) or version 7 (starts with the time, so they sort in order) and how many you need.

Your UUID
919108f7-52d1-4320-9bac-f847db4148a8 Version 4

A random version 4 UUID: 919108f7-52d1-4320-9bac-f847db4148a8

 
Random bits in each 122
Version 4 (random)
UUIDs made 1

What is a universally unique identifier (UUID)?

A UUID is 128 bits, written as 32 hexadecimal digits in five groups (8-4-4-4-12). Capital or small letters mean the same UUID. Two digits are fixed by the standard: the 13th is the version, which says how the UUID was made, and the 17th is always 8, 9, a or b, the variant. Everything else carries the UUID’s content. Here is how your first UUID breaks down:

UUID = 32 hex digits, 8-4-4-4-12; digit 13 is the version, digit 17 the variant

Here it is with your numbers:

  1. Random bits = 128 − 4 version bits − 2 variant bits
  2. Random bits = 122
  3. Version digit (13th) = 4
  4. Variant digit (17th) = 9

It means two version 4 UUIDs match with a chance of 1 in 2¹²², which is 1 in 5,316,911,983,139,663,491,615,228,241,121,378,304.

Source IETF · RFC 9562, Universally Unique IDentifiers (UUIDs) (2024) ↗

Version 4 or version 7?

VersionMade fromUse it when
Version 4122 random bitsyou just need a unique label; the standard also prefers it wherever security is involved
Version 7the time in milliseconds, then 74 random bitsyou want new IDs to sort in the order they were made, such as database keys

The standard recommends version 7 over the older time-based versions 1 and 6, which could include the computer’s network (MAC) address. This page makes every random bit with your browser’s cryptographic random generator; nothing is sent anywhere.

Source W3C · Web Cryptography Level 2, the Crypto interface ↗

FAQs

What is UUID and why is it used?

A UUID is a 128-bit identifier defined by the IETF’s RFC 9562. No central authority is needed to hand them out, so any computer can make one on the spot, and they are small and fixed in size, which suits databases, files and messages.

Source IETF · RFC 9562, Universally Unique IDentifiers (UUIDs) (2024) ↗

How can I create a UUID?

Use the generator above, or your programming language’s UUID library. A version 4 UUID is 128 random bits with 6 of them set to mark the version (4) and the variant; the standard says to take the random bits from a cryptographically secure generator, as this page does.

What can someone do with an UUID?

Usually nothing: it is just a label. But UUIDs aren’t secrets. The standard says not to assume they are hard to guess, and never to use one as the only thing that grants access to something.

Source IETF · RFC 9562, §8 Security Considerations ↗

Sources

Related calculators