# From Base85

Base85 (also called Ascii85) is a notation for encoding arbitrary byte data. It is usually more efficient that Base64. For example, `BOu!rD]j7BEbo7` becomes `hello world`. From Base85 lives in the **Data format** category of the `fx` menu.

## Parameters

| Parameter                 | Type    | Required | Default  | Description                                                                 |
| ------------------------- | ------- | -------- | -------- | --------------------------------------------------------------------------- |
| Input                     | string  | yes      | —        | Value to transform. Previous step output or a literal.                      |
| Alphabet                  | string  | no       | Standard | Preset or custom value. Presets include `Standard`, `Z85 (ZeroMQ)`, `IPv6`. |
| Remove non-alphabet chars | boolean | no       | `true`   | Enabled by default.                                                         |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type     | Description                               |
| -------- | ----------------------------------------- |
| `string` | Result of the From Base85 transformation. |

## Limitations

- Invalid or mismatched encoding for the chosen options typically raises an evaluation error — fix the Input or options before re-running.

## Example

<details>
<summary>Run From Base85</summary>

Base85 (also called Ascii85) is a notation for encoding arbitrary byte data. Adjust optional parameters when the defaults do not match your payload.

1. Set **Input** to the value to transform. Paste:

   ```text title="Input"
   BOu!rD]j7BEbo7
   ```

2. Review **Alphabet**, **Remove non-alphabet chars** and keep defaults unless your format requires otherwise.

3. Confirm **Output value** matches the expected result (for example `hello world`).

</details>
