Skip to content

UUID Generator

Generate up to 1,000 random v4 or time-ordered v7 UUIDs at once, in upper or lower case, with or without hyphens. Copy or download instantly.

Runs in your browser. Nothing is uploaded.

Version
UUID version

About the UUID Generator

A UUID (Universally Unique Identifier), also called a GUID, is a 128-bit ID like 3f2b8c1e-9d4a-4e6b-8f0a-2c7d5e9b1a34. Because they're generated randomly, different systems can create IDs independently with no realistic risk of collision, so they're used for database keys, API resources, file names and request tracing.

This generator creates version 4 UUIDs (fully random) and version 7 UUIDs (time-ordered), using your browser's cryptographically secure random number generator. Nothing is generated on or sent to a server.

How to use it

  1. Choose v4 for general-purpose random IDs, or v7 for IDs that sort by creation time.
  2. Enter how many you need (up to 1,000).
  3. Choose uppercase or lowercase, with or without hyphens.
  4. Press Generate, then copy all of them or download them as a text file.

Examples

v4 (random)

c1d5a3e2-7b9f-4a61-9e3d-5f2b8a0c4d17. The 4 at the start of the third group marks the version.

v7 (time-ordered)

0193a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b. The first 12 hex digits encode the creation time in milliseconds.

Without hyphens

Some systems store UUIDs as 32 hex characters: c1d5a3e27b9f4a619e3d5f2b8a0c4d17.

Bulk test data

Generate 500 UUIDs and download them to seed a test database or spreadsheet.

Limitations

  • Up to 1,000 UUIDs per batch. Press Generate again for more.
  • v7 IDs reveal roughly when they were created (to the millisecond), so avoid them where creation time should stay private.
  • Versions 1, 3, 5 and 6 aren't offered: v1 and v6 embed hardware addresses and v3/v5 are derived from names, and they're rarely what new projects need.

Frequently asked questions

Can two UUIDs ever be the same?

In theory yes, but a v4 UUID has 122 random bits. You would need to generate about a billion UUIDs per second for about 86 years to reach a 50% chance of a single duplicate.

Should I use v4 or v7?

Use v7 for database primary keys: because new IDs sort after old ones, databases can insert them efficiently. Use v4 when IDs must not reveal anything, including creation time.

Are UUID and GUID the same thing?

Yes. GUID is Microsoft's name for the same 128-bit format. They're often written in uppercase in Windows tools.

Are these UUIDs secure to use as secret tokens?

They come from a cryptographically secure generator, but UUIDs aren't designed as secrets. For password-reset or API tokens, use a dedicated random token with more entropy.

Related tools