Export your Firefox bookmarks as an HTML file in three steps

Firefox stores your bookmarks in its own format, but you can save them as a standard HTML file that works with almost any browser. This file becomes your backup — if Firefox crashes, you switch computers, or you want to move bookmarks to Chrome or Safari, you have them. The process takes less than a minute and requires no extra software.

Open Firefox and click the three horizontal lines (menu button) in the top right corner. Select Bookmarks, then hover over Manage Bookmarks and click Show All Bookmarks. A window titled "Library" opens showing all your saved pages organized by folder.

At the top of the Library window, click Import and Backup, then select Backup. Firefox automatically creates a file with today's date in the filename and saves it to your Downloads folder. That file is your complete bookmark backup — you can now close the Library window.

Key Takeaways

  • Firefox exports bookmarks as an HTML file through the Library window, which you reach via the menu button and Bookmarks section.
  • The backup file is automatically named with today's date and lands in your Downloads folder without any dialog box asking where to save it.
  • This HTML file works with Chrome, Safari, Edge, and most other browsers, so you can import your bookmarks if you switch later.
  • You can create a new backup whenever you want — each one is a separate file, so keeping several backups means you can recover bookmarks you deleted weeks ago.

Where Firefox saves your backup file

When you click Backup, Firefox saves the file directly to your Downloads folder with a name like "bookmarks-2024-01-15.json". You do not see a save dialog — the file straightforward appears there. This is intentional: Firefox wants the backup to happen without you having to choose a location.

To find it, open your file manager (File Explorer on Windows, Finder on Mac) and navigate to Downloads. Look for a file starting with "bookmarks-" and ending with ".json". If you have made multiple backups, you will see several files with different dates. The most recent one is your latest backup.

Once you have located the file, you can move it anywhere you want — to a USB drive, to cloud storage like Google Drive or OneDrive, or to an external hard drive. Treat it like any other file: copy it, rename it, or store it in a folder labeled "Computer Backups" so you know where to find it later.

Moving bookmarks to a different browser

The HTML backup file Firefox creates works with Chrome, Safari, Edge, and Opera. To import your bookmarks into a different browser, open that browser and look for an import option in its menu. In Chrome, click the three dots in the top right, select Bookmarks, then Import Bookmarks and Settings. Choose the Firefox backup file from your Downloads folder, and Chrome imports all your bookmarks into its own system.

Safari on Mac uses a different path: click File in the menu bar, select Import From, then choose Bookmarks HTML File. Navigate to your Firefox backup file and click Import. Edge follows the Chrome method: three dots, Favorites, Import Favorites, then select the file.

The imported bookmarks appear in your new browser's bookmark bar and folders. If you had organized bookmarks into folders in Firefox, those folders come over too — the structure is preserved, not flattened into a single list.

Keeping multiple backups over time

Each time you click Backup, Firefox creates a new file with that day's date. This means you can have backups from January, February, and March all sitting in your Downloads folder at the same time. If you realize you deleted an important bookmark two weeks ago, you can restore it from an older backup file instead of the most recent one.

To stay organized, create a folder called "Firefox Backups" in your Documents or on a USB drive, then move each backup file there as you create it. You might keep the last three months of backups and delete older ones to save space, or keep all of them if storage is not a concern. The files are small — usually under 1 megabyte — so even years of backups take minimal space.

Set a reminder to back up your bookmarks once a month, or whenever you have added a lot of new bookmarks. This habit means you always have a recent copy, and you never lose more than a month's worth of saved pages.

What to do if you cannot find the Library window

If clicking Bookmarks in the menu does not show a Manage Bookmarks option, you may be using an older version of Firefox. Try pressing Ctrl+Shift+B on Windows or Command+Shift+B on Mac — this keyboard shortcut opens the Library window directly.

If that does not work, check that you are looking at the menu button (three horizontal lines) in the top right corner of the Firefox window, not a different menu. The menu button is straightforward to miss if you have customized your toolbar. If you still cannot find it, update Firefox to the latest version: click the menu button, select Help, then About Firefox, and let it read any available updates.

Restoring bookmarks from a backup file

If you lose your bookmarks or want to restore them from an older backup, open the Library window again (menu button, Bookmarks, Manage Bookmarks or press Ctrl+Shift+B). Click Import and Backup and select Restore. Firefox shows a list of backup files it has created automatically. Choose the one you want and click it — Firefox restores those bookmarks when ready.

If you want to restore from a backup file you moved to another location — like one you saved to a USB drive — click Import and Backup, then Restore from File. Navigate to wherever you saved the file, select it, and Firefox imports those bookmarks. Your current bookmarks are not deleted; the restored bookmarks are added alongside them. If you have duplicates afterward, you can delete them manually from the Library window.

Frequently Asked Questions

Can I export bookmarks from just one folder instead of all of them?

The standard backup exports everything. To save just one folder, right-click it in the Library window and select Export Bookmarks. Firefox creates an HTML file containing only that folder's bookmarks. This is useful if you want to share a collection with someone or back up a specific category separately.

What is the difference between the .json file and an HTML file?

Firefox's automatic backup creates a .json file, which Firefox itself prefers for restoring. The HTML format is what you get when you right-click a folder and export — it works with other browsers. Both contain the same bookmarks; the format just determines which programs can read them. For maximum compatibility, use the HTML export when moving to a different browser.

Will my passwords be included in the bookmark backup?

No. Bookmarks and passwords are stored separately in Firefox. The backup file contains only your saved web addresses and folder structure, not login credentials. If you want to back up passwords, that requires a different process through Firefox's settings.

Can I edit the backup file to add or remove bookmarks before restoring it?

The .json backup file is not designed for manual editing — the format is complex and straightforward to break. Instead, restore the file into Firefox, then add or remove bookmarks in the browser itself. If you need to edit before restoring, use an HTML export instead, which is simpler to read, though still not ideal for manual changes.

How often should I back up my bookmarks?

Monthly is a reasonable schedule for most people. If you add bookmarks frequently or have a collection you would be upset to lose, back up every two weeks. The process takes one minute, so the main factor is how much new content you have added since the last backup.