搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Can Firefox bookmarks and/or passwords be transferred from old hard drive?

  • 1 回覆
  • 0 有這個問題
  • 32 次檢視
  • 最近回覆由 cor-el

more options

I just built a new computer with all new parts and Windows 11. The old one is disassembled. I realized afterwards that I had forgotten to save the bookmarks and passwords into the formats that make importing easy. So I have the original hard drive where Firefox was located on (with Windows 10). Is there a way to copy/paste/import any folders and/or files from the original hard drive to the one on the new computer to transfer the bookmarks and/or passwords?

I just built a new computer with all new parts and Windows 11. The old one is disassembled. I realized afterwards that I had forgotten to save the bookmarks and passwords into the formats that make importing easy. So I have the original hard drive where Firefox was located on (with Windows 10). Is there a way to copy/paste/import any folders and/or files from the original hard drive to the one on the new computer to transfer the bookmarks and/or passwords?

所有回覆 (1)

more options

Note that copying files directly replaces all current bookmarks/passwords with the ones in the file you restore.


You can copy certain files with Firefox closed from one profile folder to another profile folder to transfer personal data. Note that best is to avoid restoring a full profile folder and only restore important files that are safe to restore/transfer.


  • bookmarks and history: places.sqlite
  • favicons: favicons.sqlite
  • bookmark backups: compressed .jsonlz4 JSON backups in the bookmarkbackups folder
  • cookies.sqlite for the Cookies
  • formhistory.sqlite for saved autocomplete Form Data
  • logins.json (encrypted logins) and key4.db (encryption key/primary password) for logins saved in the Password Manager
  • cert9.db for certificates stored in the Certificate Manager
  • persdict.dat for words added to the spell checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other website specific data (Site Preferences)
  • sessionstore.jsonlz4 for open tabs and pinned tabs (see also the sessionstore-backups folder)