🆔 UUID Generator

UUID generator tool supporting multiple versions and formats for unique identifier generation.

⚡ Quick Generate

🔧 UUID Configuration

Version 4 (Random): Generated using random or pseudo-random numbers. Most commonly used version.

✅ UUID Validator

🔍 UUID Analyzer

📦 Bulk Operations

📚 UUID Reference

UUID Versions: Version 1 (Timestamp + MAC): • Based on timestamp and MAC address • Guarantees uniqueness across space and time • Can reveal MAC address (privacy concern) • Format: xxxxxxxx-xxxx-1xxx-xxxx-xxxxxxxxxxxx Version 2 (DCE Security): • Similar to Version 1 but with local domain • Rarely used in practice • Format: xxxxxxxx-xxxx-2xxx-xxxx-xxxxxxxxxxxx Version 3 (MD5 Hash): • Based on MD5 hash of namespace and name • Deterministic (same input = same UUID) • Uses MD5 (considered weak) • Format: xxxxxxxx-xxxx-3xxx-xxxx-xxxxxxxxxxxx Version 4 (Random): • Based on random or pseudo-random numbers • Most commonly used version • 122 bits of randomness • Format: xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx Version 5 (SHA-1 Hash): • Based on SHA-1 hash of namespace and name • Deterministic (same input = same UUID) • Uses SHA-1 (stronger than MD5) • Format: xxxxxxxx-xxxx-5xxx-xxxx-xxxxxxxxxxxx Version 6 (Reordered Time): • Proposed improvement over Version 1 • Better database indexing properties • Not yet standardized Version 7 (Unix Timestamp): • Proposed time-based UUID • Uses Unix timestamp • Better sortability
UUID Formats: Standard Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Example: 550e8400-e29b-41d4-a716-446655440000 Compact Format (No Hyphens): xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Example: 550e8400e29b41d4a716446655440000 Uppercase Format: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX Example: 550E8400-E29B-41D4-A716-446655440000 Braces Format: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} Example: {550e8400-e29b-41d4-a716-446655440000} URN Format: urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Example: urn:uuid:550e8400-e29b-41d4-a716-446655440000 Microsoft GUID Format: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} Example: {550E8400-E29B-41D4-A716-446655440000} Base64 Format (Custom): Base64 encoded binary representation Example: VQ6EAOKbQdSnFkRmVUQAAA== Hex Array Format: [0x550e8400, 0xe29b, 0x41d4, 0xa7, 0x16, 0x44, 0x66, 0x55, 0x44, 0x00, 0x00]
UUID Examples and Use Cases: Database Primary Keys: CREATE TABLE users ( id UUID PRIMARY KEY DEFAULT gen_random_uuid(), name VARCHAR(255), email VARCHAR(255) ); JavaScript/Node.js: const { v4: uuidv4 } = require('uuid'); const id = uuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d' Python: import uuid id = uuid.uuid4() # UUID('9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d') Java: import java.util.UUID; UUID id = UUID.randomUUID(); C#: Guid id = Guid.NewGuid(); REST API: GET /api/users/550e8400-e29b-41d4-a716-446655440000 POST /api/orders { "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", "userId": "550e8400-e29b-41d4-a716-446655440000" } File Names: temp_550e8400-e29b-41d4-a716-446655440000.pdf session_6ba7b810-9dad-11d1-80b4-00c04fd430c8.json Message IDs: X-Message-ID: 550e8400-e29b-41d4-a716-446655440000 Correlation-ID: 6ba7b810-9dad-11d1-80b4-00c04fd430c8 Common Namespaces: DNS: 6ba7b810-9dad-11d1-80b4-00c04fd430c8 URL: 6ba7b811-9dad-11d1-80b4-00c04fd430c8 OID: 6ba7b812-9dad-11d1-80b4-00c04fd430c8 X.500: 6ba7b814-9dad-11d1-80b4-00c04fd430c8

💰 Support Development

This toolkit is 100% free. If it helped you, consider donating in USDT to support future development.

USDT (TRC20):
TACpbL6iRczHYzE4sJCKfHB3Npw8NoQv37
Donation QR Code