Base85 / Ascii85 Encoder & Decoder
Encode plain text to Base85 (Ascii85) or decode it back using Adobe or ZeroMQ (Z85) variants. Fast, free, and fully client-side. Nothing is uploaded to a server.
How the Base85 / Ascii85 Encoder & Decoder Works
Encodes text as Base85 in either the Ascii85 variant or the ZeroMQ Z85 variant, and decodes either form back to text. Ascii85 is the default and the variant selector switches to Z85. Z85 encoding requires the UTF-8 input length to be a multiple of four bytes and reports an error otherwise. Everything runs in your browser and no text is uploaded.
Usage Example
Encode a short binary-safe string in Z85 so it can be embedded in a ZeroMQ configuration file that accepts that alphabet.
Frequently Asked Questions
What is the difference between Ascii85 and Z85 here?
Ascii85 uses characters from the ASCII range '!' to 'u' and encodes a block of four zero bytes as a single z. Z85 uses a different 85-character set that avoids quotes and backslashes, so it is safer inside source code and config files.
Why does Z85 encoding give an error on some text?
Z85 encodes input in blocks of four bytes, so the UTF-8 length must divide evenly by four. Text such as a short word may not fit. Pad the input with spaces or other characters, and decode with the same padding in mind.
Can Z85 output be decoded with the Ascii85 setting?
No. The two variants use different character sets and different block rules, so each output must be decoded with the same variant that produced it. Choosing the wrong one usually yields an error or unreadable text.
