Available in JavaScript Ruby Python Java PHP Perl CoffeeScript Objective-C C++ Go Lua Elixir ColdFusion Groovy and for Node.js .NET


Generate short hashes from numbers (like YouTube and Bitly).
obfuscate database IDs · use them as forgotten password hashes · invitation codes · store shard numbers


Hashids was designed for use in URL shortening, tracking stuff, validating accounts and making pages private (through abstraction). Instead of showing items as 1, 2, or 3, you could show them as b9iLXiAa, EATedTBy, and Aaco9cy5. Hashes depend on your salt value.