Skip to content

UUID Generator

Generate UUIDs (GUIDs) in v4, v7, v1 or v5, one at a time or in bulk.

Version
Format
Result
xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx

Validate / decode a UUID

Generated in your browser with a cryptographically secure random generator — nothing is sent or stored.

How to use

  1. Choose v4, v7, v1, v5, Nil or Max under Version.
  2. For v4, v7 or v1, set Quantity to a whole number from 1 to 1000.
  3. Under List format, choose None, JSON array or another option to format the list for Copy all and Download.
  4. Click Generate to create UUIDs with your settings.
  5. Click Copy for one UUID or Copy all for the formatted list.

Examples

One random UUID for a test record

Input
Version: v4, Quantity: 1 (the output shows a sample pattern; the real value is random)
Output
xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx

Ten time-ordered IDs for JSON seed data

Input
Version: v7, Quantity: 10, List format: JSON array (the output shows sample patterns; the real values are random)
Output
[
  "xxxxxxxx-xxxx-7xxx-yxxx-xxxxxxxxxxxx",
  "xxxxxxxx-xxxx-7xxx-yxxx-xxxxxxxxxxxx",
  "xxxxxxxx-xxxx-7xxx-yxxx-xxxxxxxxxxxx",
  "xxxxxxxx-xxxx-7xxx-yxxx-xxxxxxxxxxxx",
  "xxxxxxxx-xxxx-7xxx-yxxx-xxxxxxxxxxxx",
  "xxxxxxxx-xxxx-7xxx-yxxx-xxxxxxxxxxxx",
  "xxxxxxxx-xxxx-7xxx-yxxx-xxxxxxxxxxxx",
  "xxxxxxxx-xxxx-7xxx-yxxx-xxxxxxxxxxxx",
  "xxxxxxxx-xxxx-7xxx-yxxx-xxxxxxxxxxxx",
  "xxxxxxxx-xxxx-7xxx-yxxx-xxxxxxxxxxxx"
]

Uppercase GUID with braces

Input
Version: v4, Quantity: 1, Uppercase and Braces {…} checked (the output shows a sample pattern; the real value is random)
Output
{XXXXXXXX-XXXX-4XXX-YXXX-XXXXXXXXXXXX}

FAQ

Should I use UUID v4 or v7?

Choose v4 for a random ID. Choose v7 for a time-ordered ID: it includes a Unix timestamp in milliseconds, and UUIDs generated in one batch are strictly increasing.

Are generated UUIDs guaranteed to be unique?

Random generation is not a uniqueness guarantee. Each v4 UUID contains 122 random bits supplied by crypto.getRandomValues.

How do I generate the same UUID from a name?

Select v5 under Version, choose a Namespace, and enter text in Name. The same name and namespace always produce the same UUID; an empty Name produces no output.

Can I get the creation time from a UUID?

Paste it into the Validate / decode a UUID field. The tool shows an embedded timestamp for v1, v6 and v7, but v4 has no timestamp to decode.

Are UUIDs generated on a server or stored?

UUIDs are generated in your browser, and the tool does not send the values anywhere. Generated UUIDs and the v5 name are not stored, but your form options are saved in localStorage.