Start a project

Tool 46 of 57 · Generators

UUID Generator

Generate up to 1,000 UUIDs at once, random v4 or time-ordered v7, in the format your database or code expects.

UUID Generator at a glanceIllustration: 1, Version and count; 2, processed in your browser; 3, UUIDs.UUID Generator</>1Version and count3UUIDs2In yourbrowser
1 Version and count 2 processed on your device 3 UUIDs

UUID Generator

Generate

Check a UUID

    Your UUIDs

    One per line
    JSON array

    01

    What it does

    Generates v4 and time-ordered v7 UUIDs in bulk, and checks the version and date of any UUID.

    • v4 (random) and v7 (time-ordered)
    • Up to 1,000 at once
    • Lowercase, uppercase, no hyphens, braces or URN
    • Check any UUID's version, variant and v7 time

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    Text and a JSON array, with a Copy and a Download button on every result.

    • UUID
    • GUID
    • Database

    Why it matters

    UUIDs are unique IDs you can make anywhere without asking a database: for records, file names, test data or API keys. Version 4 is purely random; version 7, standardised in 2024, starts with a timestamp, so new IDs sort in order and keep database indexes fast.

    This generator uses your device's secure random generator, so the IDs are as unguessable as UUIDs can be, and nothing is logged anywhere.

    How it works

    1. InputVersion, count and format
    2. In your browserRandom bits from the secure generator (and the time for v7)
    3. OutputUUIDs as text or JSON, and a checker

    Where it fits in a designer's workflow

    1. Plan
    2. Design
    3. Build
    4. Test
    5. Launch
    Seeding databases and test data.

    By the numbers

    What the 128 bits of a UUID holdv4: random bits: 122 bits; v4: version and variant: 6 bits; v7: Unix time in ms: 48 bits; v7: random bits: 74 bits; v7: version and variant: 6 bitsv4: random bits122 bitsv4: version and variant6 bitsv7: Unix time in ms48 bitsv7: random bits74 bitsv7: version and variant6 bits
    From the UUID standard (RFC 9562). v4 is almost all random; v7 starts with the time, so new IDs sort after old ones and keep database indexes compact, and 74 random bits still make collisions vanishingly unlikely. Source: RFC 9562: UUIDs.
    Show the numbers as a table
    VersionRandom bitsTime bitsFixed bits
    v412206
    v774486

    How to use it

    1. Choose v4 or v7 and how many.
    2. Pick the letter case and format.
    3. Press Generate new for a fresh batch.
    4. Copy or download the list.

    FAQ

    v4 or v7?

    v7 for database keys, because time-ordered IDs keep indexes compact. v4 when you don't want the creation time to be visible.

    Can two UUIDs ever be the same?

    In theory, but with 122 random bits for v4 the odds are astronomically small.

    Is a GUID the same thing?

    Yes. GUID is Microsoft's name for a UUID; they're often written in braces.

    Should I use UUIDs as passwords or secret tokens?

    No. Use a purpose-made token from the Password Generator instead.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk