Ascii85 / Base85 Converter

Uses ASCII85: four UTF-8 bytes become five base-85 digits. A full group of four zero bytes is abbreviated as z; partial final groups are shorter.

Loading tool module...

About this ascii85 / base85 converter

Ascii85 / Base85 Converter — browser-based utility.

How this tool works

Uses ASCII85: four UTF-8 bytes become five base-85 digits. A full group of four zero bytes is abbreviated as z; partial final groups are shorter.

  1. Paste the example into “Input”.
  2. Set “Second input / expression” to encode.
  3. Click “Run locally” and compare “Output” with the example.

Worked example

Scenario: Convert a four-byte UTF-8 text value with Ascii85 / Base85 Converter

Sample input:

CZOA

Processing: Uses ASCII85: four UTF-8 bytes become five base-85 digits. A full group of four zero bytes is abbreviated as z; partial final groups are shorter.; Second input / expression = encode

Illustrative output:

6X!8O

Limits and verification

Accepts optional <~ and ~> framing and ASCII whitespace. Rejects misplaced z, overflowing groups, one-character final groups and invalid UTF-8. Z85 and RFC 1924 alphabets are not supported. Unpaired Unicode surrogate characters are rejected to prevent silent replacement during UTF-8 encoding.

Examples demonstrate an expected workflow; they do not prove every input or every branch of an external specification. Check important results with an independent source before using them for money, security, compliance, safety, or irreversible file changes.

Browser processing boundary

Tool input is processed by code running in the browser and is not intentionally sent to a CZOA processing API. The page can still request ordinary site assets, analytics, or advertising when those services are enabled. Browser extensions and managed-device software remain outside this tool's control.

Relevant references

These references govern or help explain the format, protocol, or calculation used here. Listing a reference does not claim certification or complete implementation of every optional feature.

Content owner: CZOA Tools · Last reviewed: 2026-09-15 · Review methodology

How to use it

  1. Paste the example into “Input”.
  2. Set “Second input / expression” to encode.
  3. Click “Run locally” and compare “Output” with the example.

Frequently asked questions

Which Base85 variant does the converter implement?+

It uses an ASCII85-style alphabet from character code 33 through 117, converts four-byte groups to five characters, and uses z only for a full zero group.

What did the browser fixture verify?+

The UTF-8 text hello encoded to BOu!rDZ, the known ASCII85 result for that byte sequence.

How are incomplete byte groups encoded?+

The final group is zero-padded internally and only count plus one Base85 characters are emitted. It does not surround output with Adobe delimiters.

Can it safely carry arbitrary binary files as text?+

The interface takes and returns UTF-8 text. Invalid decoding characters, malformed groups, or decoded bytes that are not UTF-8 are errors rather than a file transport protocol.