Text

UUID Generator

Generate cryptographically random UUID v4 identifiers, one at a time or in bulk, and copy them as a list for fixtures, seeds and tests. Runs in your browser.

LogShare UUID Generator Runs in your browser · nothing is uploaded

Loading tool…

About the UUID Generator

Generate one or many version-4 UUIDs using your browser’s built-in cryptographically secure random number generator — useful for test data, database keys, or placeholder IDs.

How to use the UUID Generator

  1. Choose how many UUIDs to generate.
  2. Click Generate.
  3. Copy a single UUID or all of them at once.

Step-by-step walkthrough with examples and the errors people hit: How to Generate UUID v4 Identifiers.

Example

Generated

(click Generate)
e3b0c442-98fc-4d21-a3a1-1a2b3c4d5e6f

Common errors and how to fix them

I need sortable IDs

v4 UUIDs are random and sort poorly as database keys. Consider UUID v7 or ULIDs, which embed a timestamp, when insert order matters.

More problems and fixes in the tutorial

FAQ

Are these UUIDs cryptographically random?

Yes — they’re generated with the Web Crypto API (crypto.randomUUID), the same secure randomness source browsers use elsewhere.

What version/format is used?

UUID version 4 (random), formatted as the standard 8-4-4-4-12 hyphenated lowercase string.

Can two generated UUIDs collide?

The chance is astronomically small — version 4 UUIDs have 122 random bits, making accidental collisions practically impossible.