๐Ÿ”ค Ascii85 Encoder/Decoder

Ascii85/Base85 encoding & decoding, supports Adobe and standard variants, real-time preview
Zero Dependencies | No Signup, Client-Side ยท No Server Uploads

๐Ÿ“ Input Data

๐Ÿ“ Drag & drop files here
Encode
Decode

What Can the Ascii85 Encoder/Decoder Do?

The Ascii85 Encoder/Decoder is a free online tool for converting between binary data and Ascii85 (Base85) encoded format. Ascii85 is an efficient binary-to-text encoding scheme that encodes every 4 bytes of binary data into 5 printable ASCII characters, offering better efficiency than Base64. This tool supports both Adobe and standard Ascii85 variants, provides real-time preview, drag & drop file support, and batch processing. All operations run locally in your browser โ€” your data is never uploaded to any server.

Core Features

How to Use

1. Select encoding mode: Click "Encode" to convert text to Ascii85, or "Decode" to convert Ascii85 back to text

2. Select variant: Adobe mode automatically adds <~ ~> delimiters, standard mode outputs pure Ascii85 characters

3. Input data: Paste text in the input box, drag & drop a file, or click "Load Example" to see it in action

4. View results: Conversion results appear in real-time in the output area โ€” copy or download with one click

5. Keyboard shortcuts: Ctrl+Enter to convert, Ctrl+Shift+C to copy result, Ctrl+Shift+X to clear input

Use Cases

Case 1: PostScript/PDF Developers

PostScript and PDF files use Ascii85 encoding to embed binary data (such as image streams). Developers need to encode binary data for PDF embedding or decode Ascii85 streams in PDFs to view raw data.

Case 2: Git Binary Patches

Git uses Ascii85 encoding for binary patches (git diff --binary). Developers who need to understand or manually edit these patches can use this tool for encoding/decoding.

Case 3: Data Transmission & Storage

When binary data needs to be transmitted or stored as text, Ascii85 is more space-efficient than Base64 (~25% expansion vs 33%), making it ideal for size-sensitive applications.

Case 4: Security Research & Reverse Engineering

Security researchers analyzing Ascii85-encoded malicious scripts or obfuscated data need to quickly decode and view the original content.

Technical Background

Ascii85 was developed by Adobe Systems for the PostScript language. Its principle treats 4 bytes (32 bits) as a single large integer, then repeatedly divides by 85 and takes the remainder to produce 5 values from 0-84, each mapped to a printable ASCII character by adding 33. Special case: 4 zero bytes are encoded as a single 'z' character to save space. Z85 is a variant from the ZeroMQ project using a different character set (0-9, a-z, A-Z, and .-:=^!/ *?&<>()[]{}@%$#), better suited for embedding in programming languages.

What is Ascii85 encoding?

Ascii85 (Base85) is a binary-to-text encoding scheme that encodes 4 bytes of binary data into 5 printable ASCII characters, offering better efficiency than Base64 (25% expansion vs 33%).

What's the difference between Ascii85 and Base64?

Ascii85 uses 85 printable ASCII characters with higher encoding efficiency (5:4 vs 4:3). Ascii85 increases data by ~25%, Base64 by ~33%, but Ascii85's wider character range may have compatibility issues.

Where is Ascii85 used?

Ascii85 is commonly used in PostScript and PDF files for binary data encoding, and in Git's binary patch format. Adobe's version adds <~ and ~> delimiters.

Which variants are supported?

This tool supports Adobe Ascii85 (with <~ ~> delimiters) and standard Ascii85 (Z85). Switch between them using the dropdown.

Is my data uploaded to a server?

No. All encoding/decoding runs locally in your browser. Your data never leaves your device.

Does it support batch processing?

Yes. You can input multiple lines for batch encoding/decoding, and drag & drop files for batch processing.

What if encoding/decoding fails?

Check that your input is valid Ascii85. Adobe mode requires <~ start and ~> end. Standard mode only accepts valid characters. The tool shows specific error locations.

Ascii85 Encoder/Decoder | No Signup, Client-Side ยท No Server Uploads

Feedback: dexshuang@google.com