Magento 2 allows the merchant to import and export customers.
Steps to Import and Export Customer Data in Magento 2
First, let us understand how to export customers.How to Export Customer Data 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.
How to Import Customer Data in Magento 2

- 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