firefoxpasswords

Where in the filesystem does Firefox store saved passwords?


You probably think this is a duplicate of this question. It's not, because that question has never been sufficiently answered.

Where does Firefox store passwords? It must be in a directory somewhere, right?

My best guess would be (on Linux) somewhere in /home/user/.mozilla/someprofile.default/...

I would greatly appreciate it, if someone could finally answer this question.


Solution

  • Not a programming related question. But the steps are as follow:

    1. Open your profile folder:

      Click the menu button (three horizontal bars), click help and select Troubleshooting Information. The Troubleshooting Information tab will open.

    2. Under the Application Basics section, click on Show Folder. A window with your profile files will open.

    Passwords

    Your passwords are stored in two different files, both of which are required:

    key3.db - This file stores your key database for your passwords. To transfer saved passwords, you must copy this file along with the following file.

    logins.json - Saved passwords.

    For more information see Password Manager - Remember, delete, change and import saved passwords in Firefox.

    Got them from this Mozilla support post:

    Recovering important data from an old profile