# Import and export customers
Bring customers in from a CSV file, match its columns, fix rejected rows, and export your customer list as a CSV.
Import a CSV file to add many customers at once, for example when you move to Crate from another tool. Export a CSV to work with your customer list in a spreadsheet.
> [!WARNING]
> A customer import can't set marketing consent. To bring in people who agreed to get your emails, import them as subscribers instead. See [Import and export subscribers](/support/email-marketing/import-and-export-email-subscribers).
## Before you start
Save your file as a UTF-8 CSV with a header row. Crate can import these columns:
| Field | Required | Notes |
|---|---|---|
| Email | Yes | Must be a valid email address. Crate uses it to match existing customers. |
| First name | No | |
| Last name | No | |
| Phone | No | Use international format, for example +1 202 555 0123. |
If a row's email already belongs to a customer in your store, that customer is updated instead of duplicated.
## Step 1: Upload the file
1. In the sidebar, go to **Customers**.
2. Open the **More options** menu at the top of the page and choose **Import CSV**.
3. Drag the file onto **Drop your CSV here**, or choose **Choose file**.
```screenshot customers/import-and-export-customer-csv/01-import-upload
alt: The New import page for customers with the Drop your CSV here area, the Choose file button and the size limits
caption: Files can be up to 10 MB, 50,000 rows and 200 columns.
```
## Step 2: Review your columns
1. Choose **Review columns**.
2. For each header in your file, pick the Crate field it holds. Choose **Skip this column** for anything you don't want to import, including any consent columns.
3. Check the **Sample validation** table. It checks the first rows of the file. Every row is checked again during the import.
```screenshot customers/import-and-export-customer-csv/02-import-review-columns
alt: The Review imported columns step with each CSV header matched to a Crate field and the Sample validation table below
caption: Match each header to a field, or skip it.
```
## Step 3: Start the import
Choose **Start import**. If the sample found problems, the button reads **Import valid rows** instead: only rows that pass are imported, and the rest are listed after the run.
Crate shows **Import queued. It runs in the background. You can leave this page.**
When the import finishes, review the result. If rows were rejected, choose **Download full error report**, fix those rows in your file, and choose **Upload a corrected file**.
## Export customers
1. In the sidebar, go to **Customers**. Apply any tab, search or filter you want the export to follow.
2. Open the **More options** menu and choose **Export CSV**.
3. Under **Columns**, choose the fields you need. If you choose none, every column is exported.
4. Choose **Build export**.
```screenshot customers/import-and-export-customer-csv/03-export-new
alt: The New export page for customers with What to export, the Columns list and the Build export button
caption: The file builds in the background. Download it from Exports.
```
The file builds in the background. Download it from **Exports** when it's ready.
> [!TIP]
> To export only a few customers, tick them in the list and choose **Export selected**. The file downloads straight away. You can export up to 500 customers this way.
## Check the limits
| | Limit |
|---|---|
| File size | 10 MB |
| Rows in one file | 50,000 |
| Columns in one file | 200 |
| Customers in one **Export selected** download | 500 |
## If something goes wrong
| Message | What to do |
|---|---|
| "This CSV has duplicate headers. Rename those columns and upload the corrected file before importing." | Give every column a different header, save, and upload again. |
| "Marketing consent cannot be imported here. Skip consent columns and use Subscribers for email consent." | Set the consent columns to **Skip this column**. |
| "This CSV could not be read. Save it as UTF-8 CSV and upload the corrected file." | Your spreadsheet saved the file in another text format. Save it again as CSV UTF-8 and upload it. |
## Related
- [Add and update a customer](/support/customers/manage-your-customers)
- [Import and export your data](/support/getting-started/export-your-data)
