> ## Documentation Index
> Fetch the complete documentation index at: https://docsy3.mile.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Exporting Records

> Download the records of a data type as a spreadsheet.

> [!NOTE]
>
> Required permission:
>
> * View data source
> * Export Data Source

## Export from Data Source

1. Open **Data Source** and pick the data type in the list beside the records.
2. Click **Export**.

The export runs in the background, so instead of downloading the file straight away the app shows **Export data is currently being processed**: *You can view its status on the Data Export page*.

![Export notice](https://mintcdn.com/mile-app/JlYib2YfcGFk65pR/images/v4/workflow/data/data-source-export.png?fit=max\&auto=format\&n=JlYib2YfcGFk65pR\&q=85\&s=d6d9eec24007783be9d95841b0d0ec1e)

Click **Data Export page** in the message to open **Export & Import › Export**. Your export appears there, and you download the file when it's ready. See [Export](https://docsy3.mile.app/pages/export-import/export.md).

## What the file contains

* **Columns:** the fields marked **Show on table** on the data type, the same columns you see in the list.
* **Records:** every record of the data type, whatever is typed in the search box. For a data type with **Scope Data by Hub** on, only the records of the hub you are working in are included, and the **Hub** column holds one hub name per row.
* **Format:** an Excel (XLSX) file.

To choose the columns yourself, or to filter more precisely, start the export from **Export & Import › Export** and choose **Data Source** there.

> [!NOTE]
>
> **Export** is greyed out when you don't have the **Export Data Source** permission, when no data type is selected, or while the data type is being [prepared](https://docsy3.mile.app/pages/workflow/data-type/introduction.md#preparing).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.