To back up your Firefox bookmarks, open the menu, click Bookmarks > Manage bookmarks, then in the Library window click Import and Backup > Backup. Pick a spot you will remember, like your desktop, and click Save. Firefox also keeps its own automatic backups, saving the last 15, and you can restore any of them from the same menu.
These steps are for Firefox on Windows, Mac and Linux, checked against Mozilla’s Firefox Help articles in October 2026. Firefox for Android and iPhone does not have these backup tools; use Firefox Sync on mobile instead.
Backup, Export or Sync: Which Do You Need?
Firefox gives you three ways to protect bookmarks, and they do different jobs. Mozilla’s export help article explains the difference between a backup and an export:
- Backup (JSON file): for restoring bookmarks in Firefox. It keeps your folder structure and replaces your current bookmarks when restored.
- Export (HTML file): for moving bookmarks to another browser or computer, or adding them to bookmarks you already have.
- Firefox Sync: keeps bookmarks the same on every device signed in to your Mozilla account. Sync isn’t a true backup, though, because it copies changes and deletions right away.
| You want to | Use | What happens to current bookmarks |
|---|---|---|
| Undo a mistake in Firefox | Restore from a backup | Replaced by the backup |
| Move to Chrome, Edge or Safari | Export to HTML | Not changed |
| Add old bookmarks to new ones | Import from HTML | Kept; old ones are added |
| Match bookmarks on all devices | Firefox Sync | Kept in step, including deletions |
If your bookmarks matter to you, keep a backup file even if you use Sync. Making both a JSON backup and an HTML export takes about a minute and covers every case above.

How to Back Up Your Bookmarks in Firefox
These steps follow Mozilla’s Restore bookmarks from backup or move them article.
- Click the menu button (three horizontal lines) in the top-right corner of Firefox.
- Click Bookmarks, then click Manage bookmarks at the bottom. The Library window opens. You can also press Ctrl + Shift + O on Windows and Linux or Command + Shift + O on a Mac to open it directly.
- Make sure All Bookmarks is selected on the left so the backup includes every folder.
- Click Import and Backup in the Library toolbar and choose Backup.

- In the save window, choose where to put the file. It is named bookmarks-(date).json by default.
- Click Save. The save window closes; close the Library window too.
You can keep the file as JSON or change the file type to HTML; Firefox can restore from both. Save a copy somewhere other than your computer’s main drive, such as a USB drive or a cloud storage folder, so it survives if the computer fails. Putting the date in the file name helps if you make backups regularly.
To confirm it worked, open the folder you picked and check that the file is there with today’s date in its name.
Firefox’s automatic backups
You don’t have to do anything for these. Firefox automatically creates bookmark backups and keeps the last 15. They are stored as compressed .jsonlz4 files in a folder named bookmarkbackups inside your Firefox profile folder, and they show up as dated entries in the Restore menu.
Because these copies live on the same drive as Firefox, they are lost if the drive fails, if you delete the profile, or if you remove Firefox along with its data. Treat them as a safety net, not your only backup.
To see the folder:
- Click the menu button, then Help (shown as Help and Report in some versions) > More troubleshooting information.
- Next to Profile Folder, click Open Folder (on a Mac it says Show in Finder).
- Open bookmarkbackups.
Mozilla’s profile backup article lists the usual profile locations:
- Windows: %APPDATA%\Mozilla\Firefox\Profiles\
- Mac: ~/Library/Application Support/Firefox/Profiles/
- Linux: ~/.mozilla/firefox/

If you also want passwords, history and add-ons, that same article explains how to copy the whole profile folder while Firefox is closed.
How to Restore Your Bookmarks From a Backup
Restoring replaces all of your current bookmarks with the ones in the backup. Anything you bookmarked after that backup was made is removed. If you want to keep recent bookmarks, export them to HTML first (see the next section), then import that file after the restore.
- Click the menu button, click Bookmarks, then Manage bookmarks.
- Click Import and Backup and choose Restore. A list of dated backups appears.
- Pick one of the dated automatic backups, or choose Choose File to use a backup you saved yourself.
- Confirm that you want to replace your bookmarks. Your bookmarks change right away.
- Close the Library window and check the Bookmarks Toolbar and Bookmarks menu.
If the newest backup is empty or still has the problem, repeat the steps and pick an older date. If a file can’t be imported, make the backup again with the other file type, since Firefox supports both HTML and JSON.

