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.

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

Restoring Bookmarks from another drive

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

more options

I have been using Firefox for well over a decade. Recently, I had to reformat my boot drive, the hard drive C drive.

I lost programs, but not files, as I had done a simple copy of the entire file structure, directories, files, everything, to an external drive. However, I stupidly forgot to export the firefox bookmarks first. So i have a brand new firefox install, but no bookmarks.

Can someone please direct me to where I would go on the external drive to get all my old firefox bookmarks, and the best way to import them into my new installation?

Thank you.

I have been using Firefox for well over a decade. Recently, I had to reformat my boot drive, the hard drive C drive. I lost programs, but not files, as I had done a simple copy of the entire file structure, directories, files, everything, to an external drive. However, I stupidly forgot to export the firefox bookmarks first. So i have a brand new firefox install, but no bookmarks. Can someone please direct me to where I would go on the external drive to get all my old firefox bookmarks, and the best way to import them into my new installation? Thank you.

All Replies (1)

more options

Firefox uses two locations for the Firefox profile folder.

One location for your personal data (e.g. bookmarks) and another location for temporary files like the disk cache, so make sure to look in the correct location.

Location used for the main profile that keeps your personal data (Root Directory on about:profiles).

  • C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>

Location used for the disk cache and other temporary files (Local Directory on about:profiles).

  • C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\<profile>

You can copy certain files with Firefox closed to the current profile folder to transfer/recover/backup your personal data. Note that best is to avoid copying a full profile folder.


  • 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 (decryption key and 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)