UUID Generator

Bulk generate UUIDs (Universally Unique Identifiers) locally.

UUID Version

Uses cryptographically secure random numbers.

Generated UUIDs (0)

All UUIDs are generated locally in your browser; nothing is sent to any server.

Format
Representation

What is a UUID?

A UUID is a 128-bit identifier that is unique across both space and time. The format is standardized by RFC 4122 and RFC 9562, consisting of 32 hexadecimal digits displayed in five groups separated by hyphens.

Features

Best Practices

  1. Choose the Right Version:

    • Use v4 for most general purposes (random, secure, no dependencies)
    • Use v7 for database primary keys (time-ordered, better indexing, recommended for new apps)
    • Use v6 for sortable UUIDs when you need MAC address tracking
    • Use v5 for deterministic IDs (same input = same UUID, use over v3)
    • Use v3 only for legacy compatibility (prefer v5)
    • Avoid v1 unless you need time-ordering and accept MAC address exposure
  2. Database Storage: Store as binary (128 bits) rather than string (288 bits) for better performance

  3. Indexing: v7 provides the best database index performance due to improved time-ordering

  4. Security: Don’t use UUIDs as security tokens or secrets - they’re identifiers, not authentication

  5. Performance: Use native crypto.randomUUID() for v4 when possible - it’s faster than libraries

Learn More

For a deeper understanding of UUIDs, their structure, and different versions, check out our UUID Guide.

References