UUID Versions: When to Use Which
v4 is the most common — completely random and simple.
v7 includes a timestamp, useful for sorting by creation time.
Generate unique identifiers (UUID v1, v4, v5, v7) for databases and APIs.
Tip: UUID v7 is recommended for database IDs as they're lexicographically sortable by creation time.
Yes, and all generation happens locally in your browser using crypto.getRandomValues().
v4 for randomness, v7 for time-sorted IDs, v5 for name-based UUIDs.
Yes, bulk generation supports up to 1000 UUIDs in a single click.
v4 is the most common — completely random and simple.
v7 includes a timestamp, useful for sorting by creation time.
122 random bits make collisions astronomically unlikely for v4.
You'll never accidentally generate the same UUID twice in practice.
Paste your input at the top and the result shows up right below. The FAQ and related tutorials are there if you want more.