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

How to backup passwords in Firefox 70.0.1

  • 10 replies
  • 1 has this problem
  • 1 view
  • Last reply by Codee

more options

The logins.json and key4.db required in earlier version for the password backup but my key4.db not changed since 6 months! How can I backup the passwords in the Firefox 70.0.1 version?

The logins.json and key4.db required in earlier version for the password backup but my key4.db not changed since 6 months! How can I backup the passwords in the Firefox 70.0.1 version?

Chosen solution

Codee said

If the logins.json and key4.db files in use then I do not understand why the key4.db file not updated since 6 months! This is what scared me!

That's OK. This file shouldn't change every time you change a password. Maybe never.

Read this answer in context 👍 1

All Replies (10)

more options

Password:Recovery:Restore:Export 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)


In the event that the passwords information is lost, you should record all information in a separate text file somewhere else on your hard drive, or written down. You can easily copy and paste if you need to do so. If you are concerned about someone else looking at that file, you can compress it using a password.

more options

Thank you! But there isn't any way to do it without any software and do it with copy/paste the files from the 'C:\Users\USERNAME\AppData\Roaming\Mozilla\Firefox\Profiles\RANDOMNAMEDDIRECTORY' to an other (for safekeep)?

more options

If I choose the password exporter https://github.com/kspearrin/ff-password-exporter then how can I import the exported password csv or json file into the FireFox?

more options

Check the instructions for that program because I don't know. What you should do is create a text file and use that. (copy/paste)

more options

Firefox 70 still uses logins.json and key4.db, so you can backup these two files. If you want to test/verify this then create a new profile and copy logins.json and key4.db to this profile with Firefox closed.

more options

@FredMcD Thanks! But I do not understand what you mean on the txt file for the password export.

@cor-el Thanks! If the logins.json and key4.db files in use then I do not understand why the key4.db file not updated since 6 months! This is what scared me!

more options

Chosen Solution

Codee said

If the logins.json and key4.db files in use then I do not understand why the key4.db file not updated since 6 months! This is what scared me!

That's OK. This file shouldn't change every time you change a password. Maybe never.

more options

OK! THX all of you for your help!

more options

Key4.db will probably only be modified if you change the master password, otherwise there is not need to update this SQLite database.

more options

cor-el said

Key4.db will probably only be modified if you change the master password, otherwise there is not need to update this SQLite database.

THX!