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 do I manually transfer my saved passwords to a new linux computer? I do not want to use sync, or send my password information over the network in any way.

  • 1 reply
  • 2 have this problem
  • 2398 views
  • Last reply by cor-el

more options

I am in the process of setting up several new computers. I am going from an older laptop using Debian Linux, and I am setting up several new desktops and laptops running Ubuntu Mate. I want to know how to manually transfer my passwords, selected cookies, and bookmarks to the new computers. I do not want to use sync or the network (internet) in any way. I am not concerned about history, etc, and I can reinstall the latest version of any add-ons manually.

The bookmarks I can manually backup and restore, but the others are a bit more of a problem. I don't want to simply copy my entire profile to the new computers. I want all of the passwords, and selected cookies from places like my bank, so that I don't have to go through their question and answer sessions.

Thanks for any help,

Dan P.

Chosen solution

You need to copy the two files logins.json and key3.db to the Firefox profile folder with Firefox closed.

You can use this button to go to the current Firefox profile folder:


You can copy files like these to the current Firefox profile folder to recover specific data.

  • bookmarks and history: places.sqlite
  • bookmark backups: JSON backups in the bookmarkbackups folder
  • SQLite files like cookies.sqlite (cookies) and formhistory.sqlite (saved form data)
  • logins.json and key3.db (decryption key) for Passwords saved in the Password Manager
  • cert8.db and possibly cert_override.txt for (intermediate) certificates stored in the Certificate Manager
  • persdict.dat for words you added to the spelling checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other Site Preferences
  • sessionstore.js for open tabs and pinned tabs and tab groups

See also:

Read this answer in context 👍 1

All Replies (1)

more options

Chosen Solution

You need to copy the two files logins.json and key3.db to the Firefox profile folder with Firefox closed.

You can use this button to go to the current Firefox profile folder:


You can copy files like these to the current Firefox profile folder to recover specific data.

  • bookmarks and history: places.sqlite
  • bookmark backups: JSON backups in the bookmarkbackups folder
  • SQLite files like cookies.sqlite (cookies) and formhistory.sqlite (saved form data)
  • logins.json and key3.db (decryption key) for Passwords saved in the Password Manager
  • cert8.db and possibly cert_override.txt for (intermediate) certificates stored in the Certificate Manager
  • persdict.dat for words you added to the spelling checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other Site Preferences
  • sessionstore.js for open tabs and pinned tabs and tab groups

See also: