What is a UUID generator?
A UUID generator makes a Universally Unique Identifier — a 128-bit value written as 32 hexadecimal digits in five groups, like 550e8400-e29b-41d4-a716-446655440000. Developers use UUIDs as IDs for database rows, files, sessions, and API objects, because each one is practically unique without a central counter. Two servers on opposite sides of the world can make UUIDs at the same time and never collide.
This one makes UUIDs with your browser's built-in secure random generator — the same source your operating system uses for security keys — and never Math.random, which is predictable and must never be used for IDs or secrets. The UUID is made on your device and never travels anywhere.
How to generate a UUID (3 steps)
- Pick a version above. v4 (random) for most things, v7 (time-ordered) for database primary keys, v5 (name-based) when the same input must always give the same UUID, v1 or v6 when a system expects time-based IDs.
- Pick how many and a format. 1 to 1,000 at a time; uppercase or lowercase, with or without hyphens, wrapped in braces or as a URN — the value stays the same either way. For v3 and v5, pick a namespace and enter one name per line instead.
- Press "Generate UUIDs" and copy what you need. Copy one, copy all, or download the whole list as .txt, JSON, CSV, or SQL. Save it right away — this page never stores it, so a closed page means a lost list.
How to use the result (3 steps)
- Paste the UUID where the ID belongs. A database primary key, a file name, a session ID, an API object ID — anywhere a unique label is needed.
- Store it as the database's own UUID type when one exists. PostgreSQL, MySQL, and SQL Server all have a UUID type that stores 16 bytes; storing the text form takes 36 characters and wastes space.
- Pick v7 for tables that grow fast. Its time-ordered start keeps new rows near each other in the index, so inserts stay quick as the table grows.
UUID v1 vs v3 vs v4 vs v5 vs v6 vs v7
All six are the same 128-bit format — they differ in what the bits hold:
| Version | What it holds | Best for |
|---|---|---|
| v1 | Creation time (100-nanosecond ticks since 15 Oct 1582) + clock sequence + node ID | Old systems that expect v1; when the creation time must be inside the ID |
| v3 | MD5 hash of a namespace + a name | Older systems that already use name-based IDs; prefer v5 for new work |
| v4 | 122 random bits | Almost everything — the simple, safe default |
| v5 | SHA-1 hash of a namespace + a name | Stable IDs from data — the same name always gives the same UUID |
| v6 | Creation time, reordered so UUIDs sort in time order (RFC 9562, 2024) | Time-based IDs that must sort as plain text |
| v7 | Unix time in milliseconds + 74 random bits (RFC 9562, 2024) | Database primary keys — new IDs sort after old ones |
If you are unsure, pick v4. If the UUID will be a database primary key in a table that grows, pick v7 — your future self will thank you. If the same input must always map to the same ID, pick v5.
Generate UUIDs in code
Prefer to make UUIDs in your own program? Every major language has a built-in way:
Python
import uuid print(uuid.uuid4()) # random v4 print(uuid.uuid5(uuid.NAMESPACE_DNS, "example.com")) # name-based v5
JavaScript
// Modern browsers + Node 19+ const id = crypto.randomUUID(); // v4 console.log(id.toUpperCase()); // uppercase console.log(id.replace(/-/g, "")); // no hyphens
C# / .NET
Guid id = Guid.NewGuid(); // v4-like
Guid v7 = Guid.CreateVersion7(); // .NET 9+: time-ordered v7
Console.WriteLine(id.ToString("B")); // {550e8400-...} braces format
What this tool does NOT do
Here is the honest answer: this tool makes a correctly-shaped UUID with secure randomness — it cannot promise that no one, anywhere, has ever made the same one.
That promise is impossible for any generator. What makes collisions a non-problem is the size of the space: a v4 UUID has 122 random bits, so you would need around 2.7 quintillion of them before the chance of one collision reached 50%. In practice, a UUID from this page is unique.
Two more honest notes. First, v1 and v6 UUIDs made here use a random node ID, not your device's real MAC address — a browser cannot read your MAC address, and a real one would leak private information. Second, a UUID is an identifier, not a password: use the password generator for secrets, and the API key generator for keys.
Third, v3 and v5 UUIDs are deterministic: anyone who knows the namespace and the name can recreate the same UUID, so they are identifiers, not secrets. And v3 uses MD5, which is broken as a security hash — that is fine here, because a v3 UUID is not trying to be a secret; but prefer v5 for new work.
More free tools
More free tools from The Cited Brand:
- llms.txt Generator & Validator — make a clean llms.txt file for your site in 2 minutes, and check any file against the basic rules.
- AI Crawler Checker — see whether GPTBot, ClaudeBot, PerplexityBot and 20 more AI crawlers can reach your site, or your robots.txt blocks them.
- Schema Markup Generator — make valid JSON-LD code for your pages, so search engines understand what each page is about.
- robots.txt Checker — check any site's robots.txt file: rules by bot, problems in plain words, a per-bot verdict table, and a tester for single pages.
- robots.txt Generator — build a robots.txt file in minutes: pick which AI bots may visit, add your sitemap, and download the file.
- AI Crawler Diagnostic Tool — diagnose your site for AI crawlers: find what blocks them and get the exact fix for each problem.
- AI Crawler Monitoring — keep watch after the check: spot AI bot visits in your server logs, Cloudflare analytics, and GA4.
- AI Agent Directory — the full list of 23 AI crawlers: who runs each one, what it does, and how to check a real visit.
- Secure Password Generator — generate a secure password or a word-based passphrase in one click. Made in your browser, never stored or sent anywhere.
- QR Code Generator — make a free QR code that never expires, for a link, text, Wi-Fi, email or phone. No account, no tracking, nothing uploaded.
- Password Strength Checker — check a password you already have: entropy, crack time, and pattern warnings, all in your browser.
- API Key Generator — make random API keys, secrets, and JWT signing secrets for your apps. Made in your browser, never stored or sent anywhere.
- QR Code Reader — scan a QR code from an image or your camera and see what it holds, with a warning for risky links. Nothing uploaded.
- UUID Generator — make UUIDs in one click — v4, v7, v1, v6, or name-based v3/v5. Bulk up to 1,000. Made in your browser, never stored or sent anywhere.
- Lorem Ipsum Generator — generate lorem ipsum in one click — paragraphs, sentences, words, characters or lists, as plain text, HTML, Markdown or JSON. Made in your browser, never stored or sent anywhere.
- Timestamp Converter — convert a Linux timestamp to a date and back — seconds, milliseconds, microseconds or nanoseconds, in any timezone, with copyable date commands. Made in your browser, never stored or sent anywhere.
- DNS Leak Check — check for DNS leaks: WebRTC test, visible IP + ISP + ASN, IPv6 exposure, encrypted-DNS reachability, and a DNS resolver identifier. Honest about its limits, no VPN ad.
- Tip Calculator — calculate a tip, the total and each person's share — bill, tip %, split, round-up, service presets and a comparison table. Free, no sign-up, nothing stored.
- URL Encoder & Decoder — encode and decode URLs — component, full URL, form and strict RFC 3986 modes, per-character breakdown and a query-string builder. Free, in your browser, nothing stored.
Frequently asked questions
What is a UUID generator?
A UUID generator makes a Universally Unique Identifier — a 128-bit value written as 32 hexadecimal digits in five groups, like 550e8400-e29b-41d4-a716-446655440000. Developers use UUIDs as IDs for database rows, files, sessions, and API objects, because each one is practically unique without a central counter.
What does UUID stand for?
UUID stands for Universally Unique Identifier. Microsoft calls the same thing a GUID (Globally Unique Identifier) — a GUID and a UUID are the same 128-bit format, just different names.
Which UUID version should I use?
Use v4 for most things: it is fully random, simple, and the default almost everywhere. Use v7 for database primary keys, because it starts with the current time, so new rows sort after old ones and indexes stay fast. Use v5 when the same input must always give the same UUID, such as one ID per domain name. Use v6 when you need v1-style timestamps that sort in order. Use v1 only when an old system expects it. v3 exists for older systems that already use it.
What are v3 and v5 UUIDs?
v3 and v5 UUIDs are name-based: they are made by hashing a namespace UUID together with a name, like a domain name. The same namespace and name always produce the same UUID, so different systems can derive the same ID from the same data. v5 uses SHA-1 and is the one to use for new work; v3 uses MD5 and exists for older systems. Because they are deterministic, never use them as secrets or passwords.
Are UUIDs really unique?
Practically, yes. A version 4 UUID has 122 random bits, which means about 5.3 undecillion possible values. You would need to generate around 2.7 quintillion UUIDs before the chance of a single collision reached 50%. That is why UUIDs work without a central registry.
What is the difference between UUID v4 and v7?
A v4 UUID is fully random — every part comes from the random generator, so UUIDs have no order. A v7 UUID starts with the Unix timestamp in milliseconds, then 74 random bits, so UUIDs sort by creation time. Both are valid UUIDs; v7 is the newer design (RFC 9562, 2024) and the better pick when order matters, such as database keys.
What is a nil UUID?
The nil UUID is all zeros: 00000000-0000-0000-0000-000000000000. It means 'no UUID' — software uses it as an empty value, the same way an empty string means 'no text'. The opposite, all f's, is called the max UUID.
Can I use a UUID as a database ID?
Yes. UUIDs are a common choice for primary keys because any server can make one without asking a central database. Version 7 is the best fit: its time-ordered start keeps new rows near each other in the index, while random v4 UUIDs scatter inserts and slow the index down. One trade-off: a UUID takes 16 bytes, while a plain integer ID takes 4 or 8.
Can I generate 1,000 UUIDs at once?
Yes. Set the count to any number from 1 to 1,000 and press Generate. Lists over 100 show as a scrollable text block instead of one row per UUID, so the page stays fast. Copy all, or download the list as .txt, JSON, CSV, or SQL. For v1, v6, and v7 you can also set a custom date and time, which is handy for test data with a fixed date.
Is it safe to generate UUIDs in a browser?
Yes, when the randomness is real. This generator uses your browser's built-in secure random generator — the same source your operating system uses for security keys — and never Math.random, which is predictable. Nothing is sent to a server or stored anywhere.
Do uppercase UUIDs and lowercase UUIDs mean the same thing?
Yes. A UUID is a 128-bit number, and upper or lower case is only how it is written — 550E8400 and 550e8400 are the same value. The same goes for hyphens: with or without them, the 32 hex digits carry the same 128 bits. Lowercase with hyphens is the usual style.
Does this generator store my UUIDs?
No. Every UUID is made in your browser and shown only to you. Nothing is sent to our server, nothing is stored, and nothing is logged. If you close the page without copying a UUID, it is gone — so copy or download your list right away.