BTC $62,327.00 −2.20% ETH $1,738.55 −2.04% USDT $0.9992 −0.01% BNB $576.41 −1.45% USDC $0.9996 +0.00% XRP $0.9654 +0.84% SOL $72.33 +0.26% TRX $0.3085 +0.28% FIGR_HELOC $1.01 −2.03% STETH $1,796.44 −1.86% ZEC $917.53 −1.16% HYPE $65.78 −3.01% XMR $489.01 −2.24% BSC-USD $0.9993 −0.02% BTC $62,327.00 −2.20% ETH $1,738.55 −2.04% USDT $0.9992 −0.01% BNB $576.41 −1.45% USDC $0.9996 +0.00% XRP $0.9654 +0.84% SOL $72.33 +0.26% TRX $0.3085 +0.28% FIGR_HELOC $1.01 −2.03% STETH $1,796.44 −1.86% ZEC $917.53 −1.16% HYPE $65.78 −3.01% XMR $489.01 −2.24% BSC-USD $0.9993 −0.02%

Ascii85 (Base85) Encoder and Decoder

Ascii85 packs 4 bytes into 5 characters, so it is shorter than Base64. PDF and PostScript files use it. Convert both ways.

  • 100% Free
  • No sign-up
  • Runs in your browser

What is the Ascii85 (Base85) Encoder and Decoder?

Ascii85, also called Base85, turns every 4 bytes into 5 printable characters. Base64 needs 6 characters for the same 4 bytes, so Ascii85 output is about 7% shorter. Adobe uses it inside PDF and PostScript files, where it often appears between <~ and ~>.

Encode any text, or paste an Ascii85 block and read what is inside. The decoder skips spaces and line breaks. It also understands the z shortcut that stands for four zero bytes.

Features

PDF and PostScript

Decodes ASCII85Decode streams and <~ ~> blocks.

Shorter than Base64

5 characters for every 4 bytes.

z shortcut

Writes and reads z for runs of zero bytes.

Private

Works in your browser.

How to use the Ascii85 (Base85) Encoder and Decoder

  1. 1

    Paste text or an Ascii85 block.

  2. 2

    Pick the direction.

  3. 3

    Copy the result.

Who it is for

PDF debugging

Look inside a stream marked /ASCII85Decode.

CTF and puzzles

Ascii85 is a common layer in capture-the-flag challenges.

Developers

Make test data for code that reads Base85.

Tips for better results

  • If decoding fails, check for characters after u in the ASCII table, such as v-y or {. They are not part of Ascii85 and usually mean another Base85 variant (Z85 or RFC 1924).
  • PDF streams are often compressed after the Ascii85 layer. Decoded output that looks like random symbols may still need inflating.

Questions people ask

What is the difference between Ascii85 and Base64?

Both turn bytes into printable text. Ascii85 packs 4 bytes into 5 characters, and Base64 packs 3 bytes into 4. So Ascii85 is shorter, but it uses symbols like quotes and backslashes that some systems dislike.

What does z mean?

It is a shortcut for four zero bytes (!!!!!). It saves space in binary data.

Do I need the <~ and ~> marks?

No. The decoder works with or without them, and you choose whether the encoder adds them.

Is it free?

Yes, with no limits.

Is my data sent anywhere?

No. Everything runs on your device.

Is this the same as Z85?

No. Z85 uses a different alphabet. This is the Adobe Ascii85 used in PDF and PostScript.

Trustpilot

What our customers say

4.8 / 5Trustpilot rating
FREE BITCOIN TOOLS

Stuck Bitcoin transaction?

Paste your TXID, see where it stands, and give it a free push. No signup, no wallet access.

Try the free accelerator
  • Free
  • No signup
  • Live status