Skip to content
Devtoolry

UUID Generator

Generate UUID v4 and time-ordered UUID v7 identifiers in bulk, with formatting options.

About the UUID Generator

The UUID Generator creates random version 4 UUIDs and time-ordered version 7 UUIDs in bulk. Version 7 sorts by creation time, which keeps database indexes efficient.

Everything is generated in your browser; nothing you enter is uploaded, and anything random comes from a cryptographically secure source.

How to use the UUID Generator

  1. Choose UUID v4 or v7 and how many to generate.
  2. Pick the format: upper or lower case, with or without hyphens, and optional braces.
  3. Copy the list.

Frequently asked questions

v4 or v7?

Use v7 for database primary keys, because new values sort after older ones. Use v4 when the creation time should not be visible.

Can two UUIDs collide?

In practice, no. A v4 UUID has 122 random bits, so the chance of a collision is negligible.