Skip to content
Language:en

UUID / GUID generator

Generate up to 1,000 UUID v4 or time-ordered v7 at once, and decode any UUID.

Version
Format

Runs entirely in your browser. Your files never leave your device.

About this tool

A UUID (also called GUID) is a 128-bit identifier that is unique without any central registry, which makes it ideal for database keys, file names or API objects. Generate one or a thousand at once and copy them or download them as a text file.

Choose version 4, fully random, or version 7, which starts with a timestamp so that new identifiers sort in creation order and keep database indexes compact. Formatting options cover uppercase, hyphens, braces for Microsoft tools and quotes for code. Paste any existing UUID in the inspector to see its version, variant and, for time-based versions, when it was created.

How it works

  1. Pick the version (v4 or v7) and how many UUIDs you need.
  2. Adjust the format: case, hyphens, braces, quotes.
  3. Copy the list or download it as a .txt file.
  4. Paste a UUID in the inspector to decode it.

Random bits come from your browser’s cryptographic generator (crypto.getRandomValues). UUID v7 follows RFC 9562 and stays strictly increasing even when many are generated within the same millisecond.

Worked example

A version 4 UUID looks like 3f1c9a2e-7b4d-4e8a-9c21-6d5f0b8e1a37: the 4 that starts the third group gives the version, and the 9 that starts the fourth group gives the variant. Generate 500 at once to seed test data and download them as a text file.

Version 7 identifiers start with a timestamp, so rows inserted later get larger identifiers and a database index stays ordered. Paste one into the inspector to read when it was created.

Good to know

  • Choose v7 for database primary keys, v4 when the identifier must not reveal when it was created.
  • Store UUIDs in a native UUID or 16-byte binary column rather than as 36-character text.
  • Microsoft tools often expect braces and uppercase; the formatting options produce them directly.

Frequently asked questions

Can two UUID v4 ever be the same?
In theory yes, in practice no: with 122 random bits you would need to generate about a billion UUIDs per second for 85 years to have a 50 % chance of a single collision.
Should I use v4 or v7?
Use v7 for database primary keys: they sort by creation time, which keeps indexes efficient. Use v4 when the identifier must not reveal when it was created.
Is a GUID different from a UUID?
No, GUID is Microsoft’s name for the same format. Microsoft tools often display them in uppercase between braces, which the options above reproduce.
Are the generated UUIDs stored somewhere?
No. They are created in your browser and disappear when you leave the page.