Sqids Encoder
Encode numbers into short, URL-safe ids with Sqids and decode them back, with your own alphabet and a minimum length.
Free · No sign-up · Your inputs stay in your browser
Input
Encode and decode Sqids (short ids from numbers)
Output
Id
6 characters
Sqids (the successor to Hashids) turns numbers into short, URL-safe ids such as /orders/86Rf07 instead of /orders/123, and back. It is encoding, not encryption: anyone with the alphabet can decode it, so it hides sequence and volume, not data. The official libraries also skip ids containing words from a profanity blocklist, which this does not, so a rare id may differ from theirs.
Runs in this browser. Nothing you paste is sent to a server.
About this tool
Method, assumptions, practical next steps, and limits.
Why use it
Sequential ids in URLs reveal how many orders or users you have and invite enumeration of /invoices/1, /invoices/2. Encoding the id hides the sequence while keeping the database's integer key. The project documents the algorithm at sqids.org with libraries for most languages.
Not security
Sqids is an encoding, not encryption: anyone with the alphabet can decode an id, and the default alphabet is public. Authorisation checks are still required; a shuffled custom alphabet only makes your ids look different from other sites'.