document.documentElement.classList.add("cf-on");'; return; } ?>

UUID Generator

UUID Generator

Create random version 4 UUIDs (GUIDs) in bulk and validate any UUID you paste.

0UUIDs generated
0characters each
0lines
0total characters

UUIDs are created in your browser with its cryptographically secure random number generator. Nothing is sent to a server or stored.

Building a database, writing tests or setting up an API and need unique IDs fast? This UUID generator creates random version 4 UUIDs, also known as GUIDs, from one to 500 at a time. Every ID follows the format defined in RFC 9562, the current UUID standard, and you can choose uppercase, hyphen free, braces or quoted output, copy the whole list in one click, and check any existing UUID with the built in validator.

Quick answer: A UUID generator creates version 4 UUIDs: 128 bit values written as 32 hexadecimal characters in five groups. Six bits mark the version and variant, leaving 122 random bits and about 5.3 × 1036 possible values, so the chance of two random UUIDs matching is negligible in practice. GUID is simply Microsoft's name for the same thing.

UUID generator showing a list of random version 4 UUIDs and a UUID validator
How the UUID Generator works: pick a count and format, get random version 4 UUIDs.

What Is a UUID?

A UUID (universally unique identifier) is a 128 bit value written as 32 hexadecimal characters in five groups, such as f47ac10b-58cc-4372-a567-0e02b2c3d479. GUID is simply Microsoft's name for the same thing. Because UUIDs can be created anywhere without a central register, separate systems can generate IDs independently and still avoid clashes.

A version 4 UUID is random. Six bits 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), leaving 122 random bits. That gives about 5.3 × 1036 possible values, so the chance of two random UUIDs matching is negligible in practice.

How Do You Use the UUID Generator?

Step 1: Choose How Many

Enter any number from 1 to 500, and five UUIDs are created on load so you can see the output immediately. Enter any number from 1 to 500. Five UUIDs are created on load so you can see the output immediately, and the list grows or shrinks as you change the number.

Step 1: choose how many UUIDs to generate

Step 2: Pick a Format

Tick Uppercase for systems that expect capitals, Remove hyphens for a compact 32 character string, or Wrap in braces for the classic Windows GUID style. The quotes option adds commas too, ready to paste into a JSON array or SQL list. Press Generate new UUIDs for a fresh batch.

Step 2: pick the UUID format options and generate

Step 3: Copy Your UUIDs

Press Copy all to send the full list to your clipboard, one UUID per line. Need a fixed fingerprint of some data rather than a random ID? The SHA256 generator creates the same hash every time for the same input. The stats confirm how many UUIDs were generated and how many characters each one has in your chosen format.

Step 3: copy the generated UUIDs from the output box

Step 4: Validate a UUID

Paste any UUID into the validator to check that it is well formed. When IDs sit next to raw epoch times in your logs, the Unix timestamp converter turns those numbers into readable dates. The validator accepts hyphens, braces, quotes and the urn:uuid: prefix, then tells you the version and variant, so you can confirm whether an ID is random, time based or name based.

Step 4: paste a UUID into the validator to check its version

What Are the Different UUID Versions?

VersionBased onTypical use
1Timestamp and MAC addressOlder systems, ordered by time
3Name hashed with MD5Repeatable IDs from a name
4Random numbersGeneral purpose unique IDs
5Name hashed with SHA-1Repeatable IDs, preferred over v3
7Unix time plus random bitsDatabase keys that sort by time

UUID version 1 uses a timestamp and MAC address, versions 3 and 5 hash a name with MD5 or SHA-1, version 4 uses random numbers and version 7 combines Unix time with random bits. Version 4 is the safe default for most projects. If your UUIDs are primary keys in a large database, version 7 can improve index performance because new values sort in creation order. The Wikipedia guide to UUIDs covers the history and collision maths in more depth.

Key UUID Generator Terms Explained

These definitions explain the structure and standards behind the UUID generator, helping you choose the right format and trust the identifiers it creates.

Version 4 UUID
A UUID built almost entirely from random bits rather than from a timestamp or name. Its version is marked by a fixed digit 4 at the start of the third group, so any validator can recognise it.
Variant field
A small set of fixed bits that identifies which UUID layout a value follows. In the standard layout it makes the first character of the fourth group 8, 9, a or b.
Hexadecimal
A base 16 number system using the digits 0 to 9 and the letters a to f. Each hexadecimal character stands for four bits, so a 128 bit UUID is written with 32 such characters.
RFC 9562
The current Internet standard document that defines UUID formats, versions and their textual representation. Following it means IDs created by one tool are accepted by databases, libraries and validators elsewhere.
Collision probability
The chance that two independently generated identifiers turn out identical. With 122 random bits it is so small that systems can create UUIDs separately without checking a central register first.
GUID
Globally unique identifier, Microsoft's name for a UUID. It uses the same 128 bit format and is often displayed in uppercase or wrapped in curly braces in Windows software and registry entries.
</>Embed this calculator on your website

Add the free UUID Generator to your own site or blog. Copy the code below and paste it into an HTML block. It resizes itself and works on phones.

How we checked this tool: the Tools Veria Editorial Team built this tool by hand, checked it against the official rules or published standards where they apply, and tested it against worked examples. Results are estimates for planning, not personal financial or tax advice. Read our editorial policy and disclaimer, or report an error.

Frequently Asked Questions

What is the difference between a UUID and a GUID?

There is no practical difference. GUID is the name Microsoft uses for a UUID, and both are 128 bit identifiers in the same format.

Can two UUIDs ever be the same?

In theory yes, but with 122 random bits the odds are so small that a duplicate is not a realistic concern, even across billions of IDs.

How can I tell which version a UUID is?

Look at the first character of the third group. In f47ac10b-58cc-4372-a567-0e02b2c3d479 it is 4, so it is a version 4 UUID. The validator above checks this for you.

Are these UUIDs secure enough for tokens?

They use your browser's cryptographically secure random generator, so they are unpredictable. For session or password reset tokens, a dedicated token of at least 128 random bits is still the better choice.

Are UUIDs case sensitive?

No. The standard treats uppercase and lowercase hex as the same value, though lowercase is the recommended way to write them.

How many UUIDs can I generate at once?

Up to 500 per batch. Press Generate new UUIDs as often as you like for more.