How to Export Bookmarks to HTML
Use this to move bookmarks to Chrome, Edge, Safari or another Firefox install, or to add them to existing bookmarks. From Mozilla’s export article:
- Open the Library window from Bookmarks > Manage bookmarks.
- Click Import and Backup and choose Export Bookmarks to HTML.
- Choose a location. The file is named bookmarks.html by default.
- Click Save, then close the Library. The HTML file is ready to import into another browser.
To bring the file back into Firefox without replacing what you have, open the Library and choose Import and Backup > Import Bookmarks from HTML. The imported bookmarks are added next to the ones you already have, so you may need to delete a few duplicates. Update Firefox before you import (menu > Help > About Firefox). Here’s how to check for updates in Firefox.
Chrome can import the same HTML file; the article on where Chrome bookmarks are stored covers the import on that side. Going the other way, you can export Safari bookmarks on an iPad to a file for another browser. Edge reads the same file through Import browser data, as shown in importing bookmarks into Microsoft Edge.
Moving Bookmarks to Another Computer
- With Firefox Sync: sign in to the same Mozilla account on both computers and turn on bookmark syncing. It’s the easiest way to keep them matched.
- With a backup file: copy your manual backup, or one of the dated files from the bookmarkbackups folder, to a USB drive. On the other computer, open the Library and use Import and Backup > Restore > Choose File. Remember this replaces the bookmarks already there.
- With an HTML export: import it on the other computer if you want to keep that computer’s existing bookmarks too.
Recovering Bookmarks After a Problem
Mozilla’s lost or missing bookmarks article lists these common causes. Check them before you restore anything, since a restore replaces what you have.
- Bookmarks bar is hidden: press Ctrl + Shift + B (Command + Shift + B on a Mac), or right-click an empty part of the toolbar and select Bookmarks Toolbar.
- Bookmarks bar empty after importing: open the menu, click More tools > Customize toolbar, click Toolbars, set Bookmarks Toolbar to Always Show, and click Done.
- Imported bookmarks seem missing: look for a folder named after the old browser, such as From Google Chrome, at the end of the toolbar or the bottom of the Bookmarks menu.
- Only the default bookmarks show: Firefox may have opened a different profile. Type about:profiles in the address bar and launch your other profiles in a new window to find the right one. Don’t delete any profile until you know which one has your data.
- New profile every time on a Mac: Firefox is running from the downloaded disk image. Drag it to the Applications folder and open it from there.
- Bookmarks suddenly gone: use Import and Backup > Restore and pick a dated backup from before the problem.
- Old Firefox Data folder on your desktop: Firefox saved your previous profile there, for example after a Refresh. Keep it until you have copied what you need.
- After a Windows 10 upgrade or downgrade: your old Firefox data may be in the Windows.old folder. Use Restore > Choose File and go to C:\Windows.old\Users(your user name)\AppData\Roaming\Mozilla\Firefox\Profiles(profile name)\bookmarkbackups.
- Sync deleted them: because Sync copies deletions, restore from a backup file on one computer and let Sync carry the fixed bookmarks to your other devices.
If a stubborn add-on is part of the problem, the steps for deleting or disabling Firefox add-ons also explain Refresh Firefox, which keeps bookmarks but removes extensions and themes.
Firefox Bookmark Backup Questions
How often should I back up my bookmarks?
Firefox’s automatic backups cover day-to-day changes. Make a manual backup before big changes, such as reinstalling Firefox, resetting your computer, or deleting lots of bookmarks, and keep that copy off the computer.
Does a bookmark backup include passwords or history?
No. It contains bookmarks only. Saved logins are managed separately. Here’s how to delete saved passwords in Firefox.
Bookmarks also appear in the address bar drop-down with a star; here’s how to control what the Firefox address bar suggests.
Can I open a backup file to read it?
An HTML export opens in any browser as a list of links. A JSON backup is meant for Firefox to read, and the automatic .jsonlz4 files are compressed, so restore them through the Library instead of opening them.
Can I back up bookmarks on Firefox for iPhone or Android?
Not with a file. Use Firefox Sync on mobile instead. Bookmarks from a phone that syncs with your computer can then be backed up from Firefox on the computer.
More Firefox Guides
- How to show the menu bar in Firefox
- How to turn off automatic updates in Firefox
- How to choose where your downloads go in Firefox
- How to change your home page in Firefox

Matthew Burleigh is the founder, head writer, and editor of Solve Your Tech, which he launched in 2012. He has written technology tutorials since 2008 and worked in IT since 2003, including small-business support, IT management, and consulting. He holds Bachelor’s and Master’s degrees in Computer Science from Arizona State University.
Matthew writes practical guides for Windows, iPhone and iPad, Microsoft Office, Outlook, Google apps, and Android. Solve Your Tech’s guides are checked step by step against the device or app maker’s own documentation and tested on his own devices whenever he has the hardware or software, with clear steps, sources, and update dates.
Read more about Matthew and how Solve Your Tech writes and updates its guides, or report a correction.