UUID Generator

Generate RFC 4122 version 4 UUIDs instantly. Uses the browser's cryptographic random generator for maximum security.

UUID v4 vs the alternatives

This tool generates UUID v4 (random). Other identifiers trade uniqueness guarantees for sortability or length.

IdentifierMakeupSortableBest for
UUID v4122 random bitsNoUnique IDs with no coordination service
UUID v7Unix timestamp prefix + random bitsYes (time-ordered)Database primary keys where index locality matters
NanoID21-char URL-safe stringNoShorter IDs when storage or URL space is tight

About UUIDs

What is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit number used to uniquely identify information in computer systems. It is typically shown as 32 hexadecimal digits separated by hyphens, e.g. 550e8400-e29b-41d4-a716-446655440000.

What is UUID version 4?

Version 4 UUIDs are randomly generated. The randomness makes collisions extremely unlikely — about 1 in 2.71 × 10^36 even after generating 103 trillion UUIDs.

Is this generator cryptographically secure?

Yes. It uses the browser's crypto.getRandomValues() API when available, falling back to crypto.randomUUID() on modern browsers. The output is suitable for session tokens, IDs, and other security-sensitive uses.

How many UUIDs can I generate at once?

Up to 1000 at a time. Each generation is independent and the chance of any duplicates is effectively zero.