# Exporting data from Pipedrive

**Note:** Only **global admins** and regular users with the correct [permissions](https://support.pipedrive.com/article/permission-sets) enabled can export data. Learn more about [global user management](https://support.pipedrive.com/article/global-user-management).

**Note:** Even with export permissions, you can only export the data that’s visible to you based on your **[visibility group](https://support.pipedrive.com/article/visibility-groups)** or [item visibility](https://support.pipedrive.com/article/how-to-change-the-visibility-of-items).

You can export data from Pipedrive in two ways:

-   Use the **list view** to combine data from different items (like deals, organizations and people)
-   Use the **Export data** tab to download all data for each item type individually

Whether you’re setting up your [CRM](https://www.pipedrive.com/en/products/what-is-crm), switching platforms or just needing a backup, you can learn more about **importing** and **exporting data** in [this post](https://www.pipedrive.com/en/features/data-import-export).

[Video](https://play.vidyard.com/7VPhWTP3669RvkEahoEoAW)

* * *

## Where can I export data?

You can generate an XLSX or CSV file of your data and export it from the following sections:

### Export data

**Note:** Only users with **global** **admin [permissions](https://support.pipedrive.com/article/permission-sets)** can export by **data type** in this section.

In the **Export data** section, most item exports include **default**, **custom** and **system fields**, along with ownership information and any linked records.

To export data, open the **account menu** at the top right corner and go to **Tools and apps > [Export data](https://app.pipedrive.com/settings/export)**.

![](https://kb-cms.pipedriveassets.com/exportingdata1.png)

Next, select the **data type** you want to export. The table below summarizes the available options and the contents of each export.

| Item type | Export options | What the export includes |
| --- | --- | --- |
| **Leads** | Based on archive status: not archived, archived or all. | Lead fields Linked organizations and contact people |
| **Deals** | Entire list of deals or deals with participants only. For the full list, you can filter by archive status. For participant-based exports, you can filter by deal creation date or won time. | Deal fields Linked organizations and contact people |
| **Organizations** | Entire list of organizations or only related organizations. | Organization fields |
| **People** | The entire list of people. | Person fields Linked organizations |
| **Products** | Entire product catalog or only products added to deals. For deal-based exports, you can filter by deal creation date or won time. | Product fields Linked deals when exporting products linked to deals |
| **Activities** | Filter activities by date marked as done, due date, date added or last updated. | Activity fields Linked deals, leads, organizations, people and projects |
| **Projects** | Available on Premium and higher plans or with the [Projects](https://support.pipedrive.com/article/projects-by-pipedrive) add-on. Based on archive status: not archived, archived or all. | Project fields Linked deals, organizations and contact people |
| **Notes** | Export notes in HTML format or as plain text. | Note fields Linked deals, leads, projects, organizations and contact people |
| **Files** | Export files based on the date they were added. | File fields Linked deals, leads, projects, products, organizations and contact people |

After selecting your data, choose the format as **“Excel“** or **“CSV****”**, then click **“Export”**.

![](https://kb-cms.pipedriveassets.com/exportingdata2.png)

Your file will appear in the **“Generated exports“** list. To download it, click the **cloud icon** in the **“Available until“** column.

![](https://kb-cms.pipedriveassets.com/exportingdata3.png)

**Note:** Activities, notes and files linked to deals and contacts must be exported separately.

**Note:** Files stored in Google Drive are **not** exported during global export. The file download link can only be used by admin users.

### List view

You can export customized data from the [**list view**](https://support.pipedrive.com/en/article/list-view) for deals, leads, projects, contacts and organizations.

Open a relevant list view and apply a [**filter**](https://support.pipedrive.com/en/article/filtering) to show the data you want to export. For example, you can select **“All lost deals“** to export only lost deals.

![](https://kb-cms.pipedriveassets.com/alllostdealsfilter.png)

Once your filter is applied, click the **gear icon** and choose which columns to include.

![](https://kb-cms.pipedriveassets.com/geariconlistview.png)

The available fields depend on the item type. For example, in the **deal list view**, you can include **deal**, **person** and **organization** fields in one export.

To export the displayed fields, click **“...” > Export filter results**.

![](https://kb-cms.pipedriveassets.com/Exportfilterresults.png)

### Detail view

**Note:** You can only export deal details as an XLSX file from the deal detail view.

Open a deal and click **“...” > Export as XLSX** in the top right corner.

![](https://kb-cms.pipedriveassets.com/Exportdeal.png)

The exported file includes deal details and any linked person or organization data.  

### Insights

There are two ways you can [export data from your Insights tool](https://support.pipedrive.com/article/exporting-data-from-insights):

#### Export charts

To export a **report** or **goal**, click **“Export”** and choose either **PDF** or **PNG**.

![](https://kb-cms.pipedriveassets.com/Exportpdfpng.png)

The exported file includes the chart, title and applied filters.

You can also export a **dashboard** by opening it, clicking **“...”** and selecting the desired file type.

![](https://kb-cms.pipedriveassets.com/dashboardexport.png)

#### Export to spreadsheets

To export report data as a spreadsheet, click **“Export”** above the table.

![](https://kb-cms.pipedriveassets.com/Exportinsightscsvxlsx.png)

### Data fields

You can export your data field setup from **Personal preferences >** [**Data fields**](https://app.pipedrive.com/settings/fields).

Click on the export icon and choose your preferred format.

![](https://kb-cms.pipedriveassets.com/datafieldsexport.png)

You can export either the **fields setup** or **selectable options** within the fields:

![](https://kb-cms.pipedriveassets.com/Datafieldsexportoptionspng.png)

The **field setup** export includes **item type**, **field name**, **field type**, whether the field is custom and the **API key**.

The **selectable options** export includes **option ID**, **option name**, **item type**, **field name**, f**ield type** and the **API key**.

### API-based data export

The **Pipedrive API** provides endpoints for all major data types, including deals, contacts, organizations, activities and custom fields.

This option is useful for automated or advanced use cases:  

-   **Automated workflows** – Schedule regular data exports without manual intervention
-   **Real-time access** – Pull the most current data instantly rather than generating static files
-   **Custom formatting** – Structure your data exactly as needed for your systems
-   **Selective data retrieval** – Export only specific fields or records that match your criteria
-   **Integration capabilities** – Connect directly with other business tools and databases

To get started, you’ll need an [API token](https://support.pipedrive.com/article/what-is-the-api-key-for) from your Pipedrive account.  

**Note:** For full documentation, code examples and endpoint details, see the [Pipedrive API Reference](https://developers.pipedrive.com/docs/api/v1).  

### Users and access

**Note:** Only users with **account settings** access can export data from this section.

Go to **[Manage users](https://app.pipedrive.com/settings/users) > Users and access** to export user data.

This export includes user name, email, last login time, permission sets and visibility groups.

![](https://kb-cms.pipedriveassets.com/Screenshot%20on%202023-09-12%20at%2012_04_53.png)

* * *

## Where can I find exported files?

When exporting from the **list view** or the **Insights table**, you’ll see a prompt to **download** the file immediately.

![](https://kb-cms.pipedriveassets.com/exportresults.png)

If you close the window, you can download it later from **Tools and apps > [Export data](https://app.pipedrive.com/settings/export)** **> Generated exports** by clicking the **cloud icon**.

![](https://kb-cms.pipedriveassets.com/Exportdata2.png)

**Note:** Exported files are available for 28 days.

Exports from **Insights charts**, **deal detail views**, **data fields** or **users and access** are downloaded directly to your device.
