Skip to content
ErgaLab
Generators

UUID Generator

Generate cryptographically random version-4 UUIDs, one or many at a time, with optional uppercase and hyphen-free formatting.

Options

Generated UUIDs

5d5ce02e-d473-4473-add1-e44d2514ead2
53bddb70-6169-48b8-9e15-28c09d11c1be
67c6a4bf-b694-4dc8-990c-355d4a5e5ebd
90768776-3483-4572-82c1-63ea0327a8e0
3173a650-18c9-4c13-ab5d-6233f2594b9e

How it works

A UUID (Universally Unique Identifier) is a 128-bit value almost certain never to collide with another one, even when generated independently across many systems. Version 4 UUIDs — the most common kind — are built entirely from random bits, with a few fixed bits marking the version and variant.

Randomness comes from crypto.getRandomValues, the browser's cryptographically secure random number generator — the same source used for generating encryption keys, not Math.random().

Examples

Standard format

Lowercase with hyphens.

f47ac10b-58cc-4372-a567-0e02b2c3d479

No hyphens

Useful for compact identifiers.

f47ac10b58cc4372a5670e02b2c3d479

Uppercase

Some systems expect uppercase.

F47AC10B-58CC-4372-A567-0E02B2C3D479

Frequently asked questions