Tools / UUID Generator

UUID Generator — v1, v4 & v7

Generate Universally Unique Identifiers instantly. Choose version, set quantity, and copy. 100% client-side — nothing sent to any server.

Generated UUIDs

0 UUIDs

UUID Validator

UUID Generator — Complete Guide

A UUID (Universally Unique Identifier) is a 128-bit standard used across virtually every major software system to uniquely identify records, sessions, files, and API resources without requiring a central authority. Our free online UUID generator supports all three major versions — v1, v4, and v7 — and lets you generate up to 100 UUIDs in a single click, entirely within your browser.

When to Use UUID v4 vs v7

UUID v4 (random) is the default choice for session tokens, API keys, file names, and any identifier where sortability is not required. It has 122 bits of entropy, making collisions essentially impossible in practice.

UUID v7 (sortable) is the recommended choice for database primary keys in 2024 and beyond. Its millisecond-precision timestamp prefix means rows are always inserted in order, which eliminates B-tree index fragmentation in PostgreSQL, MySQL, and SQLite. UUID v7 was standardized in RFC 9562 (May 2024) and is now supported natively in many ORMs and databases.

UUID Format

All UUID versions share the same 8-4-4-4-12 hexadecimal format: xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx where M encodes the version (1, 4, or 7) and N encodes the variant (8, 9, a, or b for RFC 4122 compliant UUIDs).