UUID Generator

Generate random version 4 UUIDs or time-ordered version 7 UUIDs, one or a thousand at a time, using your browser's secure random generator.

Version

Check a UUID

How to use the UUID generator

  1. Choose v4 (random) or v7 (time-ordered).
  2. Enter how many UUIDs you need, from one to a thousand.
  3. Pick a format if your system needs one: UPPERCASE, No hyphens or {braces}.
  4. Press Generate, then Copy all. Each UUID is on its own line, ready to paste into code, SQL or a spreadsheet.

To check an existing ID, paste it under Check a UUID. The tool says whether it is valid, which version and variant it is, and, for version 7, when it was created.

What a UUID looks like

A UUID is a 128-bit number written as 32 hexadecimal digits in five groups, 8-4-4-4-12, for example 3f2b8c1e-9a4d-4f6b-8e2a-7c5d1b0e9f43. The first digit of the third group is the version: 4 for random UUIDs, 7 for time-ordered ones.

v4 or v7?

Is this safe for real use?

Yes. The random bits come from crypto.getRandomValues, the same cryptographically secure generator browsers use for encryption keys. Nothing is generated on or sent to a server.

FAQ

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

None in practice. GUID is Microsoft's name for the same 128-bit identifier, often written in uppercase with braces.

Can two random UUIDs ever be the same?

In theory yes, in practice no. You would need to generate around 2.7 billion billion version 4 UUIDs before reaching even a 50% chance of a single repeat.

Does a v7 UUID reveal when it was made?

Yes. Its first 48 bits are the creation time in milliseconds, which anyone can read. If the creation time must stay private, use version 4.

Can I use a UUID as a password or secret token?

It's better not to. UUIDs are meant to be unique, not secret, and they often end up in URLs and logs. For secrets, use the password generator or a dedicated token from your framework.