Skip to content

Free UUID Generator

Create one UUID or a batch of up to 1000, using your browser's cryptographically secure random generator.

  • 100% free
  • Runs in your browser
  • Instant results
Quick answer

A UUID generator creates universally unique identifiers: 128-bit values written as 32 hex digits in the pattern 8-4-4-4-12. This tool makes version 4 UUIDs from 122 random bits, or version 7 UUIDs that start with a timestamp and sort by creation time. Choose how many you need and copy or download them.

How to use the UUID Generator

  1. Choose how manyEnter a number from 1 to 1000.
  2. Pick the version and formatUse version 4 for general purposes or version 7 for database keys, then set hyphens, case and braces.
  3. Copy or downloadCopy the list or download it as a text file. Press the button again for a fresh batch.

What a UUID is

A UUID (universally unique identifier, also called a GUID on Microsoft platforms) is a 128-bit number defined by RFC 9562, which replaced RFC 4122. It is normally written as 36 characters, for example 3f2b8c1e-9d4a-4f6b-a1c2-7e5d9b0f1a23. The first digit of the third group is the version, and the first digit of the fourth group encodes the variant and is always 8, 9, a or b for standard UUIDs.

The point of a UUID is that any computer can create one without asking a central server, and the chance of two being the same is negligible. This UUID generator offers:

  • Version 4: 122 random bits. The usual choice for IDs in apps, APIs, filenames and test data.
  • Version 7: a 48-bit Unix timestamp in milliseconds followed by 74 random bits. Because the time comes first, values sort in roughly the order they were created, which keeps database indexes compact and inserts fast.
  • Nil UUID: all zeros, used to mean "no value".

How unique and how random

There are 2122, about 5.3 undecillion, possible version 4 UUIDs. To have a 50 percent chance of a single duplicate you would need to generate roughly 2.7 quintillion of them. For practical purposes, collisions do not happen, provided the random source is good.

That proviso matters. This tool takes its randomness from crypto.getRandomValues, the cryptographically secure generator in your browser, never from Math.random. The values are created on your device and are not sent or stored, so no one else has seen them.

Two cautions. First, a UUID is an identifier, not a secret: version 7 reveals when it was created, and even version 4 values should not be your only protection for sensitive links unless your threat model allows it. For tokens and keys, use the random string generator or the password generator. Second, version 7 values made within the same millisecond are ordered randomly relative to each other; the list here is sorted for convenience.

The formatting options do not change the value. Some systems want uppercase, some want 32 digits with no hyphens, and Windows registry entries use braces.

Frequently asked questions

How do I generate a UUID?

Open the UUID generator, choose how many you need and the version, and copy the result. A new batch is created each time you press the button.

What is the difference between UUID v4 and v7?

Version 4 is entirely random. Version 7 starts with a millisecond timestamp followed by random bits, so the values sort by creation time, which is better for database primary keys.

Is a GUID the same as a UUID?

Yes. GUID is the name Microsoft uses for the same 128-bit identifier. The format and the generation rules are the same.

Can two UUIDs ever be the same?

In theory yes, in practice no. With 122 random bits you would need to generate billions of UUIDs per second for many years before a duplicate became likely.

Are the UUIDs generated on a server?

No. They are created in your browser with its secure random number generator and are never transmitted or logged.

Last updated 24 November 2026 by the TheTechFolk team.