Skip to content

UUID v4 generator

Generate version 4 UUIDs, random and with a practically negligible collision probability, ready to use as primary keys or unique identifiers.

Processed on your device. Nothing is sent to any server.

Uses crypto.randomUUID() when available, or a fallback based on crypto.getRandomValues() that follows the UUID v4 format (correct version and variant bits).

Use cases

  • Generating unique identifiers for development testing.
  • Creating primary keys for a database.
  • Uniquely naming temporary resources.

How it works

  1. 1

    Choose how many you need

    Set the number of UUIDs to generate (up to 100).

  2. 2

    Copy the list

    Copy all the generated UUIDs at once.

Technical details

  • It generates 1 to 100 UUIDs at a time, lower case, in the standard 36-character format (8-4-4-4-12).
  • They're version 4 UUIDs: 122 random bits plus the bits marking version and variant. They contain no timestamp or device information.
  • If your database indexes by creation order, consider UUID v7 (time-sortable), which this tool doesn't generate.

Frequently asked questions

How likely is a UUID v4 collision?

Practically negligible: with 122 random bits, it would take billions of UUIDs generated per second for years to have a meaningful collision probability.

← Generators