UUID Generator

    UUID Generator

    Generate unique identifiers (UUIDs)

    About the UUID Generator

    A UUID (Universally Unique Identifier) is a 128-bit value used as a unique identifier without coordination between systems. v4 UUIDs are random (best for opaque IDs); v1 UUIDs are time-based (sortable by creation). This generator produces spec-compliant RFC 4122 v1 and v4 UUIDs using cryptographically secure randomness — many other online tools use Math.random, which is predictable and unsafe for security-sensitive use.

    Features

    How it works

    1. Pick v1 or v4.
    2. Choose how many to generate (1–100).
    3. Click Generate.
    4. Copy a single UUID or copy all at once.

    Use cases

    Frequently asked questions

    What's the difference between v1 and v4?

    +

    v1 encodes a timestamp and machine identifier — it's sortable by creation time but leaks info. v4 is fully random — collision-safe and opaque, the modern default.

    Should I use UUID v7?

    +

    v7 (time-ordered random) is excellent for database primary keys because it indexes efficiently. It's a 2024 RFC addition, increasingly supported — we're adding it in a follow-up release.

    How random is v4?

    +

    We use crypto.getRandomValues (or crypto.randomUUID when available), both backed by OS-level CSPRNGs. Collision probability for 122 random bits is astronomically low.

    Can I generate thousands at once?

    +

    We cap the UI at 100 per batch to keep the page responsive. For higher volumes, call crypto.randomUUID in your own script.

    Are these globally unique?

    +

    For v4, yes — the collision probability is ~1 in 2^122, practically zero. For v1, uniqueness depends on the machine ID + clock sequence; two processes on the same machine could theoretically collide.