Random Generators

UUIDs, passwords, QR codes, barcodes and random sequences. Generation is easy; picking the right variant is not. UUID v4 and v7 have different index behaviour in a database, and a QR code that scans fine on screen can still fail on paper.

Everything is generated locally with a cryptographically secure random source where it matters.

Guides in this category

Common questions

UUID v4 or v7 for a primary key?

v7 if the key is a clustered index — it is time-ordered, so inserts append instead of scattering. v4 if you need unpredictability.