UUID Generator
Generate UUID v4 (random) and v7 (time-sortable) identifiers.
What is a UUID?
A UUID (Universally Unique Identifier) is a 128-bit identifier standardized by RFC 9562. UUIDs are used as primary keys in databases, distributed system identifiers, API keys, session tokens, and anywhere a globally unique ID is needed without central coordination.
UUID v4 vs UUID v7
UUID v4 is randomly generated with 122 bits of randomness. It's the most widely used version and works great when ordering doesn't matter.
UUID v7 (RFC 9562, 2024) embeds a Unix millisecond timestamp in the first 48 bits. This makes UUIDs time-sortable — ideal for database primary keys because they preserve insertion order, improving B-tree index performance.
Common Use Cases
- Database primary keys (PostgreSQL, MySQL, MongoDB)
- Distributed system identifiers
- API request and session tracking
- File naming and deduplication
- Message queue identifiers (Kafka, RabbitMQ)
Features
- UUID v4 (random) and v7 (time-sortable) support
- Bulk generation — up to 100 UUIDs at once
- Options for uppercase and dash-free formats
- Timestamp extraction from UUID v7
- 100% client-side — your data never leaves your browser