Skip to content
GigAI Tools

UUID Generator, v4, v7 & Nil

Cryptographically-secure, RFC 9562-compliant UUIDs generated locally. Pick a version, generate one or a thousand, and copy or export in a click.

100% browser processingFree · no sign-up
Loading tool…

What is the uuid generator?

The UUID Generator produces cryptographically secure, RFC 9562-compliant identifiers, random v4, time-ordered v7, or the nil UUID. Generate one or up to 1,000 at once and copy or export as TXT or CSV. Free and fully in-browser, every UUID is created locally with nothing uploaded.

The GigAI UUID Generator produces universally unique identifiers on demand, the random version 4 that powers most databases and APIs, the newer time-ordered version 7 that sorts by creation time for far friendlier database indexes, and the canonical nil UUID for placeholders and defaults. Generate a single value or up to 1,000 at once, switch to uppercase, strip the hyphens for compact storage, then copy them all or export a clean TXT or CSV file. Every UUID is created inside your browser using the Web Crypto API (`crypto.randomUUID` and `getRandomValues`), so the values are cryptographically random and never travel to a server. They are yours the instant they appear.

Difficulty:
Easy
Typical time:
~15s
Processing:
100% browser processing

Last updated

How to use the uuid generator

  1. 1

    Choose a version

    Pick v4 for random identifiers, v7 for time-ordered database keys, or nil for the all-zero placeholder. A sample is generated the moment the page opens.

  2. 2

    Set the count

    Leave it at 1 for a single value, or use the stepper to generate up to 1,000 at once for seeding, testing or migrations.

  3. 3

    Format to taste

    Flip on uppercase for GUID-style casing, or turn off hyphens for a compact 32-character form. The whole batch reformats live.

  4. 4

    Generate & grab

    Hit Generate for a fresh batch, then copy a single row, copy all, or export a TXT or CSV file to use anywhere.

What UUID Generator includes

  • Version 4 (random)

    The universal default: 122 bits of cryptographically-secure randomness from the browser's Web Crypto engine. Collision-proof in practice and supported by every language, database and framework.

  • Version 7 (time-ordered)

    A 48-bit millisecond timestamp followed by random bits, so IDs sort lexically by creation time. Ideal as a primary key, sequential inserts keep B-tree indexes tight and avoid page-split churn.

  • Bulk generation, 1–1,000

    Need a batch for seeding a table or a load test? Set the count with the stepper and get up to a thousand unique identifiers at once, each on its own copyable row.

  • Uppercase & hyphen control

    Toggle uppercase for systems that expect GUID casing, or drop the hyphens for compact 32-character storage. Formatting updates the whole batch live. No regenerating.

  • Copy all or export TXT / CSV

    Copy the entire batch to your clipboard, or download a newline-delimited TXT or a single-column CSV ready to import into a spreadsheet, seed script or database.

  • Session history

    Each regeneration is kept in a scrollable history so you can grab a value you generated a moment ago without losing your current batch.

Why use our uuid generator

Genuinely random & private

Values come from `crypto.randomUUID` and `crypto.getRandomValues` inside your tab. There is no server round-trip, no logging and no way for anyone (including us) to see the IDs you create.

The right version for the job

We explain v4 versus v7 in plain terms so you can pick correctly: v4 for general-purpose uniqueness, v7 when you want database-friendly, time-sortable keys.

Fewer clicks than any competitor

A UUID is already on screen when the page loads. Changing version, count or formatting updates instantly. No 'submit', no page reload, no ads between you and the result.

RFC 9562 compliant

Both the version and variant bits are set exactly as the specification requires, so the identifiers validate against any conforming UUID library or database column type.

Built for the way you work

From quick one-off fixes to daily workflows, see how people put this tool to use.

  • Backend developers

    Primary keys & correlation IDs

    Grab a v7 UUID for a new table's primary key to keep inserts sequential, or a v4 for a request/trace correlation ID that's safe to expose in logs and headers.

  • QA & test engineers

    Seed data & load tests

    Bulk-generate hundreds of unique identifiers, export them as CSV, and feed them straight into fixtures, mock records or a load-testing script.

  • Data & DevOps teams

    Migrations & idempotency keys

    Mint stable identifiers for a migration mapping table, or a batch of idempotency keys for a message queue, reproducibly and without leaving the browser.

  • Frontend & mobile developers

    Client-side entity IDs

    Assign an offline-first record its own ID before it ever reaches the server, so optimistic UI updates and later syncs never collide.

Supported formats

Everything is processed locally in your browser, your files never leave your device.

Input formats
    Output formats
    • UUID v4
    • UUID v7
    • Nil UUID
    • TXT
    • CSV

    Frequently asked questions

    Common problems, solved

    Hit a snag? Here are quick fixes for the issues people run into most.

    • My database rejects the UUID as an invalid format.

      Most UUID column types expect the canonical hyphenated form. Turn the hyphens toggle back on, and turn off uppercase unless your driver specifically accepts it, some strict parsers only accept lowercase.

    • The v7 UUIDs I generated aren't perfectly sorted.

      v7 orders by millisecond, so many IDs created within the same millisecond share a timestamp prefix and their order among each other is random. That's expected and fine for indexing. The ordering is monotonic across milliseconds, not within one.

    • Copy all didn't work.

      Clipboard access needs a secure context and can be blocked by browser permissions. If a copy is refused, use the per-row copy button or the TXT/CSV export instead, which download without needing clipboard access.

    • I asked for more than 1,000 UUIDs.

      The count is capped at 1,000 per batch to keep the page responsive. Generate again for another batch, or export each batch and concatenate the files if you need a larger set.

    Get the most out of it

    • Reach for v7 as a database primary key: its time-ordered prefix keeps index inserts sequential, which is dramatically faster to write than random v4 keys at scale.

    • Prefer a native UUID column type (e.g. PostgreSQL `uuid`) over storing UUIDs as text: it's smaller, indexed better, and validates the format for you.

    • Never use a UUID as a security token on its own. v4 is unguessable but v7 exposes creation time and ordering. For auth, pair the ID with a real secret.

    • Generating seed data? Bulk-create the batch, export as CSV, and import it directly, far faster than pasting one value at a time.

    • Keep hyphens on unless a specific storage format demands otherwise. The canonical form is what most libraries and validators expect by default.

    What's new

    Recent updates and improvements to the uuid generator.

    1. Launched the UUID Generator with v4, v7 and nil support, bulk generation up to 1,000, uppercase and hyphen toggles, per-row copy, copy-all, and TXT/CSV export.

    2. Added session history so you can retrieve previously generated batches, plus keyboard shortcuts and a shortcuts helper.

    3. Formatting (uppercase / hyphens) now updates the current batch live instead of requiring a regenerate.

    Your privacy is built in

    Every UUID is generated locally with the Web Crypto API (`crypto.randomUUID` and `crypto.getRandomValues`) inside your browser tab. Nothing is transmitted to, generated by, or logged on a server, the identifiers exist only on your device until you copy or export them.

    • Runs in your browser
    • No uploads
    • Nothing stored

    Ready to try the uuid generator?

    Free, private and instant. UUID Generator runs right in your browser.