# UUID generator

Get a UUID instantly: random version 4, time-ordered version 7 or version 1. Copy one, or make up to 1,000 at once. Made in your browser with its secure random generator.

Page: https://toolkitnow.org/tools/uuid-generator/

A new UUID is made each time the page opens. Copy it, or make more.

## Good to know

### Which version

Version 4 is random and gives nothing away; use it unless you have a reason not to. Version 7 starts with the time in milliseconds, so IDs sort in the order they were made, which keeps database indexes compact (RFC 9562, 2024). Version 1 holds a time and a node ID; here the node ID is random, never your network card's address.

### Reading one

32 hex digits in groups of 8-4-4-4-12. The first digit of the third group is the version (`4` in `…-4f9c-…`); the first digit of the fourth group is 8, 9, a or b.

### Duplicates

A version 4 UUID has 122 random bits. You would need about 2.7 × 10^18 of them for even a 50% chance that two match.

### GUID

Microsoft's name for the same thing, often written in uppercase inside braces: use Options.

### Special values

The nil UUID is all zeros, `00000000-0000-0000-0000-000000000000`; the max UUID is all `f`.

### In code

JavaScript `crypto.randomUUID()`. Python `uuid.uuid4()`, and `uuid.uuid7()` from Python 3.14. PostgreSQL `gen_random_uuid()`, and `uuidv7()` from version 18. Terminal `uuidgen`.

### Open from a link

`?version=v7&count=10` opens the page with ten new version 7 UUIDs; `&upper=1` and `&format=plain`, `braces` or `urn` set the options. Every visit makes new ones.

Runs in the browser; nothing is uploaded. Part of toolkitnow.org.
