1. All tools
  2. UUID generator

How do I generate a UUID?

Choose v4 for a random UUID or v7 for a time-ordered one that sorts by creation time, pick how many you need — up to 1,000 — and copy them. They are made with your browser’s cryptographically secure random generator. Paste any UUID below to see whether it is valid, its version and, for time-based UUIDs, when it was created.

Runs entirely in your browser · nothing is sent · no account

  1. Choose v4 (random) or v7 (time-ordered).
  2. Set how many, and the format you need.
  3. Copy or download them — or inspect an existing UUID.

Inspect a UUID

What this page can do

  • UUID v4 (random) and v7 (time-ordered, RFC 9562)
  • Up to 1,000 at once
  • Uppercase, without hyphens, braces, or quoted for code
  • Secure randomness from crypto.getRandomValues
  • v7 IDs made in the same millisecond still sort in order
  • Inspector: validity, version, variant and creation time

When to use this page

  • Creating primary keys or test data for a database.
  • Getting IDs for config files, fixtures or API requests.
  • Checking which version a UUID is, or when a v1, v6 or v7 UUID was made.

When to use something else

  • You need name-based v3 or v5 UUIDs derived from a namespace — use your programming language’s UUID library.
  • You need IDs that must never collide across systems you do not control and want a central registry — UUIDs are probabilistic.
  • You need short, human-friendly IDs — a UUID is 36 characters.

How it compares with other options

Every major language can generate UUIDs — crypto.randomUUID() in JavaScript, uuid.uuid4() in Python, gen_random_uuid() in PostgreSQL — and that is the right choice inside an application. This page is for when you need a few IDs right now, or need v7 before your stack supports it. Both use the same kind of secure random source.

Where your data goes

Nowhere. Everything is computed by your own browser. Nothing you paste is sent to a server, logged or stored — close the tab and it is gone. You can check it yourself: open your browser’s network panel — the page still loads its own code and any ads, but no request carries what you typed.

Questions about this tool

What is the difference between UUID v4 and v7?

v4 is 122 random bits, so IDs are in no particular order. v7 starts with the creation time in milliseconds followed by random bits, so newer IDs sort after older ones. That keeps database indexes compact and makes v7 a good default for primary keys.

Can two UUIDs ever be the same?

In theory yes, in practice no. With v4 you would need to generate about a billion UUIDs per second for around 85 years to reach a 50% chance of a single duplicate. v7 adds the timestamp, which makes collisions even less likely across time.

Is a GUID the same as a UUID?

Yes. GUID is Microsoft’s name for the same 128-bit identifier. Windows tools often show GUIDs in uppercase and inside braces, which you can turn on with the format options.

Does a v7 UUID reveal when it was created?

Yes — the first 48 bits are the creation time, which the inspector on this page decodes. If the creation time of a record should stay private, use v4 for IDs that are visible to users.

Other tools you may need