UUID / ULID Generator

Generate random UUIDs (v4), time-ordered UUIDs (v7) and ULIDs — one or thousands at once — and decode existing IDs.

Runs locally in your browser

v4 is the common default. v7 and ULID start with a timestamp, so they sort by creation time — ideal as database keys.

Decode an ID

About this tool

A UUID (Universally Unique Identifier, called GUID at Microsoft) is a 128-bit identifier like 550e8400-e29b-41d4-a716-446655440000. UUIDs can be created without any central authority and are still practically unique – ideal as database keys, file names or request IDs.

The generator creates random version 4 UUIDs, time-ordered version 7 UUIDs (RFC 9562) and ULIDs – one at a time or up to 1,000 at once. You can also paste an existing ID to see its version, variant and, for v7 or ULID, the embedded timestamp.

All IDs are created locally with your browser’s cryptographically secure random number generator.

How it works

  1. Choose the type: UUID v4, UUID v7 or ULID.
  2. Set the count and adjust the format (uppercase, hyphens, braces).
  3. Click “Generate” and copy the IDs or download them as a .txt file.
  4. To analyze an ID, paste it under “Decode an ID”.

Frequently asked questions

Which UUID version should I use?

v4 is the common standard when you simply need a random ID. v7 starts with a timestamp and is therefore sortable by creation time. This makes database indexes more efficient but reveals when the ID was created.

Can two UUIDs be the same?

In theory yes, in practice no. A v4 UUID has 122 random bits. Even generating a billion IDs per second, it would take about 85 years on average before a collision becomes even likely.

What is the difference between UUID and ULID?

Both are 128 bits long. A ULID is written as 26 characters in Crockford Base32, contains a millisecond timestamp and sorts correctly as text. It is shorter and works well in URLs.

Are GUID and UUID the same?

Yes. GUID is the name commonly used at Microsoft. For the notation with curly braces, as found in the Windows registry, enable the “Braces” option.

Can I use a UUID as a password or token?

Better not for secret tokens: v7 and ULID contain a readable timestamp. For passwords, use the Password Generator.