Online UUID Generator

Generate cryptographically random UUID v4 identifiers in bulk. Adjust the output format, copy the whole list or download it as a text file. All computation happens in your browser, and no data leaves your device.

Output format
Generated UUIDs 0 UUIDs

About this tool

A UUID (Universally Unique Identifier) is a 128-bit identifier written as 32 hexadecimal digits in five groups separated by hyphens — 8-4-4-4-12, for example 6f1c2a9e-7b83-4d2f-9a4c-2c8f0f6b1d7e. The value space is so large that identifiers generated independently on different machines almost never collide, so systems can hand out IDs without coordinating with a central authority.

This tool produces version 4 UUIDs as defined by RFC 4122. Beyond six fixed bits — the version field (0100) and the variant field (10) — every bit comes from a random source, giving a v4 UUID about 122 bits of randomness. It calls crypto.randomUUID() when the browser supports it and otherwise fills 16 bytes with crypto.getRandomValues(), setting the version and variant bits by hand, so the result still conforms to the standard.

Everything runs inside the page: no request is made and no identifier is stored. Refreshing or closing the page replaces the list with a fresh batch and the old values are gone. UUIDs made this way work well as database keys, request and trace IDs, filenames and test data, but they are identifiers rather than secrets — see the notes below.

How to use

  1. Set the quantity: enter a number from 1 to 100 in the count box; the default is 5.
  2. Choose a format: tick Uppercase, Remove hyphens, Wrap in { } or Add urn:uuid: prefix as needed; the options can be combined.
  3. Generate: click Generate or press Enter to create a new batch. The values are produced locally and appear in the result box immediately.
  4. Copy: click Copy all to place the entire list on the clipboard, or select individual lines in the result box by hand.
  5. Download: click Download .txt to save the list as a plain text file with one UUID per line.

FAQ

Can UUIDs repeat?

In practice, no. A v4 UUID carries 122 random bits, so the chance of a duplicate is about 1 in 2^122. Even at billions of IDs per second it would take decades to make a collision likely. For everyday use, uniqueness can be taken as guaranteed.

How is this different from UUID v7?

v7 puts a millisecond timestamp at the beginning and fills the rest with random bits, so IDs generated later sort later, which makes it convenient as a database primary key. v4 is entirely random: it is better when ordering is not needed or when the generation time should not leak. This tool generates v4.

Are the generated UUIDs secure?

They are unpredictable because they come from the Web Crypto API, but they are identifiers, not secrets. Do not use them as passwords, API keys or session tokens; those need a dedicated generator with enough entropy. Note also that hyphens, braces and the urn:uuid prefix do not change the underlying 122 random bits.

Why do so many UUIDs contain a 4 and have 8, 9, a or b at the start of the fourth group?

Those characters are fixed by the standard. The first character of the third group is the version (4 for v4), and the first character of the fourth group encodes the variant (8, 9, a or b). That is why every RFC 4122 v4 UUID shows a 4 in that position and one of those four characters at that spot.

Do hyphens, braces or urn:uuid change the UUID?

No, they only change how it is written. Removing hyphens gives a 32-character string, braces match the legacy Microsoft form, and the urn:uuid prefix turns it into a URN. The 128 bits are identical, and common systems accept all of these variants.