UUID Generator
Generate UUID v4, v7, and ULID instantly. Validate and parse existing UUIDs.
Generated UUIDs
Click Generate to create UUIDs
UUID Versions and When to Use Each
What is a UUID?
A 128-bit identifier that is globally unique without any central authority (RFC 9562, superseding RFC 4122). Collision probability is negligible, which is why distributed systems generate IDs freely without coordination.
Choosing a version
- v4 (random): the common default β 122 random bits.
- v7 (time-ordered, standardized 2024): starts with a timestamp, so values sort by creation time. Recommended for new database primary keys β much friendlier to B-tree indexes than v4.
- v1 can leak the MAC address and is discouraged for new designs.
Caveat
UUIDs are not security tokens β they guarantee uniqueness, not unpredictability. Use dedicated CSPRNG tokens for sessions and API keys.
Frequently Asked Questions
Related Tools
Sources & References
Content last reviewed: 2026-08-22