Send feedback

Coming from the page: UUID Generator

One moment…

v4 and v7Up to 10,000 at onceRFC 9562

UUID Generator

Unique IDs ready for your database or code, with secure randomness from your browser.

UUIDs are created in your browser with its secure random generator and never sent anywhere.

How to use it

1

Pick type and count

Version 4 is fully random; version 7 starts with the time, so it sorts by creation.

2

Pick the format

With or without hyphens, uppercase, or quoted with commas to paste into code or SQL.

3

Copy or download

Copy the list or download it as a text file.

v4 or v7?

Version 4Version 7
Content122 random bitsMillisecond time + 74 random bits
OrderRandomBy creation time
As a database primary keyScatters the index, slower insertsFaster inserts and indexing
Reveals creation time?NoYes

Good to know

Odds of a duplicate. With v4 you would need about 2.7 quintillion IDs for a 50% chance of a single repeat, so it is unique in practice.

v7 reveals the time. The first 12 hex digits are the creation time. If that matters, use v4.

UUID vs GUID. Same thing: GUID is Microsoft’s name, often written in uppercase inside { }.

FAQ

What is a UUID?

A 128-bit identifier written as 32 hex digits in five groups, like 550e8400-e29b-41d4-a716-446655440000, that systems create without coordinating, yet practically never repeat.

Are these really random?

Yes. We use crypto.getRandomValues, your browser’s cryptographically secure random generator.

How do I tell a UUID’s version?

The first digit of the third group is the version: xxxxxxxx-xxxx-7xxx-... is version 7. Paste it into the checker to see its version and creation time where it has one.

Are the UUIDs I create stored?

No. They are made in your browser and never sent anywhere.