Tool

UUID Generator

Generate RFC 9562 version 4 (random) or version 7 (time-ordered) UUIDs.

Try it

This tool runs entirely in your browser. Nothing you type or paste is sent anywhere.

Reproducible output for tests and documentation only; leave blank for secure randomness.

48-bit Unix epoch milliseconds; blank uses the current time.

Version
v4
Count
2
Identifiers
f5df5da1-e78a-4d48-bbeb-fba8b6696130 d7ed081f-7907-495d-b479-fe8c22365ef2
f5df5da1-e78a-4d48-bbeb-fba8b6696130
d7ed081f-7907-495d-b479-fe8c22365ef2

Generated 2 version 4 UUID(s).

How it works

Usage

  1. Choose version 4 for purely random identifiers or version 7 for sortable, time-ordered ones.
  2. Choose how many identifiers to generate (1 to 100).
  3. Copy the results.

Examples

Two reproducible v4 UUIDs

{
  "version": "v4",
  "count": 2,
  "seed": "example"
}

Time-ordered v7

{
  "version": "v7",
  "count": 1,
  "seed": "example",
  "timestamp": 1735689600000
}

Limitations

What a UUID actually guarantees

A UUID is an identifier, not a secret. Version 4 carries 122 random bits and version 7 carries a timestamp plus random bits; both are designed to be unique, not unguessable.

Frequently asked questions

Which version should I use?
Use v7 for new database keys because it sorts by creation time and reduces index fragmentation; use v4 when ordering does not matter.
Are generated identifiers sent anywhere?
No. Generation happens locally with the platform random source.

Sources

  1. RFC 9562: Universally Unique IDentifiers (UUIDs) — IETF