Base32 / Base58 / Base85 Encoder
Encode and decode text using Base32, Base58, Base85 (Ascii85), or Base62. 100% client-side.
How to Use the Encoder
- Choose an encoding: Base32, Base58, Base85 (Ascii85), or Base62.
- Choose a direction: Encode (text in, encoded out) or Decode (encoded in, text out).
- Type or paste your input — the result appears instantly.
- Copy or download the result using the buttons above the output.
Understanding the Encodings
Base32 (RFC 4648)
Base32 maps every 5 input bytes to 8 output characters, using a 32-character alphabet of uppercase A–Z and digits 2–7. The = padding character aligns output to 8-character blocks. Base32 is particularly popular for TOTP (Time-based One-Time Password) secrets used in two-factor authentication apps like Google Authenticator, where the secret is stored and displayed in Base32 for ease of manual entry. Since the alphabet excludes 0, 1, 8, and 9, there is no confusion between visually similar characters.
Base58 (Bitcoin Alphabet)
Base58 was invented for Bitcoin addresses by Satoshi Nakamoto. It removes six characters from Base64 that cause problems: 0 (zero), O (capital o), I (capital i), l (lowercase L), +, and /. The remaining 58 characters are safe to include in URLs without escaping and are unambiguous when printed. Base58 is used in Bitcoin and most altcoin addresses, IPFS CIDs (older format), and Flickr short URLs. Note: Base58 uses big-integer arithmetic, not a simple lookup table like Base32 or Base64, making it slightly more CPU-intensive.
Base85 / Ascii85
Base85 encodes every 4 bytes of binary data as 5 printable ASCII characters (range 0x21–0x75). This gives a theoretical overhead of just 25%, compared to 33% for Base64 — making it the most space-efficient of the common binary-to-text encodings. Ascii85 is used extensively in PostScript and PDF files to embed binary resources (fonts, images) in text format. The special case z replaces five ! characters (an all-zero group) for further compression. Our implementation supports the standard Ascii85 format with <~ and ~> delimiters.
Base62
Base62 uses only alphanumeric characters: digits 0–9, uppercase A–Z, and lowercase a–z. With no special characters at all, Base62 strings work safely in URLs, file names, HTML attributes, and programming language identifiers without any escaping. Base62 is the workhorse of URL shorteners — a 7-character Base62 string can represent over 3.5 trillion unique IDs. It is also used for generating collision-resistant short identifiers in databases. Explore more encoding tools: Base64 Encoder, Binary Translator.