
Nano ID generator
Generate short, URL-friendly random IDs with a length and alphabet of your choice.
Runs in your browser. Pasted data never leaves it.
Look inside an ID
How to use it
- Choose the type, how many, and any formatting options.
- Press Generate. Press it again for a fresh batch.
- Copy all, or download as a text file.
- To check an ID you already have, paste it into “Look inside an ID”.
Questions
Which UUID version should I use?
Use v4 when you just need a random, unguessable ID. Use v7 for database keys: it starts with a millisecond timestamp, so new IDs sort in creation order, which keeps database indexes fast. v1 also contains a time but with a random node ID here (never your MAC address). The nil and max UUIDs are fixed special values.
Are these IDs really random?
They come from your browser's crypto.getRandomValues(), the same cryptographically secure source used for keys, not Math.random(). A v4 UUID has 122 random bits, so collisions are practically impossible.
What is a ULID, and how is it different?
A ULID is 128 bits like a UUID, written as 26 Crockford Base32 characters: the first 10 are a millisecond timestamp, the last 16 random. It sorts alphabetically in time order and is URL-safe. When you generate several in the same millisecond, this page increments the random part so they stay in order (monotonic).
What is a Nano ID?
A short, URL-friendly random ID (21 characters by default, from A-Za-z0-9_-). You can change the length and alphabet. This page generates them without modulo bias, as the original library does.
Can I tell when an ID was created?
For v1, v6, v7 and ULID, yes: paste one in the “Look inside” box and the time is shown. v4 and Nano IDs contain no time.
Is what I paste or test sent anywhere?
No. This page works entirely inside your browser, and pasted data never leaves your device. It makes no network requests while you use it, and the page also tells your browser to block them (a Content-Security-Policy with connect-src 'none'), so even a bug could not send your data out. To check it yourself, open your browser's developer tools, go to the Network tab, and use the tool: nothing will appear. There is no account, no analytics and no logging.
