Skip to content

Data tool

UUID Generator

Generate one UUID or a thousand, in the format your code expects, and decode the version and timestamp of any existing UUID.

Runs entirely in your browser. Nothing you paste is uploaded.

UUID Generator by YegappanFree tool. Open the full page for the guide.

How to use the UUID Generator

  1. Pick a version: v4 for fully random IDs, v7 for IDs that sort by creation time.
  2. Set how many you need and select Generate.
  3. Adjust hyphens, case or braces, then copy the list or download it as a text file.

UUID v4 or v7: which one to generate

A UUID generator creates universally unique identifiers, the 36-character IDs also known as GUIDs. Use this online UUID generator to make a single UUID v4, a time-ordered UUID v7, or a bulk list of up to 1,000 for test data and database keys.

A UUID is a 128-bit identifier written as 32 hexadecimal digits. Because it can be created anywhere without asking a central database, it is a common choice for record IDs, request IDs and file names.

Version 4 is random, which makes it unpredictable but scattered: used as a database primary key, new rows land all over the index. Version 7 starts with the current time in milliseconds, so new IDs are always larger than older ones and indexes stay compact.

IDs are produced with your browser’s cryptographic random number generator. The checker underneath reads the version and variant of any UUID and, for v1 and v7, the moment it was created.

Common questions

How do I generate a UUID online?

Choose version 4 or version 7 and how many you need. The UUIDs are generated at once, ready to copy one at a time or as a list.

Can I generate UUIDs in bulk?

Yes. Set the count to anything up to 1,000 and copy the whole list in one go.

Can two generated UUIDs ever be the same?

In practice, no. A v4 UUID has 122 random bits, so you would need to generate billions per second for many years to expect a single collision.

Is a UUID the same as a GUID?

Yes. GUID is the name Microsoft uses for the same 128-bit identifier. Turn on braces and uppercase if you need the usual GUID style.

Should I use v4 or v7 for database keys?

v7 is usually the better primary key because it sorts by creation time. Choose v4 when the ID must not reveal when it was created.

Are the UUIDs generated on a server?

No. They are generated in your browser and never transmitted.

Guides for the UUID Generator

Related tools