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

Lost Passwords due Update-logins.json.corrupt renaming not possible

more options

Dear Firefox Support Team,

I am contacting you because I have a problem with lost passwords in my Firefox browser after updating Firefox. I have already tried various methods to recover my passwords, but so far without success.

I have some corrupt logins.json files in my profile folder. So first the newly created one (where no passwords are included with 1kb) logins.json and then logins.json.corrupt, logins.json-1.corrupt and 7 more corrupt files up to number 8 all with 44kb. For handlers.json a total of 13 .corrupt files were created. Tried of course to rename the logins.json.corrupt file to logins.json and restart Firefox. However, after each restart a new empty logins.json file was created with a size of 1 KB and my 44kb file is renamed to corrupt again.

Also copied the key4.db and the corrupt logins.json.corrupt (of course renamed and the corrupt removed) to a new profile but there it becomes the corrupt file again.

Unfortunately there are also no previous versions of the file under properties->previous versions.

I also tried running the script "firefox_decrypt.py" from a GitHub repository to recover my passwords. This also did not produce the desired result. Using Notepad++, the corrupt file unfortunately has only "NULL" values. Is there any other way to get the lost passwords back?

Sincerely, Justus

Dear Firefox Support Team, I am contacting you because I have a problem with lost passwords in my Firefox browser after updating Firefox. I have already tried various methods to recover my passwords, but so far without success. I have some corrupt logins.json files in my profile folder. So first the newly created one (where no passwords are included with 1kb) logins.json and then logins.json.corrupt, logins.json-1.corrupt and 7 more corrupt files up to number 8 all with 44kb. For handlers.json a total of 13 .corrupt files were created. Tried of course to rename the logins.json.corrupt file to logins.json and restart Firefox. However, after each restart a new empty logins.json file was created with a size of 1 KB and my 44kb file is renamed to corrupt again. Also copied the key4.db and the corrupt logins.json.corrupt (of course renamed and the corrupt removed) to a new profile but there it becomes the corrupt file again. Unfortunately there are also no previous versions of the file under properties->previous versions. I also tried running the script "firefox_decrypt.py" from a GitHub repository to recover my passwords. This also did not produce the desired result. Using Notepad++, the corrupt file unfortunately has only "NULL" values. Is there any other way to get the lost passwords back? Sincerely, Justus

All Replies (3)

more options

Is there a logins-backup.json file in the profile folder that you could try renaming? (after making a backup copy of it first)

more options

The first article may help. Renaming logins-backup.json (as mentioned in the previous post) may be sufficient. You should close Firefox before doing that.

https://support.mozilla.org/en-US/kb/recover-user-data-missing-after-firefox-update https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_finding-your-profile-without-opening-firefox

more options

TechHorse said

Is there a logins-backup.json file in the profile folder that you could try renaming? (after making a backup copy of it first)

I also think this is great from Firefox, a backup was created but only from the newly created logins.json with 1kb