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

Transferring Passwords form Firefox 45.9.0 to 70.0.1

more options

Without using Sync, what is the easiest way to transfer my Firefox passwords from my old Mac (running OS X 10.6.8) to a new Mac (running 10.15.1)?

Is it as simple as moving the old logins.json and key3.db files from the old Firefox Profile folder to the new Firefox Profile folder?

Can I copy the old Firefox Profiles folder and replace the Profile folder in the new Mac with a copy (to get all my bookmarks & passwords)?

Without using Sync, what is the easiest way to transfer my Firefox passwords from my old Mac (running OS X 10.6.8) to a new Mac (running 10.15.1)? Is it as simple as moving the old logins.json and key3.db files from the old Firefox Profile folder to the new Firefox Profile folder? Can I copy the old Firefox Profiles folder and replace the Profile folder in the new Mac with a copy (to get all my bookmarks & passwords)?

Isisombulu esikhethiweyo

Firefox 45 uses key3.db for the key file. Firefox 55 and later use key4.db (SQLite) for the key file. Firefox 55+ can fallback to using key3.db, but that only works when no key4.db is present in the profile folder.

Funda le mpendulo kwimeko leyo 👍 1

All Replies (8)

more options

You can simply copy your profile, and place it on your new computer. Just make sure there is a backup in case of data failure.

more options

If I move the entire Profile folder won't I be moving all the old add-ons, extensions and other files that may not work in the new version of Firefox?

more options

Any old extensions that don't work just won't work, but yes, you can just move the logins files if you want.

more options

Copy logins.json and key3.db from 45 esr profile and remove the existing key4.db to the current profile folder.

more options

Do I understand correctly - the Profile folder in Firefox 70.0.1 has a file named key4.db which needs to be removed before I copy the old key3.db file.

more options

Isisombululo esiKhethiweyo

Firefox 45 uses key3.db for the key file. Firefox 55 and later use key4.db (SQLite) for the key file. Firefox 55+ can fallback to using key3.db, but that only works when no key4.db is present in the profile folder.

more options

Thanks for the complete explanation - really appreciated.

more options

The key3.db fallback seems to no longer be working with Firefox 76.0.1, where I'm trying to do this right now. I just want a clean new version of FF for testing purposes while I personally still use 56, the last version worth a damn with XUL access and all the things that made Firefox unique and useful -- but I would still like to have all of my logins -- so I don't mind fresh installs to get them there. I'll try and see if an intermediate version such as 70 will do.

Result: Yes!

Installing FF 70 (En-US x64 here: https://ftp.mozilla.org/pub/firefox/releases/70.0/win64-EME-free/en-US/ ), following the above instructions and then upgrading seems to work. My logins.json was edited to conform to the new key4.db and the passwords are still available after the upgrade.

If you want to take other profile data with you, it looks like you have to copy the profile folder and/or use Firefox Sync and/or other tools along the way and take care to maximize compatibility at every step by adjusting your settings, about:config, checking in with your extensions and ruling would-be automatic updates with an iron fist until you're done.

Ilungisiwe ngu Benjamin Philipp