Z85 Encode & Decode
The ZeroMQ flavor of Base85, friendly for strings and source code. This tool does both encode and decode on one page — just pick a mode, paste your text, and click. Everything runs on your device, nothing is sent to a server.
Everything runs in your browser. Your data is never sent to our servers.
Example
Example Input
Hello
Example Output
nm=QNzVx+q#3
How to Use
- 1Choose Encode or Decode mode at the top.
- 2Type or paste your text into the Input field.
- 3Click the button (or press Ctrl+Enter) to process. The result appears in the Output field.
- 4Click Copy to copy the result, or "Swap input/output" to quickly reverse the operation.
About Z85
Z85 is a Base85 variant designed by the ZeroMQ project. It picks 85 characters that are safe to use directly inside source-code strings (avoiding characters like quotes and backslashes).
How it works: like Base85, every 4 bytes become 5 characters, but with a different character table that is friendly for string literals. Standard Z85 requires the input length to be a multiple of 4 bytes.
Z85 is used to encode public keys and binary data in ZeroMQ config/code. It is ideal when the encoded result needs to paste directly into code without extra escaping.
FAQ
Why is there a "#" at the end of the result?
Standard Z85 requires input in multiples of 4 bytes. This tool appends a padding marker ("#" + count) so any-length input can be decoded back exactly.
Can this Z85 tool both encode and decode?
Yes. This is a single page with a toggle — use Encode mode to transform text, and Decode mode to reverse it. No need for two separate pages.
Is my data sent to a server?
No. Z85 is processed entirely in your browser. The text you enter never leaves your device.