Base85 (Ascii85) Encoder/Decoder
Professional-grade Base85 tool. Supports Adobe, Z85, and IPv6 standards. Features hex inspection, file recovery, and compression analysis.
Enter data to see the block conversion logic.
About
Base85 is not a single standard; it is a family of binary-to-text encoding schemes used where bandwidth or storage efficiency is critical. While Base64 expands data by roughly 33.3%, Base85 limits this expansion to 25% by utilizing a larger ASCII alphabet. This makes it the standard choice for embedding bitmaps in PostScript/PDF files (Adobe Standard) and for compact messaging in ZeroMQ (Z85).
However, the ecosystem is fragmented. A string encoded in Adobe Ascii85 will produce garbage output if decoded using the Z85 standard due to different alphabet mappings and padding rules. This tool acts as a universal bridge, offering automatic standard detection, hex-level inspection for binary recovery, and strict compliance with RFC 1924 (IPv6), Adobe, and ZeroMQ specifications.
Formulas
Base85 operates on 32-bit integer blocks. The conversion process is a change of base from Base-256 (Bytes) to Base-85.
For Adobe Ascii85, the ASCII character is Chark + 33. For Z85, Chark is an index into a lookup table.
Reference Data
| Standard / Spec | Alphabet Range | Special Features | Zero Compression | Padding Logic | Primary Usage |
|---|---|---|---|---|---|
| Adobe Ascii85 | ! thru u | Delimiters <~ ~> | YES (uses 'z') | Append nulls, output chars | PDF, PostScript |
| ZeroMQ (Z85) | 0-9, a-z, A-Z, symbols | String-safe (no quotes) | NO | Strict (Error if length โ 4x) | MQ Messaging, CurveCP |
| IPv6 (RFC 1924) | 0-9, A-Z, a-z, symbols | Math-oriented mapping | NO | None (Fixed 128-bit) | Compact IP Representation |
| BTOA | ! thru u | Legacy Unix tool | YES (uses 'z') | Prepends length byte | Legacy Binary Transfer |
| Base64 | A-Z, a-z, 0-9, +, / | Universal compatibility | NO | Uses "=" | MIME, Web, Data URIs |
| Base91 | ASCII 33-126 | Variable length output | NO | Complex bitstream | High efficiency storage |