UUID Generator
Generate random UUIDs (v4) or timestamp-based UUIDs (v1-style). Generate multiple at once, copy individually or all.
A-F instead of a-f
Include dashes
UUID v4 generates random UUIDs using cryptographically secure random numbers. Each UUID has 122 random bits, making collisions virtually impossible.
What is a UUID?
A UUID (Universally Unique Identifier), also known as a GUID (Globally Unique Identifier), is a 128-bit identifier that is practically guaranteed to be unique across all space and time. UUIDs are commonly used in databases, distributed systems, and anywhere you need a unique identifier without a central authority.
UUID Versions
- UUID v4 (Random): Generated using cryptographically secure random numbers. This is the most commonly used version. Each v4 UUID has 122 random bits, making the probability of collision negligible.
- UUID v1 (Timestamp): Based on the current timestamp and typically includes a MAC address. Our implementation uses random node IDs for privacy. Useful when you need time-ordered identifiers.
UUID Format
A standard UUID is displayed as 32 hexadecimal digits in five groups separated by hyphens:
xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx
Where M indicates the version (1-5) and N indicates the variant.
Common Use Cases
- Database Primary Keys: UUIDs are ideal for distributed databases where multiple nodes need to generate IDs independently
- Session Identifiers: Unique tokens for user sessions in web applications
- File Names: Generate unique names for uploaded files to prevent collisions
- Transaction IDs: Track individual transactions across microservices
- API Request Tracing: Correlate logs and requests across distributed systems
- Device Identifiers: Assign unique IDs to IoT devices or mobile apps
Privacy and Security
All UUIDs are generated entirely in your browser using the Web Crypto API. No data is sent to any server. Your generated UUIDs are private and secure.