Skip to tool

RFC 1924 Base85 Encoder and Decoder

Encode text or files as RFC 1924 Base85, or decode Base85 text back to bytes. Not Ascii85 or Z85.

Runs in your browser — your input is processed on this device and never uploaded.

Input

Enter text or upload a file to encode. To decode, enter the encoded text.

Result

Results appear here.

About this tool

On this page

What is RFC 1924 Base85?

Base85 writes binary data using 85 printable characters, so four bytes become five characters. This page uses the alphabet from RFC 1924. That is not Adobe Ascii85, and it is not Z85.

RFC 1924 Base85 options

Operation
Encode (the default) or Decode.
Input
Typed text or a file to encode, or Base85 text to decode.
  • There is one alphabet and no padding or wrapping option.

Why the RFC 1924 alphabet matters

Several encodings call themselves Base85 and do not share a character set. Mixing them does not throw a loud error. It just gives you the wrong bytes, which is worse.

Name the RFC when the protocol names the RFC. If it names Adobe, PostScript or ZeroMQ, you want a different tool.

RFC 1924 Base85 alternatives

Ascii85 is the Adobe variant, the one PDF and PostScript streams actually use. Text wrapped in <~ and ~> is Ascii85. Base64 Encoder and Decoder is the default when the other end does not name a Base85 dialect at all. basE91 is denser still and even less widely implemented.

None of these encrypt or compress. They only change how bytes are written as text.

Things to know about RFC 1924 Base85

RFC 1924 proposed Base85 as a shorter way to write IPv6 addresses. It was published on 1 April 1996, and the encoding stuck around more as a curiosity than as a network standard.

Tip

Encoded output can include punctuation that JSON, URLs or a shell will treat as syntax. Escape it before dropping it into those formats.

Browse

Find similar tools by category or tag.