UUID Generator

Generate random version 4 UUIDs (GUIDs) in bulk – up to 100 at once, with options for uppercase, hyphens and braces.

Updated 7 October 2026 By

Runs in your browser Free · No sign-up

Loading tool…

How to use the UUID Generator

  1. Choose how many UUIDs you need.
  2. Set the format: uppercase, with or without hyphens, with or without braces.
  3. Click “Generate” and copy the list.

About this tool

UUIDs are 128-bit identifiers used as database keys, file names and request IDs. Version 4 UUIDs are random, so collisions are practically impossible. This generator uses your browser’s cryptographic random number generator.

  • Private: your data is processed on your device and never uploaded.
  • Free with no account, limits or watermarks.
  • Fast: results appear instantly, even offline once the page has loaded.

What the UUID Generator does

A UUID (universally unique identifier), also called GUID on Windows, is a 128-bit identifier written as 32 hexadecimal digits in five groups, for example 3f2b8c1e-9d4a-4f6b-8a2e-1c7d5e9f0a3b. Because UUIDs can be created independently on any computer without a central registry, they are widely used as database keys, file names, request IDs and identifiers in distributed systems.

This generator creates random version 4 UUIDs — 1, 5, 10, 25, 50 or 100 at a time. You can switch to uppercase, remove the hyphens or wrap each value in curly braces, which is the format used by Microsoft tools and the Windows registry. Copy the whole list with one click.

The UUIDs are generated in your browser using its cryptographically secure random number generator. They are not sent to or stored on any server, so every ID you see exists only on your screen.

When to use it

  • Database records

    Use UUIDs as primary keys when records are created in several places, such as mobile apps that sync later, without risking duplicate IDs.

  • Test data

    Generate a batch of IDs for fixtures, mock APIs, spreadsheets or seed scripts.

  • Software development

    Create identifiers for message queues, correlation IDs in logs, idempotency keys or new project and component GUIDs.

  • Unique file names

    Name uploads or exports with a UUID so files never overwrite each other.

Tips for the best results

  • Keep the standard lowercase, hyphenated format unless a system requires something else; it is what RFC 9562 recommends.
  • Store UUIDs in a native UUID or 16-byte binary column where your database supports it — it is smaller and faster than text.
  • Version 4 UUIDs are random, so they are not sorted by time. If you need time-ordered keys for database indexes, look at UUID version 7.
  • Do not use a UUID as a secret such as a password-reset token unless your framework explicitly allows it; dedicated token generators are safer.

How the UUID Generator works

A version 4 UUID consists of 122 random bits. The remaining 6 bits are fixed: the 13th hexadecimal digit is always “4” (the version), and the 17th is always 8, 9, a or b (the variant). That is why every v4 UUID has the form xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx.

The tool uses crypto.randomUUID() where available, or crypto.getRandomValues() with the version and variant bits set manually in older browsers. Both draw from the operating system’s secure random source, not from the predictable Math.random().

With 2¹²² possible values, you would need to generate about a billion UUIDs per second for around 85 years to have a 50% chance of a single collision.

Frequently asked questions

What is the difference between a UUID and a GUID?

They are the same thing. GUID is the name Microsoft uses; the format is identical.

Can two generated UUIDs ever be the same?

In theory yes, but the chance is so small (one in about 5×10³⁶) that it can be ignored in practice.

What do the different UUID versions mean?

Version 1 uses time and the network card address, versions 3 and 5 are derived from a name with a hash, version 4 is random, and version 7 combines a timestamp with random bits.

Are UUIDs case-sensitive?

No. Uppercase and lowercase represent the same value, but the standard recommends lowercase output.