Skip to content

UUID Generator

Create one UUID or up to 500 at once, using your browser's secure random generator. Choose version 4 (fully random) or version 7 (starts with the current time, so it sorts by creation date), pick the format, and copy the list. You can also paste a UUID to see its version and, for versions 1 and 7, the date it holds.

How it works

  1. Choose version 4 (random) or version 7 (time-ordered).
  2. Set how many you want and the format: upper case, hyphens, braces.
  3. Press Generate again for a new batch.
  4. Copy the list, or switch to Inspect to read the version of a UUID you have.

What people use it for

  • Database keys

    Make ids for rows or documents without asking a central counter. Version 7 keeps new rows close together in an index.

  • Test data

    Fill a fixture file or a spreadsheet with a few hundred unique ids.

  • Reading an id

    Check which version a UUID is, and when a version 1 or 7 one was created.

Questions

What is the difference between version 4 and version 7?
Version 4 is 122 random bits. Version 7 (RFC 9562) starts with the Unix time in milliseconds, then random bits, so UUIDs made later sort after earlier ones. Two version 7 UUIDs made in the same millisecond are not guaranteed to be in order.
Can two UUIDs be the same?
Practically never for version 4: with 122 random bits you would need to generate around a billion per second for decades to have a real chance of one repeat. The tool draws bytes from your browser's cryptographic generator, not from Math.random.
Is it safe to use a UUID as a secret?
A version 4 UUID is unguessable, but it is not designed as a password or token, and a version 7 UUID reveals its creation time. Use a real secret generator for anything that must stay private.
Are the UUIDs sent anywhere?
No. They are made in your browser and never leave it. Nothing you generate or paste is stored.