# Importing data into Pipedrive with spreadsheets

**Note:** Only users with the correct global permission enabled can import data into Pipedrive. Learn more about [global user management](https://support.pipedrive.com/article/global-user-management).

You can import data into Pipedrive using XLS, XLSX and CSV files. This lets you add or update records such as [people](https://support.pipedrive.com/hc/en/articles/207344305-Contacts-People-and-Organizations-), [organizations](https://support.pipedrive.com/hc/en/articles/207344305-Contacts-People-and-Organizations-), [leads](https://support.pipedrive.com/hc/en/articles/360001998358-Leads-Inbox), [deals](https://support.pipedrive.com/hc/en/articles/207344265-Deals-What-they-are-and-how-to-add-them), [projects](https://support.pipedrive.com/article/projects-by-pipedrive), [activities](https://support.pipedrive.com/hc/en/articles/207344415-Activities), [notes](https://support.pipedrive.com/hc/en/articles/360002748697-How-can-I-add-notes-to-a-deal-or-contact-) and [products](https://support.pipedrive.com/hc/en/articles/206759569-Products) in bulk.

Before importing, make sure your data matches [how Pipedrive organizes information](https://support.pipedrive.com/article/how-is-pipedrive-data-organized). For example, companies should be imported as organizations.

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

For a hands-on example, you can download a [sample spreadsheet](https://support.pipedrive.com/hc/en/articles/360000582289-Does-Pipedrive-offer-sample-import-spreadsheets-), take the **“Get started with the basics” [Pipedrive Academy course](https://www.pipedrive.com/en/academy/courses/get-started-with-the-basics?ref=kb_article)** or join our **[weekly webinar](https://app.livestorm.co/pipedrive/how-to-import-your-data?type=detailed)** for a guided walkthrough.

You can also read more about CRM data import and export in [this post](https://www.pipedrive.com/features/data-import-export).

* * *

## Before you start

Preparing your file correctly helps you avoid errors during import.

### Decide what you want to import

Start by defining what items you want to **create** or [**update in Pipedrive**](https://support.pipedrive.com/article/updating-pipedrive-data-with-a-spreadsheet). This determines how your spreadsheet should be structured.

For example, you might want to import contacts only, contacts with deals or new deals for existing contacts.

### Structure your spreadsheet

Your spreadsheet should follow a simple format:

-   Each column represents a field in Pipedrive (e.g., name, deal value)
-   Each row represents one record

All data in a row is linked. For example, if one row contains a **person name**, **organization name** and **deal value**, Pipedrive will create and link all three.

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

### Include mandatory fields

Each item must include its [mandatory fields](https://support.pipedrive.com/article/importing-mandatory-fields). If these are missing, these items won’t be imported.

For example:

-   People require a **name** (or **first name** and **last name**)
-   Organizations require a **name**
-   Deals and leads require a **linked person** or **organization**

To reduce duplicates, include additional identifiers, such as email or phone number, whenever possible.

### Match fields in Pipedrive

Make sure each column in your spreadsheet matches to a field in Pipedrive.

If your data doesn’t match **default** **fields**, create **[custom fields](https://support.pipedrive.com/article/custom-fields)** before importing. You can do this in **account menu >** **Personal preferences > [Data fields](https://app.pipedrive.com/settings/fields)**.

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

For a list of supported fields and how they map during import, see [this article](https://support.pipedrive.com/article/import-fields).  

### Check file requirements

Before uploading your file, confirm that it meets these requirements:

-   XLS, XLSX or CSV format
-   One tab per import
-   A header row with column names
-   No more than 200,000 rows
-   File size under 50 MB

* * *

## How the import process works

Go to **account menu > Tools and apps > Import data > [Import from spreadsheet](https://app.pipedrive.com/settings/import/history)**, then click **“****Get started”**.  

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

Click **“Next”** to continue.

### Step 1: File info

Select the data types included in your file. Pipedrive highlights mandatory fields and expected structure.  

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

Click **“Next”** to continue.

### Step 2: Upload file

Click **“Upload spreadsheet”** and select your file.

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

Once uploaded, Pipedrive automatically checks your file for common issues, such as:

-   unsupported file format
-   exceeding row limits
-   missing headers
-   empty or misaligned columns

If there’s a problem, you’ll see an error message with guidance on what to fix. If everything looks correct, you can continue to the next step.  

### Step 3: Map fields

Pipedrive automatically maps your spreadsheet columns to fields based on column names.

Review mapped fields carefully. If a column isn’t matched, drag and assign it manually.  

![](https://kb-cms.pipedriveassets.com/spreadsheet4.gif)

**Note:** Learn more about [mapping](https://support.pipedrive.com/article/importing-mapping-your-fields) and [advanced mapping](https://support.pipedrive.com/article/importing-advanced-mapping).

If a field doesn’t exist, **add a custom field**.

![](https://kb-cms.pipedriveassets.com/Screenshot%202024-08-01%20at%2014.27.48.png)

Once you’re finished mapping, click **“Next.”**

### Step 4: Preview

The preview shows how your data will appear after import.

Check that:

-   Data is assigned to the correct fields
-   Items are linked correctly
-   No information is missing

![](https://kb-cms.pipedriveassets.com/spreadsheets5.gif)

**Note:** If your file doesn’t include **deal**, **lead** or **project titles**, Pipedrive generates them from the contact person name or the organization name.

This is your last chance to catch issues before the import is completed.  

### Step 5: Finish

Choose how to handle duplicates. If [duplicates are detected](https://support.pipedrive.com/article/how-does-the-merge-duplicates-feature-identify-duplicates-in-pipedrive), you can merge them instead of creating new records.

![](https://kb-cms.pipedriveassets.com/import%20merge%20overwrite%20append.png)

When updating multiple option fields, you can choose whether new values are added to the existing selection or replace it entirely.

Select **”Overwrite”** to remove the existing values and replace them with your new selection, or **”Append”** to keep the current values and add the new ones alongside them.

Then, click **“Start import”** to complete the process.

* * *

## After your import

Once the import is complete, you’ll see a summary in the **import history** tab.

This includes how many records were **added**, **updated**, **merged** or **skipped**. Click **“View”** to see details.  

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

### Fix skipped entries

If some rows weren’t imported, they’ll appear in a **[s](https://support.pipedrive.com/article/importing-errors-and-skip-files)****[kip file](https://support.pipedrive.com/article/importing-errors-and-skip-files)** with the reason for each failure.

For example, rows may be skipped due to an invalid date format.  

To fix this:

-   Download the **skip file**
-   Correct the issues
-   Re-import the file

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

### Revert an import

**Note:** Only users with global admin permissions can revert imports.

If needed, you can revert an import from the **import history** tab **within 48 hours**.  

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

If the **revert** button is unavailable, [contact our support team](https://support.pipedrive.com/hc/en/articles/115005875565) for help.
