Skip to content
DoItJag

UUID Generator

Generate universally unique identifiers (UUIDs, also called GUIDs). Choose random version 4 or time-ordered version 7.

Format
Download .txt

About the UUID Generator

A UUID (universally unique identifier, also called a GUID) is a 128-bit value written as 32 hexadecimal digits, usually in five hyphen-separated groups. Because the values come from a large random space, separate systems can create IDs independently with no realistic risk of a clash, and with no central counter to coordinate.

Developers use UUIDs as database keys, request and trace IDs, file names and test fixtures. This generator produces version 4 or version 7 UUIDs, as defined in RFC 9562, one at a time or in batches.

When to use it

  • You need primary keys for seed data or a test database.
  • You want time-ordered keys that keep new rows close together in a database index.
  • You need a unique file name or idempotency key for an API call.
  • A Windows or .NET setting asks for a GUID in braces.

Worked example

Version 4 is generated by the browser’s crypto.randomUUID(). A typical result is:

d4a63b0d-1c64-4adf-95eb-8cce5025325b

The 4 at the start of the third group marks the version. The first digit of the fourth group (8, 9, a or b) marks the RFC variant.

Version 7 puts the creation time first. A UUID made at 2026-11-14 00:00:00 UTC (Unix time 1794614400000 ms, hex 01a1d75a9400) starts with 01a1d75a-9400-7, for example:

01a1d75a-9400-7cb5-9eae-2cc0e7a49da6

With Uppercase and Braces ticked and Hyphens unticked, a v4 looks like {45CB7C078C254AD5863641935A63A6A3}.

Good to know

  • Only versions 4 and 7 are generated. There are no v1 (MAC address) or name-based v3/v5 options.
  • You can create 1 to 1,000 at once. Copy them all, or download them as uuids.txt, one per line.
  • Version 7 keeps a 48-bit millisecond timestamp. Within one page, IDs made in the same millisecond still sort in creation order, because the random part is counted upwards.
  • A v7 reveals roughly when it was made. Use v4 if that matters.
  • To read a v7’s time, convert its first 12 hex digits to decimal and paste them into the Unix timestamp converter.

How to use UUID Generator

  1. Choose the version and how many you need.
  2. Adjust the format if needed.
  3. Copy or download the list.

Privacy: how it works

UUIDs are generated in your browser and are not sent or stored anywhere.

Frequently asked questions

What is the difference between v4 and v7?

Version 4 is fully random. Version 7 starts with the creation time, so new IDs sort after older ones, which suits database keys.

Are UUID and GUID the same?

Yes. GUID is Microsoft’s name for the same 128-bit identifier format.

How random are they?

They use your browser’s cryptographically secure random number generator.