UUID Generator
Generate cryptographically random RFC 4122 v4 UUIDs in bulk — copy one or all, in your browser.
Privacy: your files never leave your device. All processing happens locally in your browser.
How to use
- 1.Enter how many UUIDs you want (1 to 100).
- 2.Optionally toggle uppercase or remove hyphens to match your format.
- 3.Click Generate, then copy any single UUID or use Copy all.
About UUID Generator
A UUID (Universally Unique IDentifier) is a 128-bit label used to identify records without a central authority handing out numbers. It is written as 32 hexadecimal digits in a canonical 8-4-4-4-12 pattern, such as f47ac10b-58cc-4372-a567-0e02b2c3d479. This generator produces version 4 UUIDs, the random variant defined by RFC 4122 and its 2024 replacement RFC 9562.
A UUID carries a version and a variant. Of the 128 bits, 6 are fixed: 4 encode the version (the 13th hex digit is always 4) and 2 encode the variant (the 17th hex digit is always 8, 9, a, or b), leaving 122 bits of pure randomness. Version 4 is the random one; other versions derive their bits from timestamps (v1, v7), names via hashing (v3, v5), or a mix — but v4 needs no clock, MAC address, or namespace, which makes it the simplest to generate safely anywhere.
Those 122 bits come from your platform's cryptographically secure random number generator — the Web Crypto API's getRandomValues — not the weak, predictable Math.random used by many quick scripts. That distinction matters: a CSPRNG makes each UUID unguessable and statistically independent, which is exactly what you want for identifiers that may surface in URLs, logs, or client-side code.
With 122 random bits, collision odds are astronomically small. You would need to generate on the order of a billion UUIDs per second for roughly 85 years before the chance of a single duplicate reaches even 50% — the birthday-bound math is why teams treat v4 UUIDs as effectively unique without coordinating across machines.
That coordination-free property is the whole point. Version 4 UUIDs can be minted independently on any device, so they suit database primary keys, distributed and offline-first systems, idempotency keys, correlation and trace IDs, file and object names, and API request identifiers — anywhere two systems must create IDs at once without colliding. If you specifically need time-ordered keys for index locality, UUIDv7 is the newer choice; for unordered uniqueness, v4 remains the default.
Uppercasing the digits or stripping the hyphens changes only the text form, never the underlying 128-bit value or its uniqueness, so pick whichever matches your database column or code style. This tool generates every UUID locally in your browser tab: choose how many you need, adjust the format, then copy them one at a time or all at once. No value is ever transmitted to a server, so it is safe for production secrets and internal identifiers alike.
Methodology & sources
UUID v4 per RFC 4122 / RFC 9562: 122 random bits from the platform CSPRNG (crypto), with version and variant bits set per spec.
Frequently asked questions
- What is a version 4 UUID?
- A version 4 UUID is a 128-bit identifier defined by RFC 4122 (updated by RFC 9562) whose 122 usable bits are random. Six bits are reserved: four fix the version to 4 and two set the variant, so the 13th hex digit is always 4 and the 17th is 8, 9, a, or b.
- Are these UUIDs safe to use as unique IDs?
- Yes. With 122 random bits from a cryptographically secure generator, the probability of ever producing a duplicate is negligible for real-world volumes, which is why v4 UUIDs are widely used as database keys and distributed IDs without central coordination.
- Is my data sent to a server?
- No. Every UUID is generated locally in your browser using the Web Crypto API. Nothing you generate or copy is transmitted anywhere, so the tool is safe for production identifiers and secrets.
Related tools
- JSON FormatterFormat, minify, and validate JSON in your browser — pretty-print or compress with pinpoint error locations.
- Subnet CalculatorEnter an IP and CIDR prefix or subnet mask to instantly get network, broadcast, host range, and mask details.
- Diff CheckerCompare two texts line by line and see exactly what was added, removed, or unchanged — in your browser.
- ANSI Color Codes GeneratorBuild and copy raw SGR escape sequences and search the standard 8 plus bright 8 terminal color codes.
- ASCII TableLook up every standard 7-bit ASCII code with exact decimal, hexadecimal, octal, and binary values.
- Badge GeneratorBuild a Shields.io badge URL, Markdown snippet, and HTML image tag without memorizing path escapes or query parameters.
Developer Tools guides
View all- Generate UUID in PostgreSQL With gen_random_uuid()
- How to Generate a UUID in Oracle: Functions Compared
- How to Generate UUIDs in JavaScript
- How to Edit an HTML Page Online Without Software
- An HTML Cleaner Alternative Built on the Browser Parser
- Hello World API Alternative for 12 Programming Languages
- Remove Excel Link From PPT Chart: Audit the Workbook
- How to Make Flexbox in HTML: Build a Container Block
- File Signatures List Cheat Sheet: Match Twelve Magic Bytes
- View Excel Online History Without Uploading
- How to Convert Excel to JSON in Python and Locally
- Convert an XLSX Worksheet to an HTML Table Snippet
- Excel Formulas Cheat Sheet Example: 12 Verified Formulas
- Get an Excel Column Total From a Local xlsx File
- How to Generate a Dummy File With Exact Bytes
- How to Get a Directory Tree in Mac Terminal
- Camel Case to Snake Case: Command Line vs Online Tool
- CSV to JSON Command Line vs Online: A Practical Comparison
- Convert CSV to HTML Table for Power Automate: Safer Steps
- How to Convert CSV to Excel Without Losing Data