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!

ابحث في الدعم

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

Firefox logins & passwords

  • 10 ردود
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه FredMcD

more options

Hey, All of the saved logins and passwords are gone while the bookmarks remain.

I noticed that logins and passwords disappeared after the computer turned off unexpectedly due to low battery and unstable power connection couple times in a few minute interval.

How do I get back logins and passwords?

Hey, All of the saved logins and passwords are gone while the bookmarks remain. I noticed that logins and passwords disappeared after the computer turned off unexpectedly due to low battery and unstable power connection couple times in a few minute interval. How do I get back logins and passwords?

All Replies (10)

more options

Firefox 80+ has a logins-backup.json file in the profile folder that can be used in case of issues with logins.json or to undo an accidental delete of a login, so you can check if you can find this file in the profile folder or in a backup and replace the current logins.json. Make sure to keep a backup copy of all involved files (logins.json and key4.db and logins-backup.json)

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

Help -> More Troubleshooting Information -> Profile Folder/Directory: Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

If you use a Primary Password then you can prevent losing passwords by canceling the PP prompt. You need to logout beforehand by canceling a PP prompt, e.g. by clicking the eye icon in Lockwise (about:logins).

more options

Go to your local department/electronics store and look around for a UPS (Uninterruptible Power Supply) that is useful for you. The lowest price is $50 +. There are also units on the market that plug into the computer. So, if the battery gets low, it will shut down the computer to protect it.

Note: Sudden power loss can damage or destroy a hard drive's data.

more options

FredMcD said

Firefox 80+ has a logins-backup.json file in the profile folder that can be used in case of issues with logins.json or to undo an accidental delete of a login, so you can check if you can find this file in the profile folder or in a backup and replace the current logins.json. Make sure to keep a backup copy of all involved files (logins.json and key4.db and logins-backup.json)

Yes, I have: logins.json logins-backup.json logins-json.corrupt

The largest one is logins-json.corrupt and the date when it was previously modified is when the initial problem occured.

I think logins-json.corrupt has all the information of logins and passwords. What should I do with it?

Modified by hoops1

more options

hoops1 said

Yes, I have: logins.json logins-backup.json logins-json.corrupt

What is the size of each of those files?

more options

FredMcD said

hoops1 said

Yes, I have: logins.json logins-backup.json logins-json.corrupt

What is the size of each of those files?

logins.json - 1.84 KB logins-backup.json - 1.84 KB logins-json.corrupt - 26.7 KB

more options

Lets try; rename logins.json to logins.json.old and logins-json.corrupt to logins.json


then use one of these;

https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ +++++++++++++++++++++++++++++++++++++++++ http://www.nirsoft.net/utils/passwordfox.html (Win) PasswordFox v1.58 - Extract the usernames/passwords stored in Firefox Copyright (c) 2008 - 2017 Nir Sofer

Note: Some anti-virus show false positive. +++++++++++++++++++++++++++++++++++++++++ Easily export your passwords from Firefox. https://github.com/kspearrin/ff-password-exporter

Export your passwords from Firefox in a portable CSV or JSON format. It works on Windows, macOS, and Linux. +++++++++++++++++++++++++++++++++++++++++ 3 Tools to Decrypt and Recover Passwords Saved in Firefox • Raymond CC https://www.raymond.cc/blog/how-to-find-hidden-passwords-in-firefox/ +++++++++++++++++++++++++++++++++++++++++ https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ +++++++++++++++++++++++++++++++++++++++++ https://github.com/kspearrin/ff-password-exporter

more options

Do not try to start Firefox yet.

Move these files to a safe location; all of the logins and the key3 and key4 files

Then start Firefox. After, try importing the password files you created from my previous post.

more options

Hi, After doing it, all I got was one login and password - the one I saved after losing all of the passwords.

Are there any other moves I can do?

more options

I think all of the logins and passwords are stored in logins-json.corrupt file (26.7 KB) , maybe there's a way how I can decrypt the information? I could use logins and passwords that are manually accessible.

more options

I called for more help.