Utilo

UUID / ULID Generator

Generate random UUID v4, time-ordered UUID v7 and ULID identifiers in bulk. Copy with one click.

What this UUID generator does

Unique identifiers let distributed systems create records without asking a central database for the next number. This tool generates RFC 9562 UUID version 4 (fully random), UUID version 7 (time-ordered) and ULIDs in bulk, using the browser's cryptographically secure random number generator. You can output uppercase, remove hyphens and copy one ID or the whole list.

How to use it

  1. Choose UUID v4, UUID v7 or ULID.
  2. Drag Count to generate between 1 and 1,000 identifiers.
  3. Toggle Uppercase or Hyphens to match the format your system expects.
  4. Click Generate for a fresh batch, then copy a single ID or use Copy all.

Practical examples

  • Database primary keys: UUID v7 starts with a 48-bit millisecond timestamp, so new rows are appended to the end of a B-tree index instead of being scattered randomly. That keeps inserts fast in PostgreSQL and MySQL.
  • Idempotency keys: send a fresh v4 UUID with each payment request so retries are not charged twice.
  • Test fixtures: generate 500 IDs at once and paste them into a seed file.
  • Human-friendly IDs: a ULID like 01J9Z3K8M2Q7X4V5B6N8P0R2T4 is 26 characters, case-insensitive and sortable by creation time.

Tips and edge cases

  • v4 UUIDs contain 122 random bits. You would need to generate about 2.7 quintillion of them to have a 50% chance of a single collision.
  • v7 and ULID reveal when an ID was created. Avoid them where creation time is sensitive information.
  • IDs generated within the same millisecond are ordered randomly relative to each other in this tool; databases only need approximate ordering.
  • Store UUIDs in a native uuid column (16 bytes) rather than as 36-character text to save space and speed up indexes.
  • Removing hyphens does not change the value; most parsers accept both forms.

Frequently asked questions

Should I use UUID v4 or v7?

Use v7 for database keys and anything that benefits from time ordering. Use v4 when IDs must not leak timing information, such as public tokens.

Are these UUIDs truly unique?

They are unique with overwhelming probability. Randomness comes from crypto.getRandomValues, the same source browsers use for TLS keys.

What is the difference between a ULID and a UUID v7?

Both start with a millisecond timestamp followed by randomness. A ULID uses Crockford Base32 text (26 characters) while a UUID uses hexadecimal with hyphens (36 characters). UUID v7 fits into native UUID database columns.

Can I use a UUID as a password or secret?

A v4 UUID has enough entropy for many tokens, but dedicated secret generators are clearer. Never use v7 or ULID as secrets, because part of their content is predictable.

Yes. All processing happens directly in your browser using JavaScript, Web Workers and Web APIs. Nothing you type, paste or upload is sent to our servers.