Skip to content

Export and Import Bookmarks or Favorites in Firefox on a Computer

Moving to another browser, or need a spare copy of your Firefox bookmarks? An HTML export keeps the folders and links portable. Firefox's Library handles the import and the automatic backup restore.

Open the Firefox menu, choose Bookmarks, then Manage bookmarks, and use Import and Backup to export bookmarks.html. Use that same file to bring the links into Firefox or another browser.

In this guide, I have covered:

Export Firefox bookmarks to an HTML file for a backup or a move

If you are switching browsers or want a portable backup, export the bookmarks from the Firefox profile you want to keep. Firefox saves them as an HTML file that you can store on the computer or move to another device.

  1. Open Firefox on your computer.
  2. Click the horizontal 3-bar icon menu in the top-right corner.
  3. Select Bookmarks.
  4. Select Manage bookmarks to open the Library.

    Firefox Library with Import and Backup menu
  5. Select Import and Backup in the Library toolbar.
  6. Select Export Bookmarks to HTML.
  7. Choose a folder where you can easily find the file.
  8. Enter a file name, or keep the default name bookmarks.html.

    Firefox Export Bookmarks File dialog
  9. Click Save.

You’ll know the export worked when Firefox closes the file picker and bookmarks.html is in the folder you chose. Keep the file where you can find it, or transfer it to the destination computer before you start an import.

Import bookmarks from an HTML file into Firefox

If the saved links are still in another browser, export them there first. Firefox calls them bookmarks, while Edge uses the term Favorites.

Once the file is on your computer, open Firefox’s Library first.

  1. Click the hamburger menu horizontal 3-bar icon in the top-right corner of Firefox.
  2. Select Bookmarks.
  3. Click Manage bookmarks. Firefox opens the Library in a new tab.

With the Library open, use the HTML import command. The same menu can restore a JSON backup if that is the file you have.

  1. In the Library, click Import and Backup in the top toolbar.
  2. Choose Import Bookmarks from HTML… for an HTML export, or choose Restore then Choose File… for a JSON backup.
  3. Browse to the file. Firefox exports usually have names like bookmarks.html or a JSON snapshot from the bookmarkbackups folder.
  4. Select the file and click Open or Import.

You’ll know the import worked when the new folders and links appear in the Library. Importing adds them to your existing bookmarks, so importing the same file twice can create duplicate entries.

If both the source and destination are Firefox profiles, use the profile-specific steps in Export and Import Bookmarks Between Firefox Profiles on Computer.

Restore bookmarks from a Firefox backup

If an update or profile problem removed your bookmarks, an automatic Firefox backup may hold an older copy. If a Firefox update appears to be the cause, see Firefox Update Wiped Out Your Tabs and Bookmarks? Get Them Back before replacing the current set.

note icon

Restoring a backup replaces the current bookmarks file with the selected snapshot. Export a fresh HTML copy first if you want a safety backup.


  1. Click the hamburger menu horizontal 3-bar icon in the top-right corner of Firefox.
  2. Select Bookmarks.
  3. Click Manage bookmarks. Firefox opens the Library in a new tab.

  1. With the Library open, click Import and Backup in the top toolbar.
  2. Hover over Restore to open the submenu.
  3. Pick the most recent dated backup that still contains your bookmarks. Entries are listed newest first.
  4. Confirm the replacement prompt. Firefox overwrites the current bookmarks file with the snapshot.

You’ll know the restore worked when the dated backup opens in the Library and your saved folders are visible.

Choose an HTML file or Firefox Sync

If you only need a one-time move, the HTML file is the simplest option. If the same bookmarks need to stay current on several devices, you can sync the bookmarks between computer and phone device after signing each device into the same Mozilla account.

Frequently Asked Questions

Most bookmark moves raise the same few questions: file format, old bookmarks, and where the export went.

Does Firefox export bookmarks to HTML or JSON?

Firefox exports portable bookmark lists as an HTML file, usually named bookmarks.html. Its automatic Restore list uses JSON snapshots, while the HTML export is convenient for moving links to another browser.

Can I import favorites from Chrome, Edge, or Safari into Firefox?

Yes. Export the source browser’s bookmarks to an HTML file, then choose Import and Backup followed by Import Bookmarks from HTML in Firefox’s Library.

Will importing an HTML file delete my existing Firefox bookmarks?

No. Firefox adds the imported items to the bookmarks already in the current profile. Check for duplicates if you import the same file more than once.

Where did Firefox save bookmarks.html?

Firefox saves the file in the location you selected during the export process. If you cannot find it, search for bookmarks.html in File Explorer or Finder and check recently used folders.

Can I sync bookmarks between my computer and phone instead?

Yes. Sign both devices into the same Mozilla account and enable bookmarks in Firefox Sync. That keeps the current folders updated across devices, which is a better fit than moving one static HTML file.

Please share the article if you find it helpful:

Disclosure: This page may contain affiliate links, which means we may receive compensation for your purchases; of course at no extra cost to you (indeed, you may get special discounts).
Kushal Azza

Kushal Azza

Kushal Azza has worked in digital analytics for 14 years. He co-founded SolvyOne Digital and is building WPAQ.com, a website audit tool. He writes about measurement, AI, workflows and building products. Follow him on X/Twitter and LinkedIn.

Leave a thought or feedback

Please leave a descriptive comment or feedback with your real name. Our human moderator vets every comment, and it may take 24 to 48 hours to get published or rejected.
Your email address will not be published, and we will never spam your inbox. Required fields are marked *