# To Base62

Base62 is a notation for encoding arbitrary byte data using a restricted set of symbols that can be conveniently used by humans and processed by computers. The high number base results in shorter strings than with the decimal or hexadecimal system. To Base62 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       | `0-9A-Za-z` | Argument value for this operation.                     |

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

## Returned value

| Type     | Description                             |
| -------- | --------------------------------------- |
| `string` | Result of the To Base62 transformation. |

## Limitations

- This operation treats Input as raw bytes (binary-capable). Non-text payloads may display differently after decoding.
- 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 To Base62</summary>

Base62 is a notation for encoding arbitrary byte data using a restricted set of symbols that can be conveniently used by humans and processed by computers. Adjust optional parameters when the defaults do not match your payload.

1. Set **Input** to the value to transform (previous step output or a literal).

2. Review **Alphabet** and keep defaults unless your format requires otherwise.

3. Confirm **Output value** shows the transformed result.

</details>
