Free · No sign-up · Private

UUID Generator

Use this free UUID generator to create universally unique identifiers (UUIDs) — random UUID v4, time-based UUID v1, or a whole batch of up to 100 at once. Format them your way: lowercase or UPPERCASE, with or without hyphens, with or without braces — then copy them all or download as a .txt file. You can also paste any UUID below to validate it and see its version, variant and (for v1) the exact date and time hidden inside it. Everything runs in your browser: nothing is uploaded or stored.

UUID Generator

Generate random UUID v4 & time-based v1 IDs, in bulk.

1 UUID generated.

Validation

—

Private by design: every UUID is generated in your browser with crypto.getRandomValues — nothing is uploaded or stored.

How to use the UUID Generator

  1. Pick a version: v4 for a random UUID (the usual choice), or v1 for a time-based UUID that embeds the current date and time.
  2. Choose how many UUIDs to generate (1 to 100) and the format — lowercase or UPPERCASE, hyphens on or off, braces { } on or off — then click “Generate UUIDs”.
  3. Copy them all with “Copy all”, or save them with “Download .txt”. Each UUID is generated with your browser's cryptographic random number generator.
  4. To check a UUID you already have, paste it in the validator and click “Validate UUID” — the tool shows whether it is valid, its version (1–5), its variant, and the embedded date for v1 UUIDs.

What is a UUID?

A UUID — Universally Unique Identifier — is a 128-bit number used as an ID that is practically guaranteed to be unique, even when it is created on different computers, in different countries, at different times. It is written as 32 hexadecimal characters (the digits 0–9 and the letters a–f) grouped as 8-4-4-4-12 with hyphens — for example 550e8400-e29b-41d4-a716-446655440000. You have seen UUIDs everywhere without noticing: they are database keys, session tokens, file names in cloud storage, API request IDs, Bluetooth device IDs and the identifiers behind Windows registry entries. The point of a UUID is that no central counter is needed — any device can create one on its own, and it will not clash with an ID created anywhere else.

UUID versions: v1, v3, v4 and v5

There are five UUID versions, and the version is written in the ID itself — it is the first digit of the third group. Version 4 is random: 122 of the 128 bits are random, which makes it the most common choice — it is unpredictable, so it is safe to use for session tokens and secret links. Version 1 is time-based: it embeds the current date and time (counted in 100-nanosecond steps since 15 October 1582) plus a random node, so IDs created later sort after IDs created earlier — useful for database keys where you want newest first. Version 3 is made by hashing a name with MD5, and version 5 the same with SHA-1: the same name always gives the same UUID, so they are used when an ID must be repeatable. Version 2 is a rare DCE Security variant you will almost never meet. The variant is written in the first digit of the fourth group — 8, 9, a or b means the standard RFC 4122 layout used by almost everything today.

How to use the UUID Generator

Generating UUIDs takes four steps. Step 1: pick a version — v4 for a random UUID (the usual choice) or v1 for a time-based UUID. Step 2: choose how many you need, from 1 to 100, and the format — lowercase or UPPERCASE, with or without hyphens, with or without braces { }. Step 3: click “Generate UUIDs”. The IDs appear in the box, one per line. Step 4: copy them all with “Copy all” or save them with “Download .txt”. To check a UUID you already have, paste it in the validator and click “Validate UUID” — the tool shows whether it is valid, its version and variant, and for a v1 UUID the exact date and time hidden inside it.

Example

Generate one v4 UUID and you might get 3f8a1c2e-9b4d-4f6a-8e1d-2c5b7a9d0e3f — the third group starts with 4 (version 4) and the fourth group starts with 8, 9, a or b (the RFC 4122 variant). Generate a v1 UUID and validate it: the tool reads the timestamp back and shows the date and time it was created — for example a UUID made right now shows today's date and the current time. A famous fixed UUID is the DNS namespace ID 6ba7b810-9dad-11d1-80b4-00c04fd430c8 — validate it here and the tool reads out 4 February 1998, 22:13:53 UTC, a Wednesday. The nil UUID — 00000000-0000-0000-0000-000000000000, all zeros — is the one special case: it is a valid format but means “no ID”.

Tips and common mistakes

  • Use v4 by default. Random UUIDs are unpredictable, which is what you want for session IDs, tokens and anything security-related. v1 IDs leak the time they were created, so never use them for secrets.
  • Do not use a UUID as a password. A UUID is an identifier, not a secret — it is often stored in plain sight in URLs and logs. Use the Password Generator for secrets.
  • Hyphens do not change the value. 550e8400-e29b-41d4-a716-446655440000 and 550e8400e29b41d4a716446655440000 are the same ID — some systems want the hyphens, some want 32 plain characters, and this tool gives you both.
  • Uppercase is the same UUID too. UUIDs are case-insensitive: 550E8400-E29B-41D4-A716-446655440000 is the same ID as the lowercase form. Databases usually store them in lowercase.
  • Never paste secrets into a validator you do not trust. This validator never uploads your UUID — everything runs in your browser — but the rule still stands for every other site.
Tip: Need IDs for a database? Generate 100 v4 UUIDs at once, download the .txt file, and paste the list straight into your import — each line is one ready-to-use ID.

When to use a UUID

Use a UUID whenever something needs an ID that will never clash with another. A database row, a file uploaded by a user, a session token, an API key, a device in a fleet — in each case a random UUID v4 works without asking any central server for the next number. That is the point: two phones, two servers or two users can generate IDs at the same moment and never collide. Generate a batch of up to 100 at once for a data import, copy them all, or download them as a .txt file. Validate any UUID you receive by pasting it into the validator — it shows the version, the variant and, for v1, the exact time it was created.

Learn more: Read the guide: UUID Generator Guide — v1, v4 & Uses →

Frequently asked questions

What is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit ID written as 36 characters — for example 550e8400-e29b-41d4-a716-446655440000. It is so unlikely that two random UUIDs ever match that developers use them as database keys, file names, session IDs and API identifiers without a central counter.

Is this UUID generator really free?

Yes, 100% free, no sign-up, no limits. It runs entirely in your browser — generate as many UUIDs as you like.

What is the difference between UUID v4 and v1?

UUID v4 is random: 122 bits of randomness, so every ID is unpredictable and there is no pattern to guess. UUID v1 is time-based: it embeds the current date and time plus a random node, so IDs are unique and roughly sortable by when they were created. Use v4 unless you specifically need the timestamp inside the ID.

Are the UUIDs generated here unique?

Yes. A v4 UUID has 122 random bits, so the chance of two ever colliding is about 1 in 5.3 × 10³⁶ — effectively zero. Each UUID is generated with your browser's cryptographic random number generator (crypto.getRandomValues), the same source used for secure keys.

What is the difference between a UUID with and without hyphens?

Only the formatting. The standard form has hyphens — 550e8400-e29b-41d4-a716-446655440000 — while the compact form drops them: 550e8400e29b41d4a716446655440000. Both are the same 128-bit value, and most systems accept either. Use the hyphenated form in text and documents, and the compact form when a system asks for 32 characters.

Can I use a UUID as a database primary key?

Yes — that is one of the most common uses. Because a random UUID v4 is practically unique, you can generate IDs on any device without asking a central server, and merge data from different sources without clashes. Most databases (PostgreSQL, MySQL, MongoDB) support UUID columns, and UUIDs also work as file names, session tokens and API keys.

Copied!