Skip to content
🆔

UUID Generator

Generate random UUID v4 identifiers instantly.

Runs in your browser

Updated

Version 4 identifiers

Every UUID follows the version 4 layout: 32 hexadecimal digits in five groups, with the 13th digit fixed at 4 and the 17th restricted to 8, 9, a or b. That structure is what makes the value recognisable to databases and validators.

Batch sizes

Generate 1, 5, 10, 25 or 50 at once. Output is lowercase, one per line, in a read-only box with a copy button. The page also produces one UUID on load.

Where the randomness comes from

Values come from the browser's cryptographic random number generator: the built-in UUID function where the browser has one, otherwise 16 random bytes with the version and variant bits set. Nothing is derived from the clock, a counter or a seeded pseudo-random sequence, so the order in which values are generated says nothing about the values themselves. Database keys, fixtures, trace IDs and test data are all reasonable uses; for API secrets and password reset tokens, the secure token generator and the hash generator give you control over length and encoding.

A worked example

The value 550e8400-e29b-41d4-a716-446655440000 follows the pattern: the 13th digit is 4 and the 17th is a, so it is a valid version 4 value. Regenerating changes every character except those two structural positions.

Where it stops

  • Version 4 only. No time-based v1, name-based v3 or v5, or sortable v7.
  • No uppercase, braces or hyphen-free formatting options.
  • Maximum 50 per click, with no duplicate check inside a batch.

Questions people ask

Can two generated UUIDs collide?

Only with probability around one in 2^122, so practically never.

Which version should a database use?

v4 is the common default. If index locality matters, v7 is better, but it is not offered here.