Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Learn More

passwords got delete

  • 3 wótegrona
  • 1 ma toś ten problem
  • 24 naglědow
  • Slědne wótegrono wót cor-el

more options

Hi

My saved passwords got deleted accidentally.

How can i restore.

I have previous import file its a .csv

Thanks Heshan

Hi My saved passwords got deleted accidentally. How can i restore. I have previous import file its a .csv Thanks Heshan

Wšykne wótegrona (3)

more options

Hi Heshan, I am not aware of a method for importing logins from a file into Firefox 57 or later.

I looked into writing a Browser Console script for it the other day, but I couldn't get it working. https://support.mozilla.org/questions/1252564

Can you recover the two critical files from a Time Machine backup? Those would be:

  • logins.json
  • key4.db

in your Profile folder. See: Profiles - Where Firefox stores your bookmarks, passwords and other user data.

more options

Current Firefox releases do not have a way to import the passwords from a CSV file.

Did you check that Firefox didn't switch profiles because Firefox 67 DE might be using its own profile?

You need a backup copy of logins.json and key4.db to restore lost passwords. The logins.json and key4.db need to match because the key file stores the encryption key necessary to be able to decrypt the usernames and passwords stored in logins.json.

If you use the Time Machine or other backup then try to restore file(s) from this backup.

more options

Note that it is actually quite easy to import passwords in the Password Manager using an array of JSON data (LoginHelper.maybeImportLogins(); in older Firefox versions LoginHelper.maybeImportLogin()).

Updating an existing password requires a lot more work (Services.logins.modifyLogin())

Wót cor-el změnjony