UUID Generator

Five fresh UUIDs are generated when the page loads. Change the quantity, version or format and copy the list.

Loading tool…

  • Free
  • No sign-up
  • Runs in your browser

How to use the uuid generator

  1. Choose how many UUIDs you need and which version.
  2. Tick the format options: uppercase, hyphens or braces.
  3. Press Copy or Download .txt.

What is a UUID?

A UUID (universally unique identifier), called a GUID on Microsoft platforms, is a 128-bit value written as 32 hexadecimal digits in five groups, for example 3f2b8c1e-9d4a-4f6b-a1c7-5e8d2b9f0a34. Any computer can create one without checking with a central server, and the chance of two matching is so small that it can be ignored in practice.

Version 4 or version 7?

Version 4Version 7
Made from122 random bitsA millisecond timestamp followed by random bits
Sorts by creation timeNoYes
Best forTokens, file names, general identifiersDatabase primary keys
Reveals when it was createdNoYes

Version 7 is the newer format. Because new values always sort after older ones, database indexes stay compact and inserts are faster than with fully random keys. Choose version 4 when you do not want the creation time to be visible.

How unlikely is a collision?

There are about 5.3 × 10³⁶ possible version 4 UUIDs. You would need to generate roughly a billion every second for 85 years to reach a 50% chance of a single duplicate.

Common formats

  • Standard: 3f2b8c1e-9d4a-4f6b-a1c7-5e8d2b9f0a34
  • No hyphens: 3f2b8c1e9d4a4f6ba1c75e8d2b9f0a34, common in URLs and file names
  • Braces: {3F2B8C1E-9D4A-4F6B-A1C7-5E8D2B9F0A34}, used by the Windows registry and .NET

Frequently asked questions

Is a GUID the same as a UUID?

Yes. GUID is Microsoft's name for the same 128-bit identifier.

Are UUIDs secure enough to use as secrets?

Version 4 UUIDs from this page use a cryptographic random source, but UUIDs are designed to be unique rather than secret. For session tokens or API keys, use a longer purpose-made random value.

What is the nil UUID?

It is the special value made entirely of zeros, used to mean no value.

Is anything I enter sent to a server?

No. The tool runs entirely in your browser, so what you type never leaves your device.

Related tools