Skip to the content

Ascii85 Encode

Encode text as Ascii85, the Base85 variant used in PostScript and PDF files.

Share this tool:TwitterFacebookLinkedInWhatsAppEmail

Example

In
Hello
Out
87cURDZ

Good to know

  • Four bytes become five characters, so the result is 25% longer than the input, against 33% for Base64.
  • A group of four zero bytes is written as the single letter z.
  • The output has no <~ ~> wrapper. Add it yourself if the program on the other end expects the Adobe form.

How Base85 works, with a worked example, is explained on the Base85 (Ascii85) Encoder/Decoder page.

See all 15