Skip to content
Test versionSearch

Developer tools

ASCII85 byte encoder and decoder

Encode bytes to ASCII85 or decode ASCII85 to exact octets, with the z shortcut for four zero bytes, optional Adobe-style markers and BIN export.

How it worksFAQRelated tools

Content reviewed:

Inspect own bytes and encode or decode. Native exports and report exports are separate; reloading removes temporary scenarios.

Bounded source1000UTF16 units, 256 bytes,JSON3500/report 18 parts. UTF-8 decoding is fatal; hex preserves arbitrary bytes. Exact JSON, output TXT, canonical TXT and original BIN are separate. Encoding is not encryption. Own UTF8 files8KiB/1000 units remain local. No MIME headers/charset guessing/PDF parser/Git-Z85 variants.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

Own four-octet/five-digit base85 arithmetic with ! through u; z means four zero octets. Final short groups preserve byte count. Optional Adobe-style enclosing markers or a final terminator accepted; ASCII whitespace ignored. Overflow, one-digit tail and btoa y refuse. Bounded source1000UTF16 units, 256 bytes,JSON3500/report 18 parts. UTF-8 decoding is fatal; hex preserves arbitrary bytes. Exact JSON, output TXT, canonical TXT and original BIN are separate. Encoding is not encryption. Own UTF8 files8KiB/1000 units remain local. No MIME headers/charset guessing/PDF parser/Git-Z85 variants.

Worked example

Own fabricated byte sample.

Frequently asked questions

How does ASCII85 encoding work?

ASCII85 turns each group of four octets into five base-85 digits using the characters ! through u. The letter z stands for four zero octets, and short final groups preserve the byte count.

Does the ASCII85 decoder accept Adobe framing?

Yes. Optional Adobe-style enclosing markers or a final terminator are accepted, and ASCII whitespace is ignored.

Which ASCII85 variants are not supported?

Git and Z85 variants, the btoa y shortcut, MIME headers and PDF parsing are not supported. Overflow and a one-digit tail are refused.

What input can the ASCII85 encoder take?

You can enter UTF-8 text or explicit hex byte pairs, up to 1000 UTF-16 units and 256 bytes. An own UTF-8 file can be up to 8 KiB.

Is ASCII85 encryption?

No. ASCII85 is a byte encoding, not encryption, and it offers no secrecy.