Generate globally unique identifiers for databases, APIs, and software development
Total Generated
0
Unique
0
Duplicates
0
Generation Time
0ms
Click the Generate button to create random GUIDs
A GUID (Globally Unique Identifier) is a 128-bit integer used as a unique identifier in software development. The probability of generating duplicate GUIDs is so low that they are considered practically unique across all space and time.
The most common version. All bits except the version and variant are randomly generated. Provides approximately 122 bits of entropy, making collisions astronomically unlikely.
Example: 550e8400-e29b-41d4-a716-446655440000
Combines timestamp with node information (usually MAC address). Sortable by creation time, useful for database indexing and chronological ordering.
Example: c7b7d5b0-5a1a-11ec-90d6-0242ac120003
Uses the browser's Crypto API for true randomness. Essential for security-sensitive applications like session tokens, API keys, and password salts.
Source: window.crypto.getRandomValues()
The special "zero" UUID (all bits set to 0). Used as a placeholder, null value, or to indicate "no UUID" in databases and protocols.
Format: 00000000-0000-0000-0000-000000000000
Use GUIDs as primary keys to avoid ID conflicts when merging databases or working in distributed systems.
Generate secure, unpredictable tokens for API authentication and session management.
Assign unique IDs to files, documents, and assets in content management systems.
Create identifiers that remain unique across multiple servers without coordination.
Generate unique order IDs that don't reveal business information or order volume.
Identify devices, installations, or user sessions in mobile and web applications.
| Property | Value | Description |
|---|---|---|
| Size | 128 bits (16 bytes) | Fixed length across all versions |
| String Format | 32 hex digits + 4 hyphens | 8-4-4-4-12 grouping |
| Total Combinations | 2ยนยฒโธ (3.4 ร 10ยณโธ) | More than atoms in the universe |
| Variant Bits | 2 bits (position 8) | Indicates layout variant (usually 10xx) |
| Version Bits | 4 bits (position 6) | Identifies generation method (v1-v5) |
The probability of generating duplicate UUID v4 is extremely low. Here's what that means in practical terms:
For security-critical applications (API keys, session tokens, password salts), use the Secure (Crypto) version. It uses the browser's cryptographically secure random number generator, which is designed to be unpredictable and suitable for security purposes.