Export bookmarks from Firefox in three steps
Firefox stores your bookmarks in its own format, but you can save them as a file on your computer in a few minutes. The exported file works as a backup — if you lose your bookmarks, you can restore them. It also lets you move bookmarks to another browser, share them with someone else, or keep a copy somewhere safe.
The process is the same whether you use Firefox on Windows, Mac, or Linux. You do not need any extra software.
Key Takeaways
- Firefox exports bookmarks as an HTML file that any browser can read, using the Library window under the History menu.
- The exported file saves to your Downloads folder by default, and you can rename it or move it anywhere on your computer.
- You can restore exported bookmarks by importing them back into Firefox or into another browser like Chrome or Edge.
- Exporting takes less than a minute and does not delete your bookmarks from Firefox — it only makes a copy.
Open the Firefox Library and find your bookmarks
Start by opening Firefox and clicking the menu button — three horizontal lines in the top right corner. Select History from the dropdown menu.
A submenu appears. Click Show All History at the bottom. This opens the Library window, which shows all your browsing history, bookmarks, and downloads in one place.
On the left side of the Library window, you will see a list of categories. Click Bookmarks to see all your saved bookmarks organized by folder.
Export your bookmarks as an HTML file
With the Library window still open and Bookmarks selected on the left, look at the top of the window. You will see a button labeled Import and Backup (it may show as a gear icon or three dots, depending on your Firefox version).
Click that button and select Backup from the menu. Firefox immediately saves your bookmarks as an HTML file with a name like bookmarks-2024-01-15.html and puts it in your Downloads folder.
You will see a notification at the bottom of the screen confirming the backup was created. The file is now ready to use.
Find and organize your exported file
Open your Downloads folder (usually in the taskbar or by pressing Ctrl+J on Windows, or Cmd+Shift+J on Mac). You will see the HTML file Firefox just created.
You can leave it there, move it to another folder, or rename it to something easier to remember. The file will not change — it is just a copy of your bookmarks frozen at the moment you exported them.
If you want to keep multiple backups, you can export again and Firefox will create a new file with today's date in the name. This way you have older versions if you need them.
Restore bookmarks from your exported file
If you ever need to restore these bookmarks into Firefox, open the Library window again (History menu, then Show All History). Click Import and Backup and select Restore.
Choose Choose File and navigate to your exported HTML file. Firefox will add all those bookmarks back into your browser. If the bookmarks already exist, Firefox will create duplicates, so you may need to clean up afterward.
Use your exported bookmarks in another browser
The HTML file you exported works in Chrome, Edge, Safari, and most other browsers. Each browser has its own import process, but they all look for an HTML file of bookmarks.
In Chrome, click the three dots menu, go to Bookmarks, then Import bookmarks and settings. Select your Firefox HTML file and Chrome will add them to your bookmarks bar.
In Edge, click the three dots menu, select Bookmarks, then Import bookmarks and settings. Choose Firefox from the dropdown and select your HTML file.
Safari on Mac uses a different process: go to File menu, click Import From, and select Bookmarks HTML File. Then choose your exported file.
Common mistakes to avoid
Do not delete the HTML file thinking it will remove your bookmarks from Firefox. Exporting only makes a copy — your bookmarks stay in Firefox no matter what you do with the file.
If you rename the file, keep the .html extension at the end. Browsers need that extension to recognize it as a bookmarks file. If you remove it by accident, add it back before trying to import.
When restoring into Firefox, remember that importing adds bookmarks rather than replacing them. If you import the same file twice, you will have duplicates. Delete the old ones manually or use Firefox's bookmark manager to clean them up.
Frequently Asked Questions
Can I export just one bookmark folder instead of everything?
The Backup option exports all bookmarks at once. To save just one folder, right-click it in the Library window and select Bookmark Folder, then copy the link. You can also manually recreate important folders in another browser by dragging and dropping bookmarks.
What happens to my bookmarks if Firefox crashes?
Firefox keeps a backup of your bookmarks automatically, but exporting to an HTML file gives you a copy you control. If Firefox loses data, you can restore from your exported file. Keep backups in a separate location like a USB drive or cloud storage for extra safety.
Can I edit the HTML file to add or remove bookmarks before importing?
You can open the HTML file in a text editor and edit it, but it is easy to break the formatting and make it unreadable to browsers. It is safer to import the file as-is, then add or remove bookmarks in your browser afterward.
Does exporting bookmarks include my passwords or login information?
No. The HTML file contains only bookmark names and URLs. Your passwords and saved login information stay in Firefox and are not included in the export. You would need to export those separately if you want to back them up.
How often should I export my bookmarks?
There is no set schedule. Export whenever you have added bookmarks you want to protect, or before making major changes to your browser. Monthly or quarterly exports are reasonable if you add bookmarks regularly.