UUID Generator

Create unique identifiers for database rows, test data, API keys or file names. Generate one or a thousand, in the format your code expects.

UUIDs are generated in your browser with a cryptographically secure random number generator. Nothing is sent or logged.

Version

Inspect a UUID

How to generate UUIDs

  1. Pick v4 for a fully random ID or v7 for an ID that sorts by creation time.
  2. Enter how many you need (up to 1,000) and click Generate.
  3. Adjust the format — uppercase, without hyphens, or wrapped in braces as used by Microsoft tools — and copy or download the list.

Paste any UUID into Inspect a UUID to check that it's valid and see its version, variant and, for v1, v6 and v7, the date and time it was created.

UUID v4 vs. v7

A UUID (universally unique identifier, also called GUID) is a 128-bit number written as 32 hex digits in five groups: 8-4-4-4-12. The 13th digit shows the version.

Within the same millisecond, v7 IDs generated here are ordered randomly relative to each other; if you need strict ordering within a millisecond, generate them in your database or application with a monotonic counter.

Are UUIDs really unique?

For practical purposes, yes. With 122 random bits, you would need to generate about 2.7 quintillion (2.7 × 1018) v4 UUIDs to have a 50% chance of a single collision. The real risk comes from bad random number generators, which is why this tool uses the browser's cryptographically secure crypto.getRandomValues().

UUIDs are identifiers, not secrets. Don't use them as passwords or as the only protection for a private link — use the password generator for secrets.

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 UUIDs. Microsoft tools often show them in uppercase and wrapped in braces, which you can select above.

Which UUID version should I use?

Use v4 when you just need a unique random ID. Use v7 for database primary keys or anything you want to sort by creation time. Avoid v1 for new projects; it can expose the creating machine’s network address.

Is it safe to use these UUIDs in production?

Yes. They are generated with your browser’s cryptographically secure random number generator and follow RFC 9562. They are created on your device and never transmitted.

Can I remove the hyphens?

Yes, untick “Hyphens”. The 32-character form is the same UUID; most libraries accept both.