UUID Generator

Generate random UUID/GUID values for unique identifiers.

Generate UUIDs (also called GUIDs) for database keys, test data and identifiers. Choose version 4 (random) or version 7 (starts with a millisecond timestamp, so the IDs sort by creation time), make up to 1,000 at once, and format them in uppercase, without hyphens or in braces for Microsoft-style GUIDs. They're made with your browser's cryptographic random number generator. You can also paste a UUID to see its version and variant, and for v7, when it was created.

Generated with your browser's cryptographic random number generator. v7 UUIDs start with a millisecond timestamp, so they sort by creation time.

Common use cases

  • Make primary keys or IDs for test data
  • Generate GUIDs for .NET, SQL Server or Windows registry entries
  • Create time-ordered v7 IDs that keep database indexes efficient
  • Check which version a UUID is and when a v7 was made

How to use

  1. Choose v4 or v7 and how many you want.
  2. Pick uppercase, hyphens or braces.
  3. Press Generate, then copy or download the list.
  4. Paste any UUID under Inspect a UUID to see what kind it is.

FAQ

Can two UUIDs ever be the same?

In practice, no. A v4 UUID has 122 random bits; you'd need to make about a billion per second for 85 years for a 50% chance of a single duplicate.

Should I use v4 or v7?

Use v7 for database primary keys: new IDs sort after older ones, which keeps indexes compact. Use v4 when the ID shouldn't reveal when it was made.

Is a GUID the same as a UUID?

Yes. GUID is Microsoft's name for the same 128-bit format, often written in uppercase inside braces.