Diese Seite ist noch nicht auf Deutsch verfügbar, daher zeigen wir die englische Version.

Nano ID Generator — Short, URL-Safe Unique IDs

Make short, random, URL-safe IDs like V1StGXR8_Z5jdHi6B-myT — the same format as the popular nanoid library. Choose the length and alphabet, add a prefix, and check the collision calculator to be sure your IDs are long enough.

Aktualisiert am
ULIDs

Decode a ULID

Deine Daten verlassen nie deinen Computer. Die Verarbeitung erfolgt zu 100 % lokal im Browser.

So nutzt du: Nano ID Generator

  1. The page starts in Nano ID mode with the default 21 URL-safe characters.
  2. Pick a shorter or longer length and an alphabet — for codes people type, choose “No look-alikes”.
  3. Enter how many IDs you create per hour to see the time until a 1% chance of a duplicate.
  4. Copy or download the IDs.

How Nano ID picks characters

Each character is drawn from the alphabet with crypto.getRandomValues. To keep every character equally likely, random bytes are masked to the next power of two and values outside the alphabet are thrown away — the same approach as the nanoid library — instead of using modulo, which would favor some characters.

The collision estimate uses the birthday bound: with an alphabet of A characters and length L there are AL possible IDs, and a 1% chance of a duplicate appears after about √(0.02 · AL) IDs. For sortable IDs, see the ULID Generator.

Auch gesucht als: nanoid generator, nanoid online, short id generator, url safe id generator, nanoid collision, custom alphabet id generator, random id generator.

Passende Tools zu: Nano ID Generator

  • UUID Generator — Create cryptographically random UUIDs (v4) or sortable, timestamp-based UUIDs (v7) in bulk, then copy or download them.
  • Passwortgenerator — Erstelle sichere, wirklich zufällige Passwörter oder leicht einzutippende Passphrasen – mit erweiterten Regeln: Wörter ein- oder ausschließen, Zeichen vorschreiben, zulässige Symbole auswählen, Wiederholungen und Sequenzen vermeiden.
  • Zufallszahlengenerator — Zufallszahlen generieren (mit oder ohne Duplikate), Gewinner aus einer Liste auswählen, Namen mischen, Gruppen in Teams aufteilen, Münzen werfen und würfeln – und das alles mithilfe der kryptografisch gesicherten Zufallsfunktion deines Browsers.
  • Slug Generator — Convert any title into a clean, lowercase URL slug — with proper transliteration of accents, umlauts and Cyrillic, optional stop-word removal and a bulk mode for whole lists.

Häufige Fragen

Is Nano ID better than UUID?
For IDs in URLs, yes: 21 Nano ID characters carry slightly more randomness than a UUID v4 in 15 fewer characters. UUIDs are better when a database or API expects that exact format.
Which alphabet should I use?
URL-safe is the default and the most compact. Use No look-alikes for codes people read or type (vouchers, invite codes), and Numbers only for things like order numbers — with more length to compensate.
Are these IDs secure?
They come from the browser’s cryptographic random generator, so they are unpredictable. For secrets such as API keys, use 32 or more characters.
Kann ich Nano ID Generator als Web-App installieren und offline nutzen?
Ja. Nano ID Generator ist eine installierbare Web-App (PWA) – sie wird über Ihren Browser installiert und nicht aus einem App-Store heruntergeladen. Klicken Sie oben auf dieser Seite in Chrome oder Edge (Windows, macOS, Linux, ChromeOS) auf „App installieren“ oder verwenden Sie auf Android-Geräten „Teilen“ → „Zum Startbildschirm hinzufügen“ auf dem iPhone und iPad bzw. „Datei“ → „Zum Dock hinzufügen“ in Safari 17+ auf einem Mac. Die App öffnet sich dann in einem eigenen Fenster mit einem eigenen Symbol, und da sie vollständig in Ihrem Browser ausgeführt wird, funktioniert sie auch offline. Firefox auf dem Desktop kann keine Web-Apps installieren. So funktioniert die Installation.

Ähnliche Tools