Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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.

ابحث في الدعم

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 Saved Logins from Firefox on another PC

  • 2 (ردّان اثنان)
  • 1 has this problem
  • 5 views
  • آخر ردّ كتبه MikeZZ

more options

I need to transfer saved logins from Firefox on a soon to be retired laptop to Firefox on a new laptop. New laptop has a few logins created while setting it up than I copied manually knowing that when I import from the old laptop with many logins, the few on the new laptop will be overwritten. My problem is that Firefox can export logins into a logins.csv file but it seems can only import from a Microsoft browser. Is copying the key4.db and logins.json from the old to the new the only correct way to do this? The old laptops logins.json file has a recent date but the key4.db has a 2018 date even though some new logins were saved last month. Do I only need to copy the logins.json file?

I need to transfer saved logins from Firefox on a soon to be retired laptop to Firefox on a new laptop. New laptop has a few logins created while setting it up than I copied manually knowing that when I import from the old laptop with many logins, the few on the new laptop will be overwritten. My problem is that Firefox can export logins into a logins.csv file but it seems can only import from a Microsoft browser. Is copying the key4.db and logins.json from the old to the new the only correct way to do this? The old laptops logins.json file has a recent date but the key4.db has a 2018 date even though some new logins were saved last month. Do I only need to copy the logins.json file?

الحل المُختار

Hi MikeZZ,

You don't need to do that, You can easily import your logins by using your logins.csv file in Firefox.

  • Just type about:config in URL
  • then, Accept all risks and continue
  • Search signon.management.page.fileImport.enabled and toggle it to true, by default it will be false
  • then go to your passwords settings
  • and boom you will find import from file option.

I hope your problem will be solved, I am attaching screenshots also.

Thank You.

Read this answer in context 👍 1

All Replies (2)

more options

الحل المُختار

Hi MikeZZ,

You don't need to do that, You can easily import your logins by using your logins.csv file in Firefox.

  • Just type about:config in URL
  • then, Accept all risks and continue
  • Search signon.management.page.fileImport.enabled and toggle it to true, by default it will be false
  • then go to your passwords settings
  • and boom you will find import from file option.

I hope your problem will be solved, I am attaching screenshots also.

Thank You.

more options

Thanks, that was easy!

When transferring bookmarks, does it matter if you export/import as HTML or .json?