How to Import and Export Customers in Magento 2
Customer data management is crucial for marketing, administration, as well as order management in a business.
For instance, if you are shifting business from offline to online and you have collected all the details of your regular customers, you can simply import the CSV file having a list of customers to Magento 2 store.
Moreover, if you wish to create an excel file that includes the list of customers, you can simply export the file.
The default Magento 2 allows the merchant to import and export customers.
Steps to Import and Export Customers in Magento 2:
First, let us understand how to export customers.
Method to Export Customers in Magento 2:
- Log in to Magento 2 admin panel
- Navigate to System > Data Transfer > Export
- Under Export Settings, select Customers Main File in Entity Type
- The Export File Format is CSV by default
- In Entity Attribute, select choose the attribute that you want to exclude from CSV file
- Click Continue
- Here is CSV file having customer data.
Import Customers in Magento 2:
Now, let us add customer data in the CSV list and import the file.
- Log in to Magento 2 admin panel
- Navigate to System > Data Transfer > Import
- In Entity Type, select Customer Main File
- Select the Add/Update Complex Data in Import Behavior
- Go to Choose File in Select File to Import
- Click Check Data
That’s it. The customer data is imported.
If you need more help regarding this blog, feel comfortable for asking in the Comments section below.
I would be happy to solve your queries.
Please do consider sharing this blog with Magento Community via social media.
Thank you.
8 Comments
Hi,
Is it possible to export all customer data including their order history?
Hello Joseph,
No, it is not possible
https://meetanshi.com/magento-2-order-history.html
Please refer to the above blog.
Thank You
Hello,
I would like to import a csv with Magento IDs (without email addresses) and match those to existing Magento customers. Do you think this is possible? Thanks in advance.
Hello Thomas,
Such requirement needs customization, it’s not possible with default workflow.
Thank You
Hey, I just followed your steps in importing customer data but I cannot see the customers in the dashboard. Where should l save the chosen import file??
Hello Senzo Ntsele
You can see the customers at Customers->all customers grid.
Additionally, you can download a sample Import file from System > Data Transfer > Import and save it.
Thank You.
How to make it so password not change from Magento to Magento2 import? Is it possible to do in csv?
Hello,
The password remains the same throughout the process of importing and exporting customers.
Please make sure you have followed all the steps properly.
Thank You.