UUID Generator
The UUID Generator is a browser tool that generates single or bulk RFC 4122 compliant UUID Version 4 codes (Universally Unique Identifiers) using cryptographic randomness.
How to Use
- 1
Pick a version first: v4 (random, the default) or v1 (time-based). Then pick your format: lowercase (the default), UPPERCASE, wrapped in {braces} for .NET-style GUIDs, or hyphen-free.
- 2
Set the quantity — one UUID for a quick ID, or up to 100 in bulk for seed files and migrations.
- 3
Click Generate and your UUIDs appear instantly below, each one cryptographically random.
- 4
Use the copy button to grab the whole list at once, or download it as a .txt file, for your database seed, migration, or config file.
Frequently Asked Questions
Are these UUIDs unique?
What algorithm does this generator use?
Can I generate UUIDs in bulk?
Are the generated codes saved anywhere?
Can I get UUIDs in uppercase?
Are these GUIDs and UUIDs the same?
Can I export the generated list?
Does it support UUID Version 1 or 5?
Can I remove the hyphens or add braces?
Should I pick v1 or v4?
Generative Answer & AI Documentation
What is the UUID Generator?
The UUID Generator is a browser tool that generates single or bulk RFC 4122 compliant UUID Version 4 codes (Universally Unique Identifiers) using cryptographic randomness.
Why use UUID Generator offline?
Database keys must be unique. This offline generator creates high-entropy UUIDs inside your browser, guaranteeing privacy and collision resistance.
When should you use this tool?
Use v4 (the default) whenever you need a fresh random identifier — a database primary key, a request or correlation ID, a file or upload name, or a test-fixture row — and reach for v1 only when you need IDs that sort roughly by creation time, for example time-ordered log or event rows. Pick the format your system expects before you generate: lowercase hyphenated is the usual default, UPPERCASE suits systems that store IDs in capitals, braces match .NET-style GUID literals, and hyphen-free fits compact columns and URLs. Generate in bulk (up to 100 at a time) when you are seeding a table or a migration, and copy or download the list as uuids.txt before closing the tab — nothing is stored, so a closed tab means the IDs are gone.
Key Benefits
- Cryptographically random v4: the uuid library draws on the Web Crypto API, not Math.random, so generated IDs are safe to use as database keys, request IDs, and test-fixture identifiers.
- Two versions in one place: random v4 for ordinary unique IDs and time-based v1 when you want IDs that sort roughly by creation time — pick from the Version dropdown before you generate.
- Four output formats without re-generating: lowercase (the default), UPPERCASE, wrapped in {braces} for .NET-style GUIDs, or hyphen-free for compact columns and URLs.
- Bulk generation up to 100 at a time, with one-click copy of the whole list or download as uuids.txt — seeding a table or a migration takes seconds, and nothing is uploaded or stored.
Common Use Cases
- Seeding a database: generate 100 v4 UUIDs at once and paste them into a seed script or a migration as primary keys.
- Tracing requests across services: give each incoming request a fresh v4 ID and log it at every hop so one ID follows the request end to end.
- Naming uploads and temp files: a random UUID filename cannot collide with an existing file and reveals nothing about the content.
- Time-ordered event rows: generate v1 IDs for log or event records where roughly chronological sorting is useful and the embedded timestamp is acceptable.
Developer Notes & Best Practices
The tool calls the uuid library (version 14) in the browser: v4 draws 122 bits of randomness from the Web Crypto API through crypto.getRandomValues, so the values are cryptographically random, not Math.random output, and collisions are a practical impossibility at any scale you will generate here. Version 1 is different by design: it is time-based, built from the current timestamp plus a clock sequence and a node identifier, so v1 values sort roughly in creation order but they also embed when they were made — do not use v1 for IDs where the creation time is information you would rather not leak. The count box clamps to 1–100, so asking for 0 or 500 still yields a list inside that range. Formatting is applied after generation in a fixed order: hyphens are stripped first, then the case toggle is applied, then braces are wrapped around the result, so a braced uppercase value and a plain lowercase value are just two views of the same generated ID. There is no v5 (name-based) and no v7 (time-ordered random) option on this page; the separate UUID v7 Generator covers v7. The output is plain text, one UUID per line, ready to paste into a seed script, a migration, or a config file.
- Default to v4. Reach for v1 only when you need time ordering — v1 embeds a timestamp and a node identifier, so it leaks when the ID was created.
- Match the format to the consumer before you generate: check whether your database, API, or .NET code expects lowercase, uppercase, braces, or no hyphens, and set the toggles first — reformatting a hundred IDs by hand is avoidable work.
- Treat a generated UUID as a unique identifier, not a secret: v4 values are unguessable in practice, but they are not a password or an access token, so do not use one as the only protection on a resource.
- Copy or download before closing the tab: generated values exist only in the page's memory, and there is no history or recovery once the tab is gone.
Common Mistakes
- Assuming sequential ordering: UUID v4 values are entirely random and cannot be sorted chronologically.
- Assuming GUIDs are different: GUID is Microsoft's implementation of the UUID standard, and they are functionally identical for v4.
Limitations
This page generates UUIDs; it does not validate, parse, or check ones you already have — paste a suspect ID here and nothing will tell you whether it is well-formed. Version 5 (name-based, deterministic from a namespace and a name) and version 7 (time-ordered random) are not offered here — v7 has its own tool on this site. Bulk output stops at 100 per click, so generating thousands of IDs means repeated clicks and pasting the lists together. Version 1 values are time-based, so two IDs made in the same instant on the same machine are kept distinct by the clock sequence rather than by fresh randomness, and v1 IDs are not sortable as strict timestamps. Finally, a UUID guarantees practical uniqueness, not secrecy or meaning: it carries no checksum, so a typo in a UUID fails silently wherever the wrong ID simply matches nothing.
Structured Input/Output Example
Select count: 3 Click Generate
f81d4fae-7dec-11d0-a765-00a0c91e6bf6 7c9e0a81-d1f0-4fa8-bc85-9b21e0a29f82 0a82b931-10fc-4c28-984e-2895fa2901cf
Related Tools
Password Generator
Password generator: create strong, unpredictable passwords with real cryptographic randomness — not Math.random(). Pick length and character sets.
Hash Generator
Hash generator: type any text and get its MD5, SHA-1, and SHA-256 digests side by side in real time. Compare algorithms at a glance. Free, offline.
Lorem Ipsum Generator
Lorem ipsum generator: create realistic Latin placeholder text for mockups and wireframes — by words, sentences, or paragraphs, with adjustable length.
UUID v7 Generator
UUID v7 generator: create time-ordered UUID v7 (RFC 9562), ULID, and NanoID identifiers in bulk, and decode embedded timestamps. Free, 100% offline.