UUID Generator
Generate random (v4) or time-based (v1) UUIDs instantly.
Configuration
What is a UUID?
A UUID (Universally Unique Identifier), sometimes called a GUID, is a 128-bit value typically rendered as a 36-character string of hexadecimal digits separated by hyphens — for example 550e8400-e29b-41d4-a716-446655440000. UUIDs are designed to be unique without coordination between the systems that generate them, which makes them perfect for primary keys in distributed databases, message identifiers in event streams, idempotency tokens in REST APIs, and stable identifiers for user-uploaded files.
This generator supports two of the most common variants. Version 4 UUIDs are derived from cryptographically random bytes, giving you 122 bits of entropy and a vanishingly small chance of collision even at internet scale. Version 1 UUIDs encode the current timestamp and the MAC address of the generating machine, which makes them sortable by creation time but reveals more about their origin. Pick v4 for opaque identifiers and v1 when chronological ordering matters more than secrecy.
How to use
- Choose between Version 4 (random) and Version 1 (time-based).
- Set how many UUIDs you need — anywhere from 1 to 50 in a single batch.
- Press Generate. The results appear instantly because everything happens in your browser.
- Hover any individual UUID to copy it, or use Copy All to grab the entire batch as a newline-separated list.
Common use cases
- Primary keys for new database tables where auto-incrementing integers leak record counts.
- Idempotency keys for safe retries of REST and gRPC requests.
- Tracing IDs propagated across microservices for distributed debugging.
- Filenames for user uploads to avoid collisions and path traversal attacks.
- Anonymous device identifiers in analytics pipelines.
Frequently asked questions
Are these UUIDs cryptographically secure?
Can two random v4 UUIDs ever collide?
When should I use v1 instead of v4?
What about v6, v7 and v8?
Advertisement