{"id":1355,"date":"2020-11-09T16:07:21","date_gmt":"2020-11-09T16:07:21","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/11\/09\/import-and-export-customers-in-magento-2\/"},"modified":"2025-06-16T11:29:22","modified_gmt":"2025-06-16T05:59:22","slug":"import-and-export-customers-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/import-and-export-customers-in-magento-2\/","title":{"rendered":"How to Import and Export Customers in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Customer data management is crucial for marketing, administration, as well as order management in a business.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Moreover, if you wish to create an excel file that includes the list of customers, you can simply export the file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The default\u00a0<a href=\"https:\/\/meetanshi.com\/blog\/what-is-magento\/\">Magento 2<\/a>\u00a0allows the merchant to import and export customers. It also allows to extract <a href=\"https:\/\/meetanshi.com\/blog\/get-postback-data-in-controller-or-model-in-magento-2\/\" data-type=\"link\" data-id=\"https:\/\/meetanshi.com\/blog\/get-postback-data-in-controller-or-model-in-magento-2\/\">Postback Data in Magento 2<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Import and Export Customers in Magento 2:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First, let us understand how to export customers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method to Export Customers in Magento 2:<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/11\/How-to-Import-and-Export-Customer-Data-in-Magento-2-1024x522.png\" alt=\"How to Import and Export Customer Data in Magento 2\" class=\"wp-image-11473\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">1. Log in to Magento 2 admin panel<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Navigate to&nbsp;<strong>System &gt; Data Transfer &gt; Export<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Under&nbsp;<strong>Export Settings<\/strong>, select<strong>&nbsp;Customers Main File<\/strong>&nbsp;in&nbsp;<strong>Entity Type<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. The Export File Format is CSV by default<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5. In&nbsp;<strong>Entity Attribute<\/strong>, select choose the attribute that you want to exclude from CSV file<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">6. Click<strong>&nbsp;Continue<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/11\/How-to-Import-and-Export-Customer-Data-in-Magento-2-CSV-file-1024x421.png\" alt=\"How to Import and Export Customer Data in Magento 2 - CSV file\" class=\"wp-image-11474\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">7. Here is CSV file having customer data.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Import Customers in Magento 2:<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/11\/Screenshot-at-November-5th-2020-10.38.08-am-1024x416.png\" alt=\"How to Import and Export Customer Data in Magento 2 - CSV file\" class=\"wp-image-11475\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now, let us add customer data in the CSV list and import the file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. Log in to Magento 2 admin panel<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Navigate to&nbsp;<strong>System &gt; Data Transfer &gt; Import<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. In&nbsp;<strong>Entity Type<\/strong>, select&nbsp;<strong>Customer Main File<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/11\/Annotation-on-2020-11-05-at-11-13-43-1024x382.png\" alt=\"How to Import Customer Data in Magento 2\" class=\"wp-image-11477\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">4. Select the&nbsp;<strong>Add\/Update Complex Data<\/strong>&nbsp;in<strong>&nbsp;Import Behavior<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5. Go to&nbsp;<strong>Choose File<\/strong>&nbsp;in&nbsp;<strong>Select File to Import<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/11\/Annotation-on-2020-11-05-at-11-15-16-1-1024x388.png\" alt=\"How to Import Customer Data in Magento 2\" class=\"wp-image-11478\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">6. Click&nbsp;<strong>Check Data<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it. The customer data is imported. Apart from this Magento 2 also empowers businesses with robust tools providing facilities of&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/how-to-import-and-export-orders-in-magento-2\/\">importing and exporting orders in Magetno 2<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Please do consider sharing this blog with Magento Community via social media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230;<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1355","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1355"}],"version-history":[{"count":3,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1355\/revisions"}],"predecessor-version":[{"id":16796,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1355\/revisions\/16796"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}