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

password storage

  • 6 svar
  • 1 har dette problemet
  • 2 views
  • Siste svar av cor-el

more options

Hi

Question I am redoing my computer and have considered restarting firefox at the same time being I have been on the same profile for ages and figured might be worth just restarting with a new profile.

Now I know I can import bookmarks and such into the new profile after backing them up of course.

Question I have regards passwords and log ins.

I remember some time back I had lost some files including these and was able to restore them from an old back up of the profile. I think it was 2 files.

Are these files profile specific or can they be backed up on this profile and then copied into a new profile and work OK??

Or I just saw EXPORT LOGINS if I use this will it back up all my logins and then allot me to import them into the new profile like the bookmarks back up?

Thanks

Hi Question I am redoing my computer and have considered restarting firefox at the same time being I have been on the same profile for ages and figured might be worth just restarting with a new profile. Now I know I can import bookmarks and such into the new profile after backing them up of course. Question I have regards passwords and log ins. I remember some time back I had lost some files including these and was able to restore them from an old back up of the profile. I think it was 2 files. Are these files profile specific or can they be backed up on this profile and then copied into a new profile and work OK?? Or I just saw EXPORT LOGINS if I use this will it back up all my logins and then allot me to import them into the new profile like the bookmarks back up? Thanks

Endret av scottish2

All Replies (6)

more options

logins.json and key3.db [v58+]key4.db : These are the password files. Copy Both !


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 +++++++++++++++++++++++++++++++++++++++++ If you don't find a third party script or program you can trust, you can run a script in Firefox's Browser Console to spit out the list in CSV or JSON format. For example:

JSON file: https://support.mozilla.org/questions/1258644

CSV: https://support.mozilla.org/questions/1253828 (copy/paste from console)


chrome://passwordmgr/content/passwordManager.xul

chrome://passwordmgr/content/passwordManager.xhtml

more options

Back up and restore information in Firefox profiles {web link} I use an add-on that makes backups of my user profile, Just In Case. Unfortunately, it is not compatible with the current Firefox.

Every now and then, open the profile folder and create a copy of the current profile as is to another location on your hard drive. This way you will have a backup.

If you do this each day, you will not lose much data. This should be done with Firefox Closed.

Note: In case you need to restore from these backups, you may need to overwrite old or corrupted files.

more options

FredMcD said

logins.json and key3.db [v58+]key4.db : These are the password files. Copy Both ! 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 +++++++++++++++++++++++++++++++++++++++++ If you don't find a third party script or program you can trust, you can run a script in Firefox's Browser Console to spit out the list in CSV or JSON format. For example: JSON file: https://support.mozilla.org/questions/1258644 CSV: https://support.mozilla.org/questions/1253828 (copy/paste from console) chrome://passwordmgr/content/passwordManager.xul chrome://passwordmgr/content/passwordManager.xhtml

right but both those will work with any new profile right they are not profile specific? Cause it's been years since I had a new profile and just figure best to restart firefox at same time

more options

Not sure if that got posted as I don't see it in the message thread.

Backing those up will work with any new profile right they are not password specific.

Also i see both

Key3.db Key4.db

in the folder I assume I need to back up both will be using the most up to date version of firefox when I get the system back up and running

more options

The Key3.db file is no longer in use.

more options

Note that you can export and import logins as CSV in Firefox 80 and newer, so you can use this in addition of backup up logins.json and key4.db.