encoding_decoding_base91
Encode data to compact basE91 or decode back to original. Choose input format (text, hex, binary) for encoding. Ideal when smaller output size is critical.
Instructions
Base91 Encoder and Decoder. Encode bytes to basE91 or decode basE91 back to data, the densest of the ASCII-safe binary-to-text encodings: about 23% smaller than Base64 (roughly 1.23x the input size versus Base64 1.33x). Set operation to encode or decode and choose how input bytes are read with format. Prefer encoding_decoding_base91 when output size matters most; use encoding_decoding_base64 for the ubiquitous web/MIME format, encoding_decoding_ascii85 for Adobe PostScript Base85, or encoding_decoding_basex for Base32/Base58/Base85. Runs locally on the input you provide: read-only, non-destructive, contacts no external service, idempotent, and rate-limited (60 requests/minute for anonymous callers). Returns the converted string plus size/efficiency statistics and a per-character analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Input to convert: when encoding, data interpreted per format (UTF-8 text, hex, or binary digits); when decoding, a basE91 string. Must not be blank. | |
| operation | Yes | Direction: encode turns input into basE91; decode turns a basE91 string back into text. | |
| format | No | How to read text when encoding: text (UTF-8), hex (even-length hex, whitespace allowed), or binary (0/1 digits in multiples of 8 bits). Ignored when decoding. | text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the conversion succeeded. | |
| input | No | The submitted text, echoed back. | |
| operation | No | The operation performed (encode or decode). | |
| format | No | The input format used for encoding (text, hex, or binary). | |
| result | No | The basE91 string (encode) or decoded text (decode). | |
| stats | No | Size and efficiency metrics for the conversion. | |
| char_analysis | No | Distinct output characters (encode only; empty on decode), sorted. |