Ascii85 / Base85 Converter

Encode text or decode streams in Adobe Ascii85: every four UTF-8 bytes become five printable characters in the range ! .. u. This is the encoding used inside PostScript programs and PDF object streams.
All processing happens locally in your browser — your data is never uploaded to any server.
Encode: Text becomes UTF-8 bytes, then each group of four bytes is treated as one big number written in base 85 — five digits from ! (= 0) to u (= 84). A final short group pads with zero bytes and keeps only the digits that carry real data.
Decode: The decoder accepts data with or without the <~ ~> delimiters, ignores whitespace and z runs, validates every character and the final short group, then returns UTF-8 text.
Ctrl+Enter in the input runs the active mode.
Pick Encode or Decode and click its action button. All processing stays in your browser.
About Ascii85:
Adobe Ascii85 was designed for PostScript and later adopted by PDF for binary streams: it expands data by only ~25% (four bytes become five ASCII characters) while staying entirely printable and 7-bit safe. The value !<~ at the start of a stream and ~> at the end are the delimiters Adobe expects; inside the stream, whitespace is ignored by decoders, so lines can be wrapped anywhere. A special z character stands for a whole group of four zero bytes — typical at the start of compressed binary data. When fewer than four bytes remain, the final group keeps only as many characters as carry information (one byte → two characters, two bytes → three, three bytes → four). The decoder validates every character and rejects groups whose value would overflow 32 bits, reporting the exact position of the problem.