Encode your numerical IDs (eg record primary keys) into obfuscated strings that can be used in URLs. The obfuscated strings are reversible, so you can decode them back into the original numerical IDs. Supports encoding multiple IDs at once, and generating IDs with custom alphabets and separators to make the IDs easier to read or share. Uses Sqids by default, with HashIds as an alternative.
Required Ruby Version
>= 3.2.0
Authors
Stephen Ierodiaconou
Versions
- 1.1.0 January 23, 2026 (38.5 KB)
- 1.0.0 November 21, 2025 (38.5 KB)
- 1.0.0.rc7 November 20, 2025 (38.5 KB)
- 1.0.0.rc6 November 17, 2025 (35 KB)
- 1.0.0.rc5 April 09, 2025 (25 KB)