UUID Generator

Create universally unique identifiers in one click. Choose version 4 (random) or version 7 (time-ordered), generate up to 1,000 at once, and copy them in the format your code needs.

Everyday Utilities Runs in your browser Free, no sign-up v4 & v7
Generated0

How to generate UUIDs

  1. Pick a versionv4 for fully random IDs, or v7 for IDs that sort in the order they were created.
  2. Choose how manyGenerate one or up to 1,000 at a time.
  3. Set the formatUppercase, no hyphens or curly braces, to match what your database or code expects.
  4. Copy or downloadCopy the whole list or save it as a text file, one UUID per line.

UUID v4 vs v7

Version 4
122 random bits. The most common choice for IDs in apps, APIs and test data.
Version 7
Starts with a millisecond timestamp followed by random bits, defined in RFC 9562 (2024). Because new IDs sort after older ones, v7 makes database indexes faster than random v4 keys.
GUID
Microsoft's name for the same thing. A GUID and a UUID are interchangeable.

The UUID format explained

A UUID is 128 bits written as 32 hexadecimal digits in five groups: 8-4-4-4-12, for example 3f2b8c1e-7a4d-4c1e-9b2f-6d8e0a1c5b7f. The first digit of the third group shows the version (4 or 7), and the first digit of the fourth group shows the variant (8, 9, a or b for standard UUIDs). Paste any UUID into the checker to see its version, and for v7 the date and time it was created.

Are they really unique?

Each v4 UUID has 122 random bits, giving about 5.3 × 1036 possibilities. You would need to generate billions of UUIDs every second for many years before a duplicate became likely. This tool uses your browser's cryptographically secure random number generator, the same source used for strong passwords. Nothing is sent to a server, so the IDs are known only to you.

Frequently asked questions

What is a UUID?

A universally unique identifier: a 128-bit value used to label records, files and objects without needing a central register.

Is a GUID the same as a UUID?

Yes. GUID is Microsoft's term for a UUID; the format is identical.

Should I use UUID v4 or v7?

Use v4 when you just need random IDs. Use v7 for database primary keys, because time-ordered IDs keep indexes efficient.

Are these UUIDs secure?

They are generated with the browser's cryptographically secure random number generator. Still, don't use UUIDs as secret passwords or tokens.

More everyday utilities tools