Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I import my passwords into Firefox from the Old Firefox Data Folder?

  • 5 replies
  • 6 have this problem
  • 1549 views
  • Last reply by cor-el

more options

Hi, I'm trying to import my passwords into Firefox from my Old Firefox Data folder but I'm not sure how to do that.

Hi, I'm trying to import my passwords into Firefox from my Old Firefox Data folder but I'm not sure how to do that.

Chosen solution

You can copy these two files to transfer the passwords:

  • logins.json and key3.db

The latter (key3.db) stores the encryption key and need to match the logins.json file to make this work.


You can copy files like these with Firefox closed to the current profile folder to recover specific data.

  • bookmarks and history: places.sqlite
  • bookmark backups: compressed .jsonlz4 backups in the bookmarkbackups folder
  • cookies.sqlite for the cookies
  • formhistory.sqlite for saved form data
  • logins.json and key3.db (decryption key) for Passwords saved in the Password Manager
  • cert8.db and possibly cert_override.txt for (intermediate) certificates stored in the Certificate Manager
  • persdict.dat for words you added to the spelling checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other Site Preferences
  • sessionstore.js for open tabs and pinned tabs

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

Read this answer in context 👍 2

All Replies (5)

more options

Chosen Solution

You can copy these two files to transfer the passwords:

  • logins.json and key3.db

The latter (key3.db) stores the encryption key and need to match the logins.json file to make this work.


You can copy files like these with Firefox closed to the current profile folder to recover specific data.

  • bookmarks and history: places.sqlite
  • bookmark backups: compressed .jsonlz4 backups in the bookmarkbackups folder
  • cookies.sqlite for the cookies
  • formhistory.sqlite for saved form data
  • logins.json and key3.db (decryption key) for Passwords saved in the Password Manager
  • cert8.db and possibly cert_override.txt for (intermediate) certificates stored in the Certificate Manager
  • persdict.dat for words you added to the spelling checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other Site Preferences
  • sessionstore.js for open tabs and pinned tabs

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

more options

Ok I have those two files but where do I go to put them into Firefox?

more options

You can put these files in the Firefox profile folder. See the last part of my above reply about how to access the profile folder:

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

more options

Ok thank you. I got it all fixed.

more options

You're welcome.