DO IT EASY APP
English

UUID generator

Generate v4 (random) or v7 (time-ordered) UUIDs in one click. Up to 100 at once, with uppercase and no-hyphen options.

  • No sign-up, no fees.
  • Generate a UUID: v4 (random) or v7 (time-ordered).
  • Up to 100 at a time.
  • Uppercase and no-hyphen options.
  • With a secure random number generator.
  • What you type is processed, but never shared with anyone.

How to use the UUID Generator

Need a unique ID? Four steps:

  1. Pick the version. v4 or v7. A short description is written under it: "Completely random." or "Starts with a timestamp, sorted by generation order."
  2. Type the count. Type a number between 1 and 100 in the Count box.
  3. Pick the format. You can make it Uppercase; if you untick Hyphens, the plain 32-character form comes out.
  4. Copy or regenerate. Copy copies them all one under another. Regenerate makes a new set.

What is a UUID?

A UUID (universally unique identifier) is a 36-character ID like 3f2b8c1e-9a4d-4e7b-8c2a-1d5f6e7a8b9c. Without a central counter, it's unique enough not to collide even when generated at the same time on different computers. It's used for database records, API requests, file names, session IDs and test data. In the Microsoft world the same thing is called a GUID; generating a GUID and generating a UUID are the same job.

v4 or v7?

  • UUID v4 is completely random. It's enough for most jobs and is the most common.
  • UUID v7 contains a timestamp first, then random numbers. IDs line up in the order they were generated. If used as a primary key in a database, it helps keep records in insertion order and uses indexes more efficiently.

A v7 ID gives away when it was generated: the first 48 bits are time in milliseconds. If you need to hide the generation time, use v4.

Is it secure, can it collide?

The randomness comes from the browser's secure random number generator (crypto.getRandomValues). v4 has 122 bits of randomness; the chance of two IDs colliding is negligibly small in practice.

Tips for using random IDs

A UUID is not a password or a secret key. Its format is known and some versions carry guessable information. If you need an unguessable key, make a long random string with the Password generator.

  • In a database, v7 if ordered insertion matters, v4 for IDs that are distributed and must stay hidden.
  • When comparing, store them all in the same format (lowercase, hyphenated).
  • For test data, generate 100 and paste them straight into JSON; to check it, use JSON formatter and validator.

Common mistakes

  • Using a UUID as a secret: don't use it as an access token or password.
  • Mixing formats: with uppercase and lowercase mixed, comparisons can fail; stick to one.

To turn text into a short fingerprint there's Hash generator, and for random numbers Random number generator.

Frequently asked questions

Is the UUID generator free?

No cost at all. Not bad, right?

Are the IDs saved anywhere?

They're made in your browser. What you generate is processed, but never shared with anyone.

Is a GUID the same as a UUID?

Yes. GUID is Microsoft's name for the same format.

Can two UUIDs be the same?

In practice, no. The chance of a collision in v4 is so small that it's negligible even if billions are generated.

Why would I remove the hyphens?

Some systems and file names want the plain 32-character form. The content is the same.

Which version should I use as a database key?

v7 is generally better for a primary key, because its time order keeps the index tidy. If the generation time shouldn't be visible, use v4.

Can I use a UUID as a password?

No. Use the Password generator for passwords.

Can I use it on my phone?

Yes. Pick the version and count, and tap Copy.

How many can I generate at once?

Up to 100. For more, press Regenerate and collect the sets.

Related tools