MateenLabs No ads · Runs in your browser
Free Developer Tool

UUID Generator: Version 4, Version 7 and Nil

Pick a version, choose how many UUIDs you need, from 1 to 1000, and press Generate. Version 4 is made of random bits. Version 7 starts with the current time, so the values sort in the order they were created, which keeps database indexes tidy. The nil UUID, all zeros, is there for placeholders and tests.

Show them in lowercase or uppercase, with or without hyphens, and with or without braces, then copy the whole list or download it as a text file. The check box takes any UUID you paste and tells you whether the format is valid, its version and variant, and for version 7 the time hidden inside it. Everything is generated with your browser's secure random number generator and nothing is sent anywhere.

Free Forever No Login No File Uploads Browser Processing

Whole numbers from 1 to 1000.

0 UUIDs
Press Generate to make UUIDs.

Check a UUID

How these UUIDs are made

A UUID (universally unique identifier) is a 128-bit number written as 32 hexadecimal digits in five groups, such as 550e8400-e29b-41d4-a716-446655440000. Systems use them as ids that can be created anywhere without asking a central server. The format is defined in RFC 9562, which replaced RFC 4122 in 2024.

Version 4 uses 122 random bits and 6 fixed bits that mark the version and variant. The tool uses crypto.randomUUID() when your browser has it and otherwise builds the value from crypto.getRandomValues(), the same secure random source, so older browsers get the same quality. It never uses Math.random. Version 7 puts a 48-bit Unix timestamp in milliseconds at the start, followed by random data, as RFC 9562 describes. When you generate many in one go, a small counter keeps them in strictly increasing order even inside the same millisecond.

Be honest about what a UUID is: a random version 4 UUID is very unlikely to repeat, but uniqueness is a matter of probability, not a guarantee, and a UUID is an identifier, not a secret or a password. A version 7 UUID contains the moment it was created, so anyone who sees it can read that time. Do not use it where the creation time must stay private, and do not rely on either version as an access token.

  • Version 4 (random), version 7 (time-ordered, RFC 9562) and the nil UUID.
  • Bulk generation from 1 to 1000, in strictly increasing order for version 7.
  • Lowercase or uppercase, with or without hyphens, with or without braces.
  • Copy all or download a text file.
  • A checker that shows the version, variant and, for version 7, the embedded time.
  • Uses secure browser randomness and tells you if the browser has none.

How to use the UUID Generator

  1. Choose the version and how many UUIDs you want.
  2. Choose the format: case, hyphens and braces.
  3. Press Generate, then Copy all or Download .txt.
  4. To inspect a UUID, paste it into the check box.

Is it private?

Yes. UUIDs are created by your own browser and are not uploaded, logged or stored. The UUID you paste into the checker is read locally.

Read our tools privacy policy →

Frequently asked questions

What is the difference between version 4 and version 7?

Version 4 is random. Version 7 begins with a timestamp, so values created later sort after earlier ones. That makes version 7 friendlier for database keys, because new rows land at the end of an index instead of all over it. The cost is that a version 7 UUID reveals when it was made.

Can two UUIDs ever be the same?

In theory yes, but with 122 random bits the chance for version 4 is vanishingly small for any realistic number of ids. It is a probability, not a promise, so a database that must never hold a duplicate should still have a unique constraint.

Is a UUID secret or safe to use as a token?

No. A UUID is an identifier. Version 4 comes from a secure random source, but anything that is guessable, shared or logged is not a secret. Use proper session or API tokens for access control. A version 7 UUID also shows its creation time.

What does the nil UUID mean?

The nil UUID is all zeros, 00000000-0000-0000-0000-000000000000. It is a defined special value that systems use to mean "no UUID", and it is handy as a placeholder in tests.

Why does the tool say my browser has no secure random generator?

Very old browsers lack crypto.getRandomValues. The tool refuses to fall back to Math.random, which is predictable, and tells you instead. Try an up-to-date browser.

Are the UUIDs stored or uploaded?

No. They are created in your browser, shown on the page and forgotten when you close it. Nothing is uploaded and nothing is stored.

Related tools