Skip to content
Toolzy 100% free · no login

Home › Developer Tools › UUID Generator

UUID Generator (v4 GUID)

Runs in your browserFree · no sign-up

Choose how many identifiers you need and press Generate. Copy the list with one click.

Advertisement

How to use this tool

  1. Open this free UUID Generator — no account or download needed.
  2. Enter or paste your data in the fields above.
  3. Check the result that appears instantly in your browser. Nothing is uploaded by this tool.
  4. Copy, download or use the output as you need.

What a UUID is

A UUID (universally unique identifier), also called a GUID in the Microsoft world, is a 128-bit value written as 32 hexadecimal digits in five groups, for example 3f2504e0-4f89-41d3-9a0c-0305e82c3301. They are used wherever systems need identifiers that can be created independently, without asking a central database for the next number: database primary keys, file names, session IDs, message IDs and correlation IDs in logs. The format is defined in RFC 4122 and its updates.

What version 4 means

There are several UUID versions. Version 1 uses a timestamp and a machine address, and version 5 hashes a name. Version 4, generated here, is built from random numbers. Of the 128 bits, 6 are fixed to mark the version (the first digit of the third group is always 4) and the variant (the first digit of the fourth group is 8, 9, a or b), which leaves 122 random bits. That is about 5.3 × 10^36 possible values.

How likely is a collision?

With 122 random bits, the chance of two random UUIDs matching is vanishingly small. You would need to generate roughly a billion UUIDs per second for around 85 years before the probability of even a single duplicate reached 50%. For practical purposes, they are unique, provided the random numbers are good. This tool uses the browser's cryptographically secure random generator, not the weaker Math.random.

Formatting options

  • Uppercase: some systems display GUIDs in capital letters. Case does not change the value.
  • No hyphens: a compact 32-character form that some APIs and databases prefer.
  • Braces: the {…} form seen in Windows registry entries and some .NET code.

Good practice

Random UUIDs make poor sort keys, since new rows land in random positions of a database index. If insertion order matters, consider time-ordered identifiers. A UUID is also not a secret, so do not use one as a password or authorisation token on its own. For secrets, use the password generator. Generation is local, and nothing is saved or sent.

Frequently asked questions

What is the difference between a UUID and a GUID?

They are the same thing. GUID is Microsoft’s term for a UUID.

Are version 4 UUIDs truly unique?

Not mathematically guaranteed, but with 122 random bits the chance of a collision is negligible in practice.

Can I use a UUID as a password?

No. Although random, UUIDs have a fixed format and fewer random bits than a strong password. Use the password generator.

Why does the third group always start with 4?

That digit marks the UUID version. In version 4 UUIDs it is always 4.

Does the generator work offline?

Yes, after the page has loaded. It needs no network connection.

More free tools