How to Export Mozilla Firefox Bookmarks (Backup and Transfer)

Export your Firefox bookmarks to an HTML file in five steps, make a backup, restore deleted ones and move them to another computer. Steps from Mozilla’s own help.

Mozilla Firefox can save all your bookmarks to a single HTML file. That file is how you move bookmarks to another browser or computer, and it doubles as a backup. Firefox also has a second kind of backup that only Firefox can restore. Here are both, in Mozilla’s own words, plus the things its help pages leave out.

Export or backup: which one do you need?

  • Export (HTML): “Used for transferring bookmarks to other browsers or computers.” This is the one to use for a new computer, another browser or an app like Trezio.
  • Backup (JSON): “Used for restoring bookmarks in Firefox only (keeps structure, can overwrite).” Use it as a safety copy for Firefox itself.

Export Firefox bookmarks to an HTML file

  1. Click the menu button (the three lines) to open the menu panel.
  2. Click Bookmarks, then click the Manage bookmarks bar at the bottom.
  3. In the toolbar of the Library window, click the Import and Backup button and choose Export Bookmarks to HTML… from the drop-down menu.
  4. In the Export Bookmarks File window, choose where to save the file. Mozilla says it is named bookmarks.html by default, and that the desktop is usually a good spot.
  5. Click Save, then close the Library window.

Firefox’s menus change between versions, and Mozilla’s help pages show new screenshots for the newest ones. If you don’t see a name above, open Bookmarks > Manage bookmarks and look for the Import and Backup button in the Library window.

Can you export bookmarks from Firefox on a phone?

Not directly. Mozilla’s export steps are for Firefox on a computer, and its help says that to do this on mobile you must use Firefox Sync.

Make a Firefox backup you can restore later

Firefox automatically creates backups of your bookmarks and keeps the last 15. To make one yourself, open the Library window as above, make sure All Bookmarks is selected on the left, click the Import and Backup menu and choose Backup…. Choose where to save it. Mozilla says the file is named bookmarks-date.json by default, and that Firefox can restore from either a JSON or an HTML file.

Where Firefox stores your bookmarks

Firefox keeps its automatic dated backups in a folder named bookmarkbackups inside your Firefox profile folder, according to Mozilla’s restore article. None of the Mozilla pages checked for this guide suggests copying files out of the profile folder as a backup: the export and backup steps above are the way Mozilla describes.

Restore deleted Firefox bookmarks

  1. Open the Library window (Bookmarks > Manage bookmarks).
  2. Click the Import and Backup menu and choose Restore.
  3. Pick a dated entry for one of the automatic backups, or choose Choose File… to use a backup you saved yourself.
  4. Confirm your choice. Your bookmarks from that backup come back.

Mozilla’s warning: restoring from a backup overwrites your current set of bookmarks with the ones in the backup file. To merge old and new bookmarks instead, use the Import bookmarks from HTML option rather than Restore. And Firefox Sync is not a backup: Mozilla says it “continuously updates itself as you change bookmarks, so it does not provide a true backup service”.

Move Firefox bookmarks to another computer or browser

  1. Export your bookmarks to an HTML file, as above, and copy it to the other computer.
  2. In the new browser, find its option to import bookmarks from an HTML file. In Firefox that is Import and Backup > Import Bookmarks from HTML… in the Library window.
  3. Choose the bookmarks.html file and click Open.

Mozilla notes that imported bookmarks are added to your existing ones, which may create duplicates, and that they land in the Bookmarks Menu folder. Make a backup first.

Got the file? Make it useful

Most exports are years of saves: duplicates, dead links and folders nobody opens. Before importing it anywhere, run it through Trezio’s free bookmark cleaner (trezio.app/tools/bookmark-cleaner). It removes duplicate bookmarks, empty folders and broken links in your browser; the file never leaves your computer.

Then, if you want your bookmarks to be findable rather than just stored, import the cleaned file into Trezio (Settings > Import Bookmarks). Folders, dates and tags come across, duplicates are skipped, and Trezio also reads the Backup .json file from the steps above. The one Firefox file it can’t open is the compressed .jsonlz4 kind, so use the HTML export for that. To be upfront: the free plan holds 100 items and the import stops there; Pro ($3.70 a month) imports the rest. Cleaning first helps you bring your best 100.

Sources

  • Mozilla Support, “Export Firefox bookmarks to an HTML file to back up or transfer bookmarks” (support.mozilla.org/en-US/kb/export-firefox-bookmarks-to-backup-or-transfer), page updated 20 September 2026, read 20 November 2026.
  • Mozilla Support, “Restore bookmarks from backup or move them to another computer” (support.mozilla.org/en-US/kb/restore-bookmarks-from-backup-or-move-them), read 20 November 2026.
  • Mozilla Support, “Import Bookmarks from an HTML file” (support.mozilla.org/en-US/kb/import-bookmarks-html-file), page updated 4 October 2026, read 20 November 2026.