# To Table

Data can be split on different characters and rendered as an HTML or ASCII table with an optional header row. Supports the CSV (Comma Separated Values) file format by default. Change the cell delimiter argument to `\t` to support TSV (Tab Separated Values) or `|` for PSV (Pipe Separated Values). To Table lives in the **Utils** category of the `fx` menu.

## Parameters

| Parameter             | Type    | Required | Default | Description                                            |
| --------------------- | ------- | -------- | ------- | ------------------------------------------------------ |
| Input                 | string  | yes      | —       | Value to transform. Previous step output or a literal. |
| Cell delimiters       | string  | no       | `,`     | Argument value for this operation.                     |
| Row delimiters        | string  | no       | `\r\n`  | Argument value for this operation.                     |
| Make first row header | boolean | no       | `false` | Disabled by default.                                   |
| Format                | string  | no       | `ASCII` | Choose one of: `ASCII`, `HTML`.                        |

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

## Returned value

| Type   | Description                            |
| ------ | -------------------------------------- |
| `html` | Result of the To Table transformation. |

## Example

<details>
<summary>Run To Table</summary>

Data can be split on different characters and rendered as an HTML or ASCII table with an optional header row. 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 **Cell delimiters**, **Row delimiters**, **Make first row header**, **Format** and keep defaults unless your format requires otherwise.

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

</details>
