ULID & NanoID Generator
Guide: UUID, ULID and NanoID: Which Unique ID Should You Use?
Nothing you enter or choose here leaves your device. This tool runs in your browser.
How to use
- 1Choose ULID or NanoID.
- 2Set how many and, for NanoID, the length and characters.
- 3Copy your IDs.
Frequently asked questions
Are the IDs secure?
They use your browser's secure random generator, the same one used for encryption keys.
What is a ULID?
A 26 character ID that starts with the time, so IDs sort in the order they were made.
What is a NanoID?
A short random ID. The default is 21 characters from letters, numbers, _ and -.
Can I use my own characters?
Yes. Type the characters you want in the NanoID box.
Are the IDs sent anywhere?
No. Everything runs in your browser, so what you paste never leaves your device.
Read the guide
Learn how this works and how to get the most from it.
Developer
UUID, ULID and NanoID: Which Unique ID Should You Use?
How UUID v4, UUID v7, ULID and NanoID differ, why sortable IDs help databases, and how to pick the right one for your project.
1 min read
Related tools
UUID & Random Number Generator
Generate secure UUIDs (v4, v7) and random numbers.
Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes and HMACs.
Password Generator
Create strong random passwords or passphrases, one or many at a time.
Base32 Encoder / Decoder
Encode and decode Base32, including hex and Crockford.