Skip to content
Free developer tool

UUID generator

This UUID generator makes random version 4 UUIDs, 128-bit IDs written like 3f2b9c1e-8a4d-4f6b-9c2e-1d7a5b3e0f48. Developers use them as database keys, request IDs and test data when each ID must be unique without a central counter.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

1 to 100
Letters

Result

29bae7d1-c642-42a6-b8a2-95de9043c921
cf3205ae-2592-4e1d-a524-9c5098d5849a
913869ed-dca9-41a8-a712-28563c9f4b4e
ad301aa7-84c6-4e3f-8f15-143a750f5f13
0cc8a24b-faa4-49cd-bc55-bec916cee1ac

The short answer

A version 4 UUID is a 128-bit identifier made almost entirely of random bits, written as 32 hex digits in the pattern 8-4-4-4-12. Six bits are fixed to mark the version and variant, which leaves 122 random bits. That is large enough that two generated UUIDs are extremely unlikely to match.

FormulaUUID v4 = 122 random bits + 4 version bits (0100) + 2 variant bits (10), written as 8-4-4-4-12 hex digits

Worked exampleEach UUID is built from 16 bytes of cryptographic randomness with the version and variant bits set, so every result differs, the third group starts with 4 and the fourth group starts with 8, 9, a or b.

Example

Input
How many
5
Letters
Lowercase
Result
29bae7d1-c642-42a6-b8a2-95de9043c921
cf3205ae-2592-4e1d-a524-9c5098d5849a
913869ed-dca9-41a8-a712-28563c9f4b4e
ad301aa7-84c6-4e3f-8f15-143a750f5f13
0cc8a24b-faa4-49cd-bc55-bec916cee1ac

How to use the uuid generator

  1. Enter a number from 1 to 100 in How many. The default is 5.
  2. Set Letters to Lowercase or Uppercase.
  3. Press Run to make a fresh set.
  4. Press Copy result or Download the list, which has one UUID per line.

How it works

Each UUID starts as 16 bytes from crypto.getRandomValues, the browser's cryptographic random generator.

The version and variant bits are set as the UUID standard requires, so the third group always starts with 4 and the fourth group with 8, 9, a or b.

The count must be a whole number from 1 to 100. Decimals, negative numbers and blank values are rejected.

There is no text box to fill in, and each press of Run makes a fresh set.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

Can two UUIDs ever be the same?

In theory, yes. A version 4 UUID has 122 random bits, so a repeat is extremely unlikely in normal use.

Should I use a UUID as a password or secret token?

It is better not to. These come from a cryptographic random source, but UUIDs are designed as identifiers, and many systems log or display them openly.

What is the difference between a UUID and a GUID?

GUID is the name Microsoft uses for the same 128-bit ID format. A version 4 UUID can be used where a random GUID is expected.

Are the UUIDs saved or sent anywhere?

No. They are created in your browser and only appear on your screen.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools