Encode data as Ascii85 (base85), which packs 4 bytes into 5 characters for about 25 percent overhead versus the 33 percent of Base64. Used inside PDF and PostScript streams.
Show calculation steps
Processed privately in your browser — nothing you paste is uploaded, logged or stored.
How to use the Ascii85 Encoder
- Paste the text or data to encode.
- Turn on the delimiter option if the target format expects the Adobe style with opening and closing markers.
- Leave the z shortcut enabled unless the consumer of the data does not support it.
- Click "Encode to Ascii85".
Frequently asked questions
How much smaller is Ascii85 than Base64?
Ascii85 encodes four bytes as five characters, an overhead of 25 percent, against Base64 which encodes three bytes as four characters for 33 percent. On a large stream that difference is meaningful, which is why PDF uses it.
What does the "z" character mean in the output?
It is a shorthand for a group of four zero bytes, which would otherwise take five characters. Because runs of zero bytes are common in binary data, this small optimisation adds up. Some strict decoders do not accept it, so it can be turned off.
Where is Ascii85 used in practice?
Chiefly inside PDF and PostScript, where binary streams must be embedded in a text-based file format. It also appears in some version control and diff formats for the same reason.
Why does the encoded text contain punctuation and symbols?
The alphabet is 85 consecutive printable ASCII characters starting at the exclamation mark, so punctuation is unavoidable. That is also why Ascii85 is a poor fit for URLs and why Base64URL exists.