Flickr Base58 is the encoding behind short flic.kr photo links. It uses the same 58 unambiguous characters as Bitcoin’s Base58 but orders them differently, placing lowercase letters before uppercase. This tool encodes integers or UTF-8 text into Flickr Base58 and decodes them back, entirely in your browser.
How it works
Base58 is positional base conversion against a 58-symbol alphabet — here 123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ:
- In integer mode, the input number is divided by 58 repeatedly; each remainder selects a symbol, and the symbols are read most-significant first. This is exactly how Flickr turns a photo ID into a slug.
- In bytes mode, the input is treated as one big-endian integer and converted the same way, with each leading zero byte encoded as a leading
1so it round-trips. - Decoding accumulates the characters back into the integer (integer mode) or into bytes (bytes mode).
Because the alphabet omits 0, O, I, and l, any string containing those characters is invalid and is rejected.
Tips and example
To recreate a Flickr short URL, take the numeric photo ID and encode it in integer mode — the resulting slug is what appears after flic.kr/p/. Decoding that same slug in integer mode returns the original ID. If you switch a value between this tool and the Bitcoin Base58 tool you will get different strings for the same number, because only the symbol ordering differs; that is the intended, defining distinction between the two variants.