# Z85 RFC 1924 Base85 Stream Encoder Decoder

Encode or decode bytes with ZeroMQ Z85, RFC 1924 Base85 or a validated custom alphabet in single or line-batch mode

> Canonical page: https://elysiatools.com/en/tools/z85-rfc1924-base85-stream-codec

- **Category:** Format Conversion

- **Keywords:** Z85, RFC 1924, Base85, ZeroMQ, encoder, decoder, custom alphabet, stream

## Overview

Keeps Z85 and the RFC 1924 alphabet stream variant distinct, validates custom 85-character alphabets, supports UTF-8/hex/base64 byte views and reports partial-block padding.

## Inputs

- **Input** (textarea): Enter UTF-8 text, hex/base64 bytes, or Base85
- **Operation** (select)
- **Variant** (select)
- **Input Encoding** (select)
- **Output Encoding** (select)
- **Batch Mode** (select)
- **Custom Alphabet** (textarea): Exactly 85 unique printable ASCII characters
- **Strict Block Length** (checkbox)

## When to use

- Convert hexadecimal, Base64, or UTF-8 byte data into Z85 or RFC 1924 Base85 text.
- Decode Base85 text and inspect the resulting bytes as UTF-8, hexadecimal, or Base64.
- Process several independent values line by line or validate a custom 85-character alphabet.

## How it works

- Enter the input and select Encode or Decode.
- Choose Z85, RFC 1924 Base85, or Custom alphabet, then select the input and output encodings.
- Use Single value for one item or One per line for batch conversion.
- Enable Strict Block Length to validate block sizes; the tool also reports partial-block padding when applicable.

## Use cases

- Prepare byte values for ZeroMQ systems that use the Z85 alphabet.
- Inspect and convert RFC 1924 Base85 data during protocol or data-format debugging.
- Apply a validated custom Base85 alphabet to line-based byte values.

## Frequently asked questions

### What is the difference between Z85 and RFC 1924 Base85?

They use different Base85 alphabets. Select the variant that matches the format expected by your system.

### Which input encodings are supported?

The tool accepts UTF-8 text, hexadecimal bytes, and Base64 bytes.

### Which output encodings are supported?

Results can be shown as UTF-8, hexadecimal, or Base64, depending on the selected operation.

### How does batch mode work?

Select One per line to encode or decode each input line independently.

### What is required for a custom alphabet?

A custom alphabet must contain exactly 85 unique printable ASCII characters.

## Related tools

- [Avro Converter](https://elysiatools.com/en/tools/avro-converter): Encode and decode data to/from Avro data serialization format with schema support
- [CBOR Converter](https://elysiatools.com/en/tools/cbor-converter): Encode and decode data to/from CBOR (Concise Binary Object Representation) format
- [Ion Converter](https://elysiatools.com/en/tools/ion-converter): Encode and decode data to/from Ion (Amazon Ion) binary format
- [MessagePack Converter](https://elysiatools.com/en/tools/msgpack-converter): Encode and decode data to/from MessagePack binary serialization format
- [Protobuf Converter](https://elysiatools.com/en/tools/protobuf-converter): Encode and decode data to/from Protocol Buffers (Protobuf) binary format
- [Base64 Encoder/Decoder](https://elysiatools.com/en/tools/base64-encoder): Encode and decode Base64 strings
- [Base64URL Encoder/Decoder](https://elysiatools.com/en/tools/base64url-encoder): Encode and decode Base64URL (URL-safe Base64 variant used by JWT/JWS/JWE), with conversions between standard and URL-safe Base64
- [Caesar Cipher](https://elysiatools.com/en/tools/caesar-cipher): Encode, decode, and brute-force the Caesar cipher with any shift (1–25), or print all 25 candidate decodings.

## Samples

- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion

## Related content

- [Base, Radix, and Hex Text Encoding Tools](https://elysiatools.com/en/hubs/base-radix-and-hex-encoding-tools): Encode and decode text and bytes across Base32/45/58/62/64URL/Base85/Z85, arbitrary radix (2–36), and hex, plus URL, HTML-entity, and Unicode escape conversion — for JWTs, blockchain IDs, data URLs, and binary inspection.
- [Identifier, Config, and Input Validation Tools](https://elysiatools.com/en/hubs/validation-validate): Compare validators for email, phone, IP, dates, cron, barcodes, payment details, env files, and other real-world inputs in one hub.
- [Identifier, Address, and Code Format Validators](https://elysiatools.com/en/hubs/validation-format): Curated tools for identifier, address, account, and code format validation in one hub.
- [JSON Schema and API Contract Validation Tools](https://elysiatools.com/en/hubs/json-validate): Compare JSON schema validation, OpenAPI response checks, mutation testing, stress testing, and breaking-change detection tools in one hub for API contract review.
