Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

restoring saved passwords from XP to Win 10 Firefox

  • 5 replies
  • 1 has this problem
  • 14 views
  • Last reply by cor-el

more options

I have searched Firefox form for answers on how to restore saved passwords from Firefox under XP SP3 to Firefox win 10. I have moved signons.sqlite, logins.json, and logins.json from the backup disk to my win 10 drive profile. my bookmarks moved but the passwords did not. Both firefox versons were current but when I go into Firefox Tools => options=>security and click on saved passwords, the password screen is empty.

Does XP keep it in a different format? What am I missing?

I have searched Firefox form for answers on how to restore saved passwords from Firefox under XP SP3 to Firefox win 10. I have moved signons.sqlite, logins.json, and logins.json from the backup disk to my win 10 drive profile. my bookmarks moved but the passwords did not. Both firefox versons were current but when I go into Firefox Tools => options=>security and click on saved passwords, the password screen is empty. Does XP keep it in a different format? What am I missing?

Chosen solution

As I already stated, I have already moved these 3 files (signons.sqlite, logins.json, and logins.json ) to my new win 10 laptop and IT FAILED. The Firefox password screen was empty.

Based on the above comments, I moved the WHOLE PROFILE to the win 10 Firefox "Roaming" Profiles folder. Now there are 2 profiles in the folder (Old and the newer profile) I then moved to the Firefox folder and renamed profiles.ini to profiles.bac while my firefox browser was closed. From my backup drive, I moved the Old Profiles.ini which pointed to my old profile. I then opened my win 10 Firefox browser and went to the Tools=>Options=>Security=>saved logins SUCCESS! It was a bit of a brute force method but it worked.

Read this answer in context 👍 0

All Replies (5)

more options

You need the logins.json and key3.db files. The key3.db file stores the encryption key needed to decrypt the user names and passwords stored in the logins.json file.


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

  • bookmarks and history: places.sqlite
  • bookmark backups: JSON backups in the bookmarkbackups folder
  • SQLite files like cookies.sqlite (cookies) and formhistory.sqlite (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 and tab groups
more options

Hi, you must moved the key3.db also, except the logins.json. (the key3.db stores your key database for your passwords).

thank you

EDIT: cor-el is faster :-):-):-)

Modified by ideato

more options
more options

Chosen Solution

As I already stated, I have already moved these 3 files (signons.sqlite, logins.json, and logins.json ) to my new win 10 laptop and IT FAILED. The Firefox password screen was empty.

Based on the above comments, I moved the WHOLE PROFILE to the win 10 Firefox "Roaming" Profiles folder. Now there are 2 profiles in the folder (Old and the newer profile) I then moved to the Firefox folder and renamed profiles.ini to profiles.bac while my firefox browser was closed. From my backup drive, I moved the Old Profiles.ini which pointed to my old profile. I then opened my win 10 Firefox browser and went to the Tools=>Options=>Security=>saved logins SUCCESS! It was a bit of a brute force method but it worked.

more options

You need the matching key3.db file (master password) that is in the same profile where you got the logins.json file. If you do not have the correct key3.db file then your passwords are lost. signons.sqlite is no longer used although Firefox can still import the passwords stored in this file (signon.importedFromSqlite).