https://sqids.org/ * Sqids formerly Hashids * Language * FAQ * Playground * What is Sqids? Sqids (pronounced "squids") is an open-source library that lets you generate YouTube-looking IDs from numbers. These IDs are short, can be generated from a custom alphabet and are guaranteed to be collision-free. Read more . This is what they look like: https://example.com/Lqj8a0 Why use them? The main use of Sqids is purely visual. If you'd like to use IDs instead of numbers in your webapp, Sqids could be a good choice: Use Cases * Link shortening Safe to use in URLs * Event IDs Collision-free encoding/decoding * One-Time Passwords Short & profanity-free Not Good For * Sensitive data This is not an encryption library * User IDs Can be decoded, revealing user count Features * Generate short IDs from non-negative numbers * Easy encoding & decoding * Auto-generated IDs do not contain common profanity * Support for custom IDs through shuffled alphabet * 40 programming languages (17 using new design) * Every version produces the same IDs * Small library with a permissive license Get started [ ] * ActionScript * Bash * C * Clojure * ColdFusion * C++11 * Crystal * D * Dart * .NET * Elixir * Elm * Erlang * Go * Haskell * Haxe * Io * Java * JavaScript * Julia * Kotlin * Lua * Nim * Objective-C * OCaml * Perl * PHP * PLpgSQL * PostgreSQL * Python * R * Raku * Ruby * Rust * Scala * Smalltalk * Swift * T-SQL * Tcl * VBA Are you an expert in any of these ? Example / Playground Alphabet [abcdefghijklmnopqrst] Input * [123 ] * [456 ] Output [B9fj0X ] Sponsor Fossfox -- paid opportunities for open-source devs Popular * .NET * JavaScript * Go * PHP * Python * Ruby * Java * Rust Code libs -- copyright Sqids maintainers (licensed under MIT) Sqids logo is a part of Twemoji (licensed under CC-BY 4.0) No squids here -- just short quick IDs 2023 Sqids