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.

ابحث في الدعم

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 Bookmarks and Passwords

  • 5 ردود
  • 1 has this problem
  • 4112 views
  • آخر ردّ كتبه csoppet

more options

Hi,

I brought my computer to Best Buy for some audio issues it was having. They reset my OS and drivers and now I lost all of my Mozilla Firefox bookmarks and passwords. I do not have a recent JSON backup file. How can I recover these?

Thanks.

Hi, I brought my computer to Best Buy for some audio issues it was having. They reset my OS and drivers and now I lost all of my Mozilla Firefox bookmarks and passwords. I do not have a recent JSON backup file. How can I recover these? Thanks.

الحل المُختار

You need to copy logins.json (encrypted logins) and a matching key4.db (decryption key) to the current profile folder to restore the usernames and passwords.

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 👍 1

All Replies (5)

more options

Did they restore windows? Look for a folder called windows.old

more options

They pretty much left everything up to me. I did manage to restore all of my bookmarks, which is a major relief. I just need to restore my logins. I found a JSON file called "logins" that has the 100+ logins saved, but I cannot figure out how to import the logins from the file.

more options

الحل المُختار

You need to copy logins.json (encrypted logins) and a matching key4.db (decryption key) to the current profile folder to restore the usernames and passwords.

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

cor-el said

You need to copy logins.json (encrypted logins) and a matching key4.db (decryption key) to the current profile folder to restore the usernames and passwords. 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.

I copied the logins.json file and a key4.db file to the current profile folder, but Firefox has failed to import the logins. I noticed that the key4.db file is from 2 years ago. I cannot find any other key4.db files, however. It's also strange that there weren't existing logins.json or key4.db files already in the profile folder, since there are 15 logins that populate Lockwise, which were saved from my mobile device.

more options

cor-el said

You need to copy logins.json (encrypted logins) and a matching key4.db (decryption key) to the current profile folder to restore the usernames and passwords. 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.

Aha, I was able to get your solution to work. Note that when I searched for my profile folder within Firefox using the "..." menu, it took me to an erroneous profile folder. When I used the run screen to pull up the profile folders, it took me to the correct profile folder, where I copied the logins.json and key4.db files. That worked! Thank you so very much for your help!