Base85 / Ascii85 Encoder & Decoder

Encode and decode Base85 in your browser with Adobe Ascii85 and ZeroMQ Z85. Convert UTF-8 text locally, inspect Ascii85 data from PDF or PostScript, and choose the variant required by your format.

Input
0 chars · 0 bytes
Try:
Result
✓ Compact binary-to-text encoding ✓ Used in PDF, PostScript and Git binary diffs ✓ UTF-8 and Unicode support ✓ Client-side processing only
Examples
Encode text to Ascii85
Variant: Adobe Ascii85
Input Hello, World!
Output <~87cURD_*#4DfTZ)+T~>

Adobe Ascii85 with <~ ~> delimiters.

Decode Ascii85
Variant: Adobe Ascii85
Input <~87cURD_*#4DfTZ)+T~>
Output Hello, World!

Decoding restores the original text.

Base85 encode with ZeroMQ Z85
Variant: ZeroMQ Z85
Input test
Output By/Jn

Z85 converts these 4 UTF-8 bytes into one 5-character group. Choose Z85, not Ascii85, for this result.

Decode a Z85 value
Variant: ZeroMQ Z85
Input By/Jn
Output test

Decode the complete 5-character Z85 group to restore the original 4-byte UTF-8 text.

How Base85 works

Base85 is a binary-to-text encoding: it represents bytes with printable characters, rather than encrypting them. This Base85 encoder and decoder converts UTF-8 text in your browser, so the text you enter stays on your device.

Each complete group of 4 bytes becomes 5 Base85 characters. That makes Base85 more compact than Base64 for the same binary data: Base64 turns 3 bytes into 4 characters, while Base85 turns 4 bytes into 5. Internally, each 4-byte group is treated as a 32-bit number and written in base 85.

Select the variant that matches the data source. Adobe Ascii85 is common in PostScript and PDF. This tool encloses newly encoded Ascii85 in <~ and ~>, accepts framed or unframed Ascii85 when decoding, and recognizes z as four zero bytes. ZeroMQ Z85 has its own 85-character alphabet, with no Ascii85 framing or z shortcut; its input must be a multiple of 4 bytes when encoding and a multiple of 5 characters when decoding.

Choosing Ascii85 or Z85

Ascii85 and Z85 are related Base85 variants, but their alphabets are not interchangeable. Choose Adobe Ascii85 when the source contains <~ ~>, comes from a PDF or PostScript workflow, or documents the Ascii85 format. Choose Z85 only when the protocol, library, or data producer explicitly specifies ZeroMQ Z85.

If decoding fails, first verify the selected variant and preserve the original characters. Ascii85 permits whitespace and may include its delimiters; Z85 output must contain full 5-character groups. A value encoded with one variant cannot be reliably decoded with the other.

Base85 is encoding, not encryption

Base85 makes binary data easier to store or transfer through text-oriented systems, but it does not conceal the content. Anyone with the matching variant can decode it without a password or secret key. Use encryption separately when confidentiality or access control is required.

FAQ

Adobe Ascii85 appears in PostScript and PDF files, and a Base85 variant is used by Git for binary patches. ZeroMQ uses Z85 to encode keys and frames in a shell-safe way.

They use different 85-character alphabets. Ascii85 supports partial groups, <~ ~> framing and the z shortcut; Z85 has a fixed alphabet chosen to be safe in source code and requires the byte length to be a multiple of four.

Select Adobe Ascii85, paste the encoded value, and use Decode. The decoder accepts the usual <~ ~> delimiters when present, and it also accepts unframed Ascii85. Keep the z character intact: in Ascii85 it represents four zero bytes.

Use Adobe Ascii85 for data marked <~ ~>, or for PDF and PostScript content. Use ZeroMQ Z85 only when the producer specifies Z85. Their alphabets differ, so a string from one variant should not be decoded as the other.

Z85 encodes exactly 4 input bytes into 5 characters. For encoding, the UTF-8 byte length of the text must be divisible by 4; for decoding, the encoded value must contain a whole number of 5-character groups and only Z85 alphabet characters.

No. Base85 is reversible binary-to-text encoding, not encryption. It uses no password or secret key, so it should not be used to protect sensitive information.
Related tools

Binary Converter Online

Convert text into 8-bit binary groups and decode binary bytes back into readable text.

ASCII Converter

Convert ASCII characters and numeric codes for protocol and parser workflows.

JWT Decoder Online

Decode JWT tokens in-browser and inspect header, payload, claims, and expiration data.