UUID Generator

Create universally unique identifiers in bulk. Version 4 UUIDs are random; version 7 UUIDs start with a millisecond timestamp so they sort in creation order, which keeps database indexes tidy. Generate up to 1000 at a time, tune the format, and use the checker to read the version, variant and embedded time of any UUID.

Encoding & Security Runs in your browser

Generate UUIDs

1 to 1000.
Accepts hyphenated, 32-digit, {braced} and urn:uuid: forms.

How to Use the UUID Generator

  1. Choose version 4 (random) or version 7 (time-ordered), and how many you want (1 to 1000).
  2. Set lowercase or uppercase, and optionally remove the hyphens or add braces.
  3. Press Generate, then use Copy for all of them or Download to save uuids.txt.
  4. To inspect an existing UUID, paste it into Check a UUID and press Check.

About This Tool

Developers who need test data, primary keys or request IDs, database engineers choosing between random and time-ordered keys, and anyone who wants to know what kind of UUID they are looking at.

Input: Count and options  ยท  Output: UUID list (.txt).

Features and Limitations

Features

  • Version 4 from the browser's cryptographic random generator.
  • Version 7 per RFC 9562 with a 48-bit Unix millisecond timestamp and a counter, so a batch is strictly ascending.
  • Bulk output with one UUID per line, copy all and .txt download.
  • Validator reports version, variant and, for versions 1, 6 and 7, the embedded date and time.
  • Runs entirely offline in your browser.

Limitations

  • A UUID is unique by probability, not by registration; collisions are astronomically unlikely but not impossible.
  • Version 7 reveals the time it was created, so avoid it where creation time must stay private.
  • Generated in a browser, not on a server, so the tool does not coordinate with other systems; use a database or service if you need guaranteed global ordering.
  • Versions 1, 3, 5, 6 and 8 cannot be generated here; the checker can still identify them.
  • Results are computed in your browser; nothing you enter is sent to a server.

Example

The RFC 9562 example 017f22e2-79b0-7cc3-98c4-dc0c0c07398f is a version 7 UUID: its first 12 digits are the timestamp 1645557742000 ms (22 Feb 2022, 19:22:22 UTC), the 7 after the second hyphen is the version and 9 starts the variant.

Frequently Asked Questions

What is the difference between UUID v4 and v7?

Version 4 is 122 bits of randomness. Version 7 puts a millisecond timestamp first and random bits after it, so values generated later sort later, which is friendlier to database indexes.

Is a UUID the same as a GUID?

Yes in practice. GUID is the Microsoft name for the same 128-bit identifier; some systems write it in uppercase or with braces, both of which this tool can produce.

Are these UUIDs truly random?

Version 4 values use crypto.randomUUID or crypto.getRandomValues, the browser's cryptographically secure generator. They are suitable as identifiers, but a UUID is not a secret and should not be used as a password or token.

How do I know a UUID's version?

It is the first digit of the third group: in 017f22e2-79b0-7cc3-98c4-dc0c0c07398f it is 7. The checker reads this for you.

Can two generated UUIDs be the same?

Version 4 collisions are extremely improbable. Within one version 7 batch the counter guarantees that every value is different and in ascending order.

Related Tools

More like this: all Encoding & Security tools, all Developer & Web tools or the TinySandy home page.