Skip to content
Kural

UUID generator

Secure UUID v4 and v7 in bulk, plus a UUID validator.

Version

A UUID is a 128-bit identifier like 3f2b8c1e-9d4a-4e7b-a1c2-5f6e7d8c9b0a. Any machine can generate one without asking a central server and it will still be unique, which is why they are used for database keys, request ids and file names.

v4 is fully random and the usual default. v7 (RFC 9562) begins with a millisecond timestamp, so newer ids sort after older ones. B-tree indexes stay compact that way, and v7 is now the recommended choice for primary keys. The random bits come from the browser’s secure generator: crypto.randomUUID for v4, crypto.getRandomValues for v7.

How to use

  1. Pick v4 or v7 and how many you need (up to 1000).
  2. Set the format: uppercase, with or without hyphens, in braces (as in C#/.NET).
  3. Copy the list or download it as a text file. Press Generate for a fresh batch.
  4. Paste any UUID into Check a UUID to see its version and, for v1/v7, when it was created.

Frequently asked questions

Can two UUIDs be the same?

In practice, no. A v4 UUID has 122 random bits; you would need to generate billions per second for many years to get a realistic chance of a collision.

UUID or GUID?

They are the same thing. GUID is Microsoft’s name for UUID; .NET often writes it in braces and uppercase.

When should I use UUID v7?

When the ids are database primary keys or need to be sorted by creation time. For tokens that must not reveal when they were created, use v4.