# Text Encoding Brute Force

Enumerates all supported text encodings for the input, allowing you to quickly spot the correct one. Text Encoding Brute Force 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. |
| Mode      | string | no       | `Encode` | Choose one of: `Encode`, `Decode`.                     |

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

## Returned value

| Type   | Description                                             |
| ------ | ------------------------------------------------------- |
| `JSON` | Result of the Text Encoding Brute Force transformation. |

## Limitations

- Output can be large because every supported encoding is enumerated.

## Example

<details>
<summary>Run Text Encoding Brute Force</summary>

Enumerates all supported text encodings for the input, allowing you to quickly spot the correct one. 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 **Mode** and keep defaults unless your format requires otherwise.

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

</details>
