Magento 2.x – Import customers csv with encrypted passwords


Hi there,

If you are trying to import customers with an assigned password, or just modify a customer password trough the Magento csv import tool, you will have to bear in mind, that Magento uses the SHA2 encryption type, so, you will have to set the password value encrypted.

For instance, if you want to set up a password like “Happy2022!” you will need to put this in your csv password_hash column: “bf2bfd4cef27cbd8a1d73f76d0f32284589417dd5abcdfe6601b80dab6ac7240:xxxxxxxx:1”

You can use as example, the following csv file:

Hope it helps.

Enjoy.!