Learn about UUIDs & GUIDs

Plain-English guides to how unique identifiers work, the standards behind them, and how to pick the right version for your project.

Basics

What is a UUID?

An introduction to UUIDs: what they are, why they exist, and where you'll encounter them in everyday software.

Basics

UUID vs GUID: What's the Difference?

UUID and GUID describe the same 128-bit identifier - here's where the naming difference comes from and whether it matters.

Standard

RFC 4122 Explained

A breakdown of the IETF standard that defines UUID structure, versions, and variants - and how RFC 9562 supersedes it.

Comparison

UUID v4 vs v7: Which Should You Use?

Random vs sortable identifiers - how each version is built, and which one fits your database schema.

Reference

UUID Format & Size Explained

The anatomy of a UUID string, its 128-bit storage size, and the real-world odds of a collision.