passgen
Developer

Unique IDs, instantly.

Generate up to 1,000 UUIDs at once — random v4 or sortable v7.

Version
Result

How it works

Version 4 UUIDs are 122 random bits from your browser's secure random generator. Version 7 UUIDs start with a 48-bit millisecond timestamp followed by random bits, so they sort by creation time — handy as database keys.

FAQ

Can two UUIDs ever collide?

In theory yes, in practice no: you would need to generate billions of v4 UUIDs per second for many years before a collision became likely.

Should I use v4 or v7?

Use v7 for database primary keys, because time-ordered values index more efficiently. Use v4 when the ID shouldn't reveal when it was created.

More tools

Base64 Encoder / Decoder

Encode or decode Base64 and Base64URL with full Unicode support.

In-browser

JWT Decoder

Read a JSON Web Token's header, payload and expiry.

In-browser

QR Code Generator

QR codes for links, text or Wi-Fi — download as PNG or SVG.

In-browser