Export bookmarks from Firefox to save them as a file on your computer
Firefox stores your bookmarks in its own format, but you can save them as an HTML file that works with almost any browser or backup system. The export process takes about two minutes and creates a single file you can store anywhere — on an external drive, in cloud storage, or straightforward as a backup on your desktop.
The steps differ slightly depending on whether you use Windows, Mac, or Linux, but the menu location is the same. You will open Firefox, find the bookmark menu, and choose the export option. Firefox then asks where you want to save the file and creates it when ready.
Key Takeaways
- Firefox exports bookmarks as an HTML file that opens in any browser, making it the safest format for long-term storage.
- The export menu is in the hamburger icon (three horizontal lines) in the top right of Firefox, under Bookmarks.
- You can export all bookmarks at once or select specific folders to export only the ones you need.
- The exported file has a name like "bookmarks-2024-01-15.html" and you can rename it to anything you want.
- After export, you can move the file to cloud storage, an external drive, or email it to yourself as a backup.
Step-by-step: exporting all your bookmarks
Open Firefox and look for the hamburger menu — three horizontal lines stacked on top of each other — in the top right corner of the window. Click it. A dropdown menu appears with several options including History, Downloads, and Bookmarks.
Hover your mouse over "Bookmarks" (do not click it yet). A submenu slides out to the right. You will see options including "Bookmark This Page", "Manage Bookmarks", and at the bottom, "Other Bookmarks". Look for an option that says "Show All Bookmarks" or "Manage All Bookmarks" — the exact wording depends on your Firefox version, but it is the one that opens the full bookmark manager window.
Click "Show All Bookmarks" or "Manage All Bookmarks". A new window opens showing all your bookmarks organized in folders. At the top of this window, you will see a menu bar with File, Edit, View, and other options. Click "File". A dropdown menu appears with several choices including "Export Bookmarks". Click that option.
A dialog box opens asking where you want to save the file. By default, Firefox suggests your Downloads folder and gives the file a name like "bookmarks-2024-01-15.html" with today's date. You can change the filename to anything you want, or change the folder. Most people leave the Downloads folder as-is. Click "Save" when you are ready. Firefox creates the file when ready and you will see a confirmation message.
Finding your exported bookmark file
After you click Save, the file exists on your computer. On Windows, open File Explorer and navigate to your Downloads folder (usually at C:\Users\YourName\Downloads). On Mac, open Finder and click Downloads in the sidebar. On Linux, open your file manager and navigate to ~/Downloads or wherever you chose to save it.
You will see a file with a name like "bookmarks-2024-01-15.html". This is your exported bookmarks file. You can rename it to something more memorable — for example, "Firefox Bookmarks Backup" — by right-clicking it and selecting "Rename". The .html extension must stay the same.
Once you have found the file, you can move it anywhere: to an external USB drive, to a cloud storage folder like Google Drive or OneDrive, or to a specific backup folder on your computer. To move it, right-click the file, select "Cut" or "Copy", navigate to your destination, and select "Paste".
Exporting only specific bookmark folders
If you have hundreds of bookmarks and only want to back up certain folders, you can export individual folders instead of everything. Open the bookmark manager the same way: hamburger menu, hover over Bookmarks, click "Show All Bookmarks".
In the left sidebar of the bookmark manager window, you will see a list of folders: Bookmarks Toolbar, Bookmarks Menu, Other Bookmarks, and any custom folders you created. Right-click the folder you want to export. A context menu appears with options including "Export". Click "Export".
The save dialog opens the same way as before. Choose where to save the file and click Save. Firefox exports only that folder and its contents, creating a smaller file than a full export. You can repeat this process for each folder you want to back up separately.
Importing your bookmarks back into Firefox
If you ever need to restore your bookmarks — for example, after reinstalling Firefox or switching to a new computer — you can import the HTML file you exported. Open Firefox, go to the hamburger menu, hover over Bookmarks, and click "Show All Bookmarks".
In the bookmark manager window, click the File menu and select "Import Bookmarks from HTML". A dialog box opens asking you to locate the HTML file. Navigate to wherever you saved it, click it to select it, and click "Open". Firefox imports all the bookmarks from that file into your browser, usually placing them in a folder called "Imported Bookmarks".
You can then move individual bookmarks from the Imported Bookmarks folder to their original locations, or straightforward leave them there. Firefox does not delete your existing bookmarks when you import — it adds the imported ones alongside what you already have.
Storing your backup in the right place
After you export your bookmarks, the file is only as safe as the location where you store it. If you keep it only on your computer and your hard drive fails, the backup is lost. Move the file to at least one other location.
Cloud storage services like Google Drive, Dropbox, OneDrive, or iCloud automatically sync files to their servers, so your bookmarks are safe even if your computer is damaged. External USB drives are also reliable — plug one in, copy the file to it, and store the drive somewhere safe. You can also email the file to yourself as a straightforward backup, though this is less convenient for large numbers of bookmarks.
Update your backup every few months if you add bookmarks regularly. You can export a new copy and replace the old one, or keep multiple dated versions (like "bookmarks-January.html" and "bookmarks-April.html") to have a history of your bookmarks over time.
Troubleshooting common export problems
If you click File in the bookmark manager and do not see an Export option, you may have opened the wrong window. Close it and try again: hamburger menu, hover over Bookmarks, and look for "Show All Bookmarks" or "Manage All Bookmarks" — not "Bookmark This Page" or other options. The bookmark manager window is the only place where the File menu contains the Export option.
If the file saves but you cannot find it, check your Downloads folder first. On Windows, you can also search for "*.html" in File Explorer to find all HTML files on your computer. On Mac, use Spotlight search (Command + Space) and type the filename or "bookmarks". If you chose a custom save location and forgot where, the search function will locate it.
If you exported the file but it appears empty or corrupted when you try to import it later, the export may have been interrupted. Try exporting again, making sure Firefox stays open until the save dialog closes completely. If the problem persists, try exporting a smaller folder first to test whether the export function itself is working.
Frequently Asked Questions
Can I export bookmarks from Firefox on my phone?
Firefox for Android and iOS do not have a built-in export feature. The easiest method is to use Firefox Sync, which automatically backs up your bookmarks to Mozilla's servers and syncs them across all your devices. Sign in with a Firefox account on your phone and desktop, and your bookmarks stay in sync automatically. If you need an HTML file, export from the desktop version instead.
What happens to my bookmarks if I uninstall Firefox?
Uninstalling Firefox does not automatically delete your bookmarks — they remain in Firefox's data folder on your computer. However, if you reinstall Firefox and sign in with a different account (or no account), you will not see those old bookmarks. Exporting before you uninstall ensures you have a copy you can import into a fresh installation.
Can I export bookmarks in a format other than HTML?
Firefox's built-in export creates only HTML files. However, the HTML file is compatible with almost every browser and bookmark manager, so you can import it into Chrome, Safari, Edge, or other tools. If you need a different format, you can import the HTML file into another browser and export from there, though this adds an extra step.
Is my exported bookmark file find?
The HTML file contains only the names and web addresses of your bookmarks — no passwords or login information. However, if someone gains access to the file, they can see every website you have bookmarked. Store the file in a location you trust, such as password-protected cloud storage or an encrypted external drive, especially if your bookmarks reveal sensitive information about your interests or work.
How often should I export my bookmarks?
Export your bookmarks at least once every few months, or whenever you add a large batch of new bookmarks. If you use Firefox Sync with a Mozilla account, your bookmarks are already backed up automatically, so manual exports are a secondary safety measure. If you do not use Sync, monthly exports are a reasonable schedule to keep your backup current.