CODDY Tool

UUID Generator

Generate UUIDs in bulk — random v4 or time-ordered v7 identifiers.

Create universally unique identifiers one at a time or thousands at once. Supports random v4, time-ordered v7, timestamp-based v1 and deterministic v5 UUIDs, with formatting options for different languages and databases.

Everything you enter stays in this browser tab. Nothing is sent to our servers, logged or stored.

Loading tool…

What UUID Generator supports

Versions

  • UUID v4Random
  • UUID v7Time-ordered
  • UUID v1Timestamp + node
  • UUID v5Deterministic from a name

Output

  • Bulk generationUp to 10,000
  • Uppercase, no hyphens, quoted

About UUID Generator

A UUID is a 128-bit identifier designed to be unique without any central authority issuing it. Any system, anywhere, can generate one and rely on it not colliding with anyone else's. That property is what makes UUIDs the default choice for distributed systems, offline-capable applications and database primary keys that must be assigned before a record reaches the server.

Version 4 UUIDs are almost entirely random — 122 bits of it. The collision probability is so small that generating a billion per second for a century would still leave the odds of a single collision negligible.

Version 7 is newer and often the better choice for database keys. It puts a millisecond timestamp in the high bits, so UUIDs generated later sort after earlier ones. That ordering matters more than it sounds: random v4 keys scatter inserts across a B-tree index, fragmenting it and slowing writes, while sequential v7 keys append cleanly at the end.

How to generate UUIDs

  1. Choose a version

    v4 for pure randomness, v7 when you want identifiers that sort chronologically.

  2. Set the quantity

    Generate one, or up to ten thousand at a time for seeding a database.

  3. Pick a format

    Standard hyphenated, uppercase, without hyphens, or wrapped in quotes and commas ready to paste into code.

  4. Copy or download

    Copy the list to your clipboard or save it as a text file.

v4 or v7?

  • v4 — fully random. Use it for API keys, correlation IDs, file names and anywhere the identifier should reveal nothing.
  • v7 — timestamp-prefixed and sortable. Use it for database primary keys, event IDs and anything that benefits from chronological ordering.
  • Note that v7 leaks its creation time to anyone holding it. That is usually harmless, and occasionally not — avoid it where the timing itself is sensitive.

Why v7 helps databases

Database indexes are trees kept in sorted order. Inserting random values means every new row lands in an unpredictable place, splitting pages and scattering writes across the disk. Insert throughput degrades measurably as the table grows.

Time-ordered keys always append near the end of the index, so pages fill sequentially and stay dense. Teams that switch from v4 to v7 primary keys on write-heavy tables routinely see meaningful improvements in insert performance and index size.

Frequently asked questions

Can two UUIDs ever be the same?

In theory yes, in practice no. A v4 UUID has 122 random bits. You would need to generate roughly 2.7 × 10^18 of them before the chance of any collision reached 50% — about a billion per second for 85 years. The risk is negligible compared to almost any other failure mode in your system.

What is the difference between a UUID and a GUID?

Nothing meaningful. GUID is Microsoft's name for the same 128-bit identifier. The formats are interchangeable, though Microsoft tooling has historically preferred uppercase with braces.

Which version should I use?

v7 for database primary keys, because time ordering keeps indexes efficient. v4 for anything that should reveal nothing about when it was created — API keys, tokens and public identifiers.

Are these UUIDs cryptographically secure?

The random component comes from crypto.getRandomValues, so it is unpredictable. That said, a UUID is an identifier, not a secret — do not use one as a password, session token or access key. Use the Password Generator for secrets.

How many can I generate at once?

Up to 10,000 per batch, which is enough for seeding test data or backfilling a table. Generation is instant and entirely local.

Does a v7 UUID reveal when it was created?

Yes — the first 48 bits are a millisecond timestamp, which anyone can read. That is precisely what makes them sortable. If the creation time is sensitive, use v4 instead.

All Developer Tools

UUID Generator is free to use with no account, no watermark and no usage limits. Last updated 14 August 2026.