UUID Generator

Random v4 or time-ordered v7 UUIDs, up to 1000 at once, plus a checker that reads the version and time of any UUID.

How it works

Choose version 4 (fully random) or version 7 (starts with the current time, so new ones sort after old ones). Pick how many, a format (plain, UPPERCASE, no hyphens, braces for .NET, or a SQL-ready quoted list) and copy or download them.

Paste any UUID in the checker to see its version, its variant and, for versions 1 and 7, the time hidden inside.

The formula

v7 = 48-bit unix time in ms + version + counter + random bits

Worked example

A v4 UUID looks like 3f2b8c1e-9a4d-4e7b-8c21-5d6a9b0e1f34. The 4 at the start of the third group is the version. A v7 starts with a timestamp: 018f... (hex of the milliseconds since 1970).

Good to know

Common questions

Can two UUIDs ever collide?
For v4 the chance is so small that it does not matter in practice (122 random bits).
What is the difference between a UUID and a GUID?
None in practice. GUID is the Microsoft name.
Does v7 leak when something was created?
Yes, the time is readable. Use v4 if that matters.
Where does v7 come from?
It is defined in RFC 9562 (2024).

More in Developer.