UUID Generator

Free online UUID / GUID generator: create up to 1,000 random v4 or time-ordered v7 UUIDs, uppercase or without hyphens, and check or decode any UUID.

✓ Free🔒 Private⚡ No sign-up

🔒 Runs entirely in your browser. Your files are never uploaded.

</> Add to your site

Embed this tool on your website for free: copy the code and paste it into your page's HTML. Everything runs in your visitors' browsers; files are not uploaded.

Preview ↗

How to generate UUIDs

  1. Choose the version: v4 (random) or v7 (time-ordered).
  2. Enter how many you need (1 to 1,000) and press Generate.
  3. Pick a format if needed — uppercase, without hyphens, in braces, in quotes or comma-separated for code and SQL.
  4. Copy the list or download it as a text file. To inspect an existing UUID, paste it into the check box below the result.

UUID format

A UUID has 128 bits written as 32 hexadecimal digits in groups of 8-4-4-4-12:

017f22e2-79b0-7cc3-98c4-dc0c0c07398f

  • The first digit of the third group is the version (here 7).
  • The first digit of the fourth group shows the variant: 8, 9, a or b for standard RFC 9562 UUIDs.
  • Upper- and lowercase mean the same thing; lowercase is the canonical form.

UUID versions at a glance

| Version | Based on | Typical use |

|---|---|---|

| v1 | timestamp + MAC address | legacy systems; reveals the device |

| v3 / v5 | MD5 / SHA-1 hash of a name | the same name always gives the same ID |

| v4 | 122 random bits | general-purpose IDs |

| v6 | reordered v1 timestamp | sortable replacement for v1 |

| v7 | Unix timestamp in ms + random bits | database keys, logs, events |

Why v7 for databases

Random v4 keys are inserted at random places in a B-tree index, which spreads writes across the whole index. v7 keys start with the creation time, so new rows go to the end of the index — similar to an auto-increment number, but still unique across servers. This generator also keeps v7 IDs strictly increasing when several are created in the same millisecond.

GUID vs UUID

GUID is Microsoft's name for the same 128-bit identifier. Windows tools often show GUIDs in uppercase and inside braces, such as {550E8400-E29B-41D4-A716-446655440000} — use the uppercase and braces options for that style.

Privacy

UUIDs are generated with the Web Crypto API in your browser. Nothing is sent to a server, and the decoder never uploads what you paste.

Frequently asked questions

What is a UUID?

A UUID (universally unique identifier), called GUID in Microsoft products, is a 128-bit identifier written as 32 hexadecimal digits in five groups, for example 550e8400-e29b-41d4-a716-446655440000. It can be created anywhere without a central registry and is practically never duplicated.

Should I use UUID v4 or v7?

Version 4 is fully random (122 random bits) and reveals nothing about when it was made. Version 7, defined in RFC 9562 (2024), starts with a millisecond timestamp, so new IDs sort in creation order. That keeps database indexes compact, which is why v7 is recommended for primary keys. Note that a v7 UUID shows when it was created.

Can two random UUIDs be the same?

In theory yes, in practice no. With 122 random bits you would need to generate about 2.7 quintillion v4 UUIDs to reach a 50 % chance of a single duplicate. This tool uses the browser's cryptographic random generator (crypto.getRandomValues).

Are UUIDs safe to use as secret tokens?

A v4 UUID is hard to guess, but RFC 9562 advises against treating UUIDs as security capabilities. For passwords, API keys or reset links use a dedicated secret with enough entropy; v7 UUIDs are partly predictable because of their timestamp.

Sources

Last updated: