Skip to content

UUID generator. Random IDs, made on your device.

ID type
Format

Generated locally with crypto.getRandomValues, nothing leaves your browser.

0 items No server
§ · written guide

How to use the UUID Generator

This generator makes unique IDs in bulk: random UUID v4 values, the all zero NIL UUID, and ULIDs that sort by creation time. Random values come from your browser's Web Crypto API rather than Math.random. It is for developers who need IDs for database rows, test fixtures, config files or API keys in a hurry.

Step by step

  1. Pick an ID type

    Under ID type, choose UUID v4 for random IDs, NIL UUID for the all zero placeholder, or ULID for time sortable IDs. Picking a type makes a new batch straight away. The page opens with 5 UUID v4 values already made.

  2. Set how many you need

    Type a number in How many, from 1 to 100. The default is 5. A number above 100 is cut to 100, and anything below 1 becomes 1.

  3. Choose the format

    Under Format, tick Uppercase for capital letters, untick Hyphens to get one unbroken 32 character string, or tick Wrap in braces to add curly brackets around each value. Hyphens is on by default. These options are grayed out for ULID, which is always uppercase with no hyphens.

  4. Generate

    Press Generate to make a fresh batch. Every press, and every change to a format option, replaces the whole list with new values.

  5. Copy or download

    Press Copy beside one ID to copy just that one, Copy all to copy the whole list with one ID per line, or Download .txt to save it as uuids.txt or ulids.txt.

Reading the result

  • The line above the list shows the count and type, for example 5 items and UUID v4. Each row is numbered so you can refer to it.
  • A UUID v4 has 36 characters in groups of 8, 4, 4, 4 and 12. The first digit of the third group is always 4, which marks the version, and the first digit of the fourth group is always 8, 9, a or b.
  • The NIL UUID is 00000000-0000-0000-0000-000000000000 every time. Asking for several just repeats it.
  • A ULID has 26 characters. The first 10 encode the time it was made, down to the millisecond, and the last 16 are random, so ULIDs made later sort after earlier ones.

Tips and common mistakes

  • Changing Uppercase, Hyphens or Wrap in braces makes a brand new batch rather than reformatting the old one. Copy anything you need before you change an option.
  • ULIDs from the same batch are usually made in the same millisecond and share their first 10 characters, so their order inside one batch is random.
  • Use Wrap in braces for tools that expect GUIDs written as {value}, such as some .NET and Windows registry settings.
  • Use the NIL UUID only as a placeholder or default value, never as a real ID, since it is the same everywhere.

Privacy and limits

Every ID is made in your browser with crypto.getRandomValues or crypto.randomUUID, and nothing is sent to a server. Nothing is saved either, so the list is gone when you reload. The tool would fall back to Math.random only in a very old browser with no Web Crypto support.

Back to the tool

§ 02 · what you can do

Every kind of ID you'll need.

Cryptographic UUID v4128-bit random identifiers drawn from the browser's Web Crypto API, real entropy, not Math.random.
Sortable ULIDs26-character IDs with a 48-bit timestamp prefix, lexicographically sortable and ideal for ordered database keys.
NIL UUIDsThe all-zero placeholder 00000000-… for testing, defaults and schema validation.
Bulk up to 100Generate a batch in one click, then copy them all or grab individual IDs with the per-row copy button.
Flexible formattingToggle uppercase, strip hyphens, or wrap each value in braces { } for C# GUIDs and configs.
Download as .txtExport the whole batch to a plain-text file for scripts, fixtures and database seeds, no upload, ever.
§ 04 · faq

Frequently asked questions.

Is the UUID Generator free?
Yes, completely free for everyone. No sign-up, no account and no usage limits.
Are the UUIDs really random and safe to use?
Yes. UUID v4 values use the browser's Web Crypto API (crypto.randomUUID or crypto.getRandomValues), which is cryptographically strong, not the weaker Math.random. Version and variant bits are set per RFC 4122.
Is it private? Is anything uploaded?
No upload, ever. Every ID is generated in your browser on your own device, nothing is sent to a server, so it's safe for keys you don't want leaving your machine.
What's the difference between a UUID and a ULID?
A UUID v4 is 128 bits of pure randomness with no ordering. A ULID is a 26-character Crockford base32 string with a 48-bit timestamp prefix, so ULIDs sort chronologically, handy as ordered primary keys where UUID v4 would scatter your index.
Why don't the format options apply to ULIDs?
A ULID is defined as uppercase Crockford base32 with no hyphens, so uppercase, hyphen and brace toggles would break the format. The tool dims those options while ULID is selected. Uppercase, hyphens and braces apply to UUID v4 and NIL UUIDs.
Does it work offline?
Yes, once the page has loaded, generating, copying and downloading all keep working without a connection, because every bit of logic runs locally in your browser.

Published · Last updated .

Priya sent you a message Online now

Talk to a Developer Now

Share your name and email to reply.

Reply