Loading…

How to use Z85 Encoder / Decoder

Pick Encode or Decode. Z85 requires the byte length to be a multiple of 4, so encoding pads is not applied — enter data whose byte count is divisible by 4, or decode a Z85 string whose length is a multiple of 5.

Frequently asked questions

What is Z85?

A base85 encoding from the ZeroMQ RFC 32 spec. It uses 85 characters chosen to be safe inside source code and strings (no backslash or quotes).

Why must input be a multiple of 4 bytes?

Z85 has no padding scheme, so it only encodes whole 4-byte frames into 5-character blocks. This tool reports an error if the length does not align.

How does Z85 differ from Ascii85?

They share the 4-into-5 ratio but use different alphabets and offsets. Z85's alphabet avoids characters that need escaping in code, making it ideal for keys and config.

More Encoders & Decoders

Base62 Encoder / Decoder
Compact 0-9A-Za-z Base62 encode & decode, ideal for short IDs and URLs
Base64 ↔ Hex Converter
Convert Base64 directly to hexadecimal and back without leaving your browser
Punycode / IDN Converter
RFC 3492 Punycode encode & decode for internationalized domain names (xn--)
ROT47 Cipher
ROT47 rotate all printable ASCII by 47 — symmetric encode & decode
ROT18 Cipher
ROT13 for letters plus ROT5 for digits — symmetric encode & decode
Numeric HTML Entities
Encode text to decimal/hex numeric HTML entities (&#NN;) and decode them back
URL Encode All Characters
Percent-encode every character as %XX — full-escape any string for URLs
Uuencode / Uudecode
Classic Unix uuencode & uudecode with begin/end wrapper for text payloads
XXencode / XXdecode
XXencode & XXdecode using the portable +-0-9A-Za-z alphabet
Base64 Encoder
Encode text or files to Base64 string format
Base64 Decoder
Decode Base64 strings back to plain text or binary
Base64 Image Encoder
Convert images to Base64 data URIs for CSS/HTML

← View all Encoders & DecodersBrowse all 1,100+ tools →