Title: Export the user&#8217;s password
Last modified: January 4, 2018

---

# Export the user’s password

 *  Resolved [modalia](https://wordpress.org/support/users/modalia/)
 * (@modalia)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/export-the-users-password/)
 * Hi, first of all congratulations on your plugin. I have used it in combination
   with WP ALL Import to migrate users.
 * The only thing that is missing is to be able to export the password. How could
   I do to export the password of the users?

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/export-the-users-password/#post-9974861)
 * Passwords are encrypted in the database, so exporting them into a different format
   is near impossible. Honestly, it’s also a bit not advisable. But I’ll look into
   it in more detail to see what I can come up with.
 *  Plugin Author [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-the-users-password/#post-10013751)
 * HI [@modalia](https://wordpress.org/support/users/modalia/)
 * I actually forgot that there’s a filter already to allow you to export the password.
   Here’s how you can enable that by default:
 *     ```
       add_filter('pp_eu_exclude_data', 'my_include_password');
   
       function my_include_password() {
           return array();
       }
       ```
   
 * If you need guidance implementing custom PHP functions on your website, I wrote
   this guide here on the GiveWP website: [https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/](https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/)
 * Thanks!
 *  [ggoodencasa](https://wordpress.org/support/users/ggoodencasa/)
 * (@ggoodencasa)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-the-users-password/#post-10050865)
 * After adding that filter, should your export be exporting passwords now? (it 
   didn’t).. I’m sure I missed a crucial step. 🙂
 *  Plugin Author [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-the-users-password/#post-10055357)
 * Yes it should. Can you provide a screenshot of how you implemented that snippet
   so I can see it?
 *  [ggoodencasa](https://wordpress.org/support/users/ggoodencasa/)
 * (@ggoodencasa)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-the-users-password/#post-10057691)
 * I went to go get your screencap and discovered it was an IO Error (idiot operator)…
   I had neglected to turn ON the php inserter plugin… (blush)…
 * It worked!
    Gregory
 *  Plugin Author [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-the-users-password/#post-10058031)
 * Not a problem at all, it happens to all of us. Happy to help!
 * If you’re enjoying this plugin and appreciate my support, I’d love a kind review
   from you here:
    [https://wordpress.org/support/plugin/export-the-users-password/reviews/](https://wordpress.org/support/plugin/export-the-users-password/reviews/)
 * Thanks!
 *  [yumiko](https://wordpress.org/support/users/yumiko/)
 * (@yumiko)
 * [8 years ago](https://wordpress.org/support/topic/export-the-users-password/#post-10240979)
 * Hi Matt,
 * Thank you for developing your plugin and also for the snippet for user passwords.
 * However, it’s not working for me, yet. I have My Custom Functions turned on. 
   I would like to send you a screen shot but don’t see a way to attach any file.
 * So I added a user and exported users for May. The password appears to be encrypted.
 * What did I do wrong?
 *  Plugin Author [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [8 years ago](https://wordpress.org/support/topic/export-the-users-password/#post-10241011)
 * The passwords will always be encrypted — there’s nothing I can do about that.
   WordPress does not save the unencrypted passwords anywhere at all because that
   would be a serious security concnern. Regardless, when you import these users
   the passwords will be saved to the database in their encrpyted formats, and will
   work for that user when they use their normal password.
 *  [yumiko](https://wordpress.org/support/users/yumiko/)
 * (@yumiko)
 * [8 years ago](https://wordpress.org/support/topic/export-the-users-password/#post-10248198)
 * Hi Matt,
    Thank you so much for your explaination. I am happy to hear that encrypted
   passwords work.
 *  [marianprg](https://wordpress.org/support/users/marianprg/)
 * (@marianprg)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/export-the-users-password/#post-10563309)
 * Hello, Matt, pls, is it possible to export passwords to a completely different
   web which is not made on WP? I am totally beginner, but able to understand some
   principles like that there is some hashing/encrypting and the passwords are exported
   in an encrypted form. But can that hashing algorithm/key be exported too and 
   implemented into a new nonWP website? The goal is that members use their passwords
   also on the new website with no problem. And the last question: Does this export
   work if using Woomembers/subscription on WP? Thanks a lot! Marian
 *  Plugin Author [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/export-the-users-password/#post-10587262)
 * [@marianprg](https://wordpress.org/support/users/marianprg/) — That is not possible
   from a WP plugin perspective. That would depend entirely on the non-WP site’s
   capabilities to import the data and use passwords that are MD5 encrypted.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Export the user’s password’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/export-users-to-csv_8abacf.svg)
 * [Export Users to CSV](https://wordpress.org/plugins/export-users-to-csv/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/export-users-to-csv/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/export-users-to-csv/)
 * [Active Topics](https://wordpress.org/support/plugin/export-users-to-csv/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/export-users-to-csv/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/export-users-to-csv/reviews/)

## Tags

 * [export](https://wordpress.org/support/topic-tag/export/)
 * [passwords](https://wordpress.org/support/topic-tag/passwords/)
 * [users](https://wordpress.org/support/topic-tag/users/)

 * 11 replies
 * 5 participants
 * Last reply from: [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/export-the-users-password/#post-10587262)
 * Status: resolved