---
url: /card-guides/cards-to-csv.md
description: Cards are able to be downloaded as CSV files.
---

# Cards to CSV

Cards are able to be downloaded as CSV files.

### Create a card download as CSV button

Using **Button** components, cards can be downloaded as CSVs from the frontend.

:::info
Ideally a card to be converted to CSV should typically contain either a Grid or Table component.\*
:::

1. Drag a **Button** component into the desired card. This button will be the button clicked to initiate the CSV download.

2. Select the button icon in the card editor panel to open the button properties. Under the **Styling** section, write `Download CSV` into the **Text** property.

3. Under the **Export** section, there are two essential properties for creating a CSV download button:
   * **Card Export** - Set this to the Name of the card that should be downloaded on click.
   * **Card Export Format** - For a CSV, this should either be set to `CSV` or `CSV_V2`. See differences below:
     * CSV - Standard CSV download which will work with table and grid components only.
     * CSV\_V2 -  CSV downloader that works with lists. If a table is wrapped in a list in order to render, this will be the version to select.

4. Once these two properties are set, save the card. The download button will now work on the frontend.

:::info
All components contain a **"CSV Visible"** property under the **"Export"** section. If the CSV version of a card should ignore a component, set this to "No".
:::
