Skip to content

UUID Generator

Create random version 4 or time-ordered version 7 UUIDs in bulk.

Inspect a UUID

Generate universally unique identifiers in the two versions developers use most. Version 4 UUIDs are fully random, and version 7 UUIDs start with a millisecond timestamp so they sort by creation time, which keeps database indexes compact. Create one or up to 10,000 at once and copy or download the list.

Format options cover uppercase, no hyphens, curly braces (as in Microsoft GUIDs) and quoted, comma-separated values for pasting into SQL or code. IDs are created with the browser’s secure random generator, entirely on your machine.

How to use the UUID Generator tool

  1. Choose Version 4 for random IDs or Version 7 for time-ordered IDs.
  2. Enter how many UUIDs you need.
  3. Pick formatting options such as uppercase or no hyphens.
  4. Press Generate, then Copy or Download .txt.
  5. To check an existing UUID, open Inspect a UUID and paste it.

Why use ToolOrca UUID Generator

  • UUID v4 and v7 (RFC 9562)
  • Bulk generation up to 10,000
  • Uppercase, no-hyphen, braces and quoted formats
  • Reads the version and timestamp of any UUID
  • Secure crypto random source
  • Runs offline in your browser

UUID v4 vs UUID v7

A v4 UUID contains 122 random bits. It reveals nothing about when or where it was made, which is ideal for public tokens and identifiers that should not be guessable or ordered.

A v7 UUID begins with a 48-bit Unix timestamp in milliseconds, followed by random bits. New IDs are always larger than older ones, so they insert at the end of a B-tree index instead of at random positions. That makes v7 a strong choice for database primary keys in PostgreSQL, MySQL and similar systems. The trade-off is that anyone can read the creation time from the ID.

Can two UUIDs ever collide?

In theory yes, in practice no. With 122 random bits, you would need to generate about a billion v4 UUIDs per second for around 85 years to reach a 50% chance of a single duplicate.

Frequently asked questions

What is the difference between a UUID and a GUID?

They are the same thing. GUID (globally unique identifier) is Microsoft’s name for a UUID, often written in uppercase with curly braces, which you can turn on above.

Are these UUIDs truly random?

Yes. Version 4 uses crypto.randomUUID(), and version 7 fills its random part with crypto.getRandomValues(), both cryptographically secure.

What does UUID v7 look like?

Like any UUID, 36 characters in 8-4-4-4-12 groups, but the third group always starts with 7, for example 019a1f3e-6b2c-7d4e-9f01-23456789abcd. The first 12 hex digits are the timestamp.

Can I use UUIDs as passwords or secret tokens?

A v4 UUID is hard to guess, but a dedicated token or the password generator is a better fit for secrets. Never use v7 for secrets, since part of it is a predictable timestamp.