○ RUNS IN YOUR BROWSER

UUID Generator

Generate version 4 or version 7 UUIDs, from one to a thousand at a time, and copy or download them. Paste any UUID to see its version and when it was made.

DETAILS

Works with any version. Time-based UUIDs (v1, v6 and v7) also show when they were made.

UUIDS

Generating…

Made with your browser's crypto · 0 bytes sent

UUID versions in short

A UUID (universally unique identifier) is a 128-bit ID written as 32 hexadecimal digits in five groups, like 0190a1b2-c3d4-7e5f-8a6b-7c8d9e0f1a2b. The first digit of the third group is the version.

  • v4 is 122 random bits. It's the most common version and reveals nothing about where or when it was made.
  • v7 starts with a 48-bit Unix timestamp in milliseconds, followed by random bits. IDs made later sort after IDs made earlier, which databases like. It was standardised in RFC 9562 in 2024.
  • v1 and v6 are older time-based versions that also contain the time and, in v1, often the network card's address.
  • v3 and v5 are made by hashing a name, so the same name always gives the same UUID.

Why v7 is better for database keys

Random v4 keys land at random places in a database index, so each insert touches a different page and the index fragments. v7 keys grow over time, so new rows go to the end of the index, like an auto-increment number, while staying unique across servers. When you generate a batch here, the v7 IDs keep their order even within the same millisecond.

Formats

The standard form is lower case with dashes. Some systems want the dashes removed (32 characters), and Windows and .NET often show GUIDs in upper case. The checker accepts all of these, as well as curly braces and the urn:uuid: prefix.

How to generate UUIDs

  1. 1

    Pick a version

    Choose v4 for fully random IDs, or v7 for IDs that start with a timestamp and sort by creation time.

  2. 2

    Choose how many and the format

    Pick 1, 10, 100 or 1000, and choose lower or upper case and whether to keep the dashes.

  3. 3

    Copy or download

    Copy the list to your clipboard or download it as a text file. Press Generate for a fresh batch.

Frequently asked questions

Should I use UUID v4 or v7?

Use v7 for database primary keys. Because it starts with the time, new rows land at the end of the index, which keeps inserts fast. Use v4 when an ID shouldn't reveal when it was made.

Can two generated UUIDs be the same?

In practice, no. A v4 UUID has 122 random bits. You would need to generate about a billion UUIDs per second for 85 years to have a 50% chance of a single duplicate.

Are these UUIDs safe to use?

Yes. They come from your browser's cryptographically secure random number generator, the same one used for encryption keys. Nothing is generated on or sent to a server.

What's the difference between a UUID and a GUID?

Nothing in practice. GUID is Microsoft's name for the same 128-bit format. Microsoft tools often show GUIDs in upper case and in curly braces.

Does a v7 UUID reveal when it was made?

Yes, to the millisecond. Paste one into the checker to see the time. If that matters for your use case, use v4.

On this page
Pages
Home
All tools
Suggest a tool
About
Privacy