User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 1 times
Operation Mode
Standard / Specification
Uses <~ ~> delimiters. 'z' for nulls.
Input Size: 0 B
Output Size: 0 B
Ratio: --
Input Data
Drop file to load binary data

Enter data to see the block conversion logic.

Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

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.

base85 ascii85 z85 binary analysis pdf debugging ipv6 encoding hex viewer

Formulas

Base85 operates on 32-bit integer blocks. The conversion process is a change of base from Base-256 (Bytes) to Base-85.

{
Input Block: B = [b1, b2, b3, b4]Integer: N = 4โˆ‘i=1 bi ร— 2564โˆ’iOutput: Chark = โŒŠ N85k โŒ‹ mod 85

For Adobe Ascii85, the ASCII character is Chark + 33. For Z85, Chark is an index into a lookup table.

Reference Data

Standard / SpecAlphabet RangeSpecial FeaturesZero CompressionPadding LogicPrimary Usage
Adobe Ascii85! thru uDelimiters <~ ~>YES (uses 'z')Append nulls, output charsPDF, PostScript
ZeroMQ (Z85)0-9, a-z, A-Z, symbolsString-safe (no quotes)NOStrict (Error if length โ‰  4x)MQ Messaging, CurveCP
IPv6 (RFC 1924)0-9, A-Z, a-z, symbolsMath-oriented mappingNONone (Fixed 128-bit)Compact IP Representation
BTOA! thru uLegacy Unix toolYES (uses 'z')Prepends length byteLegacy Binary Transfer
Base64A-Z, a-z, 0-9, +, /Universal compatibilityNOUses "="MIME, Web, Data URIs
Base91ASCII 33-126Variable length outputNOComplex bitstreamHigh efficiency storage

Frequently Asked Questions

The most common cause is a Standard Mismatch. Adobe Ascii85 and ZeroMQ (Z85) use different alphabets. If you decode a Z85 string using the Adobe standard, the byte values will be completely wrong. Try switching the "Standard" dropdown.
In the Adobe specification, "z" is a compression shorthand. It represents a 32-bit block of zeros (0x00000000). Instead of outputting five exclamation marks ('!!!!!'), the system outputs a single "z", saving 4 bytes per block of empty space.
Yes. Paste the Base85 string into the input. Select "Decode". Once processed, check the "Hex Preview" tab. If you see file headers (like %PDF or โ€ฐPNG), use the "Download Binary" button to save the result as a file.
Base85 is significantly more efficient for large binaries. Base64 increases size by 33%, whereas Base85 increases it by only 25%. For a 100MB file, Base85 saves approximately 8MB of transfer overhead compared to Base64.
Z85 is designed for code string literals and network packets where byte-for-byte exactness is required. Whitespace could be interpreted as formatting rather than data, so the standard strictly forbids it to prevent ambiguity.