What Is a UUID

Understand UUIDs and why they're used in software.

A UUID (Universally Unique Identifier) is a 128-bit identifier.

Format

8-4-4-4-12 hex digits: 123e4567-e89b-12d3-a456-426614174000.

Versions

v1 (time-based), v4 (random), v5 (namespace).

Why Use UUIDs?

They're unique without coordination — perfect for distributed systems.

Generate Instantly

Use a browser-based tool — no data sent anywhere.

FAQ

Can two UUIDs collide?

Practically impossible for v4 (1 in 2^122).

Are UUIDs sortable?

Not naturally — use ULID if you need sortable IDs.