> For the complete documentation index, see [llms.txt](https://docs.alphi.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alphi.dev/nodes/flatten.md).

# Flatten

The **Flatten** node allows you to convert a nested dataset into a flat table-like structure.

{% hint style="info" %}
The Flatten node does not effect arrays.
{% endhint %}

## Options

### Separator

This option lets you specify the character used as the separator between nested keys.

### Depth

This option allows you to specify the depth of nesting to flatten. A depth of 1 will only flatten the top level of the data, a depth of 2 will flatten the top two levels, and so on.

## Output

Return the flattened dataset.
