Firefox bookmarks move between computers using an HTML file you export and then import
When you export bookmarks from Firefox, the browser saves them as a single HTML file — a format almost every browser can read. You then move that file to another computer, open Firefox there, and import it back in. The bookmarks appear in a new folder, and you can organize them however you want. This works whether you're switching computers, reinstalling Firefox, or sharing bookmarks with someone else.
The export and import process takes about five minutes total. You don't need any special software or accounts beyond Firefox itself. The HTML file is plain text, so you can also open it in a text editor or email it to yourself if you need to move it between devices.
Key Takeaways
- Firefox exports bookmarks as an HTML file that you save to your computer, then import into Firefox on another device or installation.
- The export option is in Firefox's Library menu under Bookmarks, and the import option is in the same menu under Import and Backup.
- Imported bookmarks land in a new folder called "Imported Bookmarks" rather than replacing your existing bookmarks, so you can organize them afterward.
- The HTML file format works with every major browser, so you can import Firefox bookmarks into Chrome, Safari, or Edge if you switch browsers.
How to export bookmarks from Firefox
Open Firefox and click the menu button (three horizontal lines) in the top right corner. Select Bookmarks, then hover over Manage Bookmarks to open a submenu. Click Show All Bookmarks — this opens the Library window.
In the Library window, click the Import and Backup button at the top. It looks like a star with an arrow. A dropdown menu appears. Click Export Bookmarks to HTML. A save dialog opens. Choose where you want to save the file — your Desktop or Documents folder works well — and give it a name you'll recognize, like "Firefox Bookmarks Backup". Click Save. Firefox creates the HTML file immediately.
The file is now on your computer and ready to move. You can email it to yourself, copy it to a USB drive, upload it to cloud storage like Google Drive, or simply leave it on your Desktop until you need it on another computer.
How to import bookmarks into Firefox
On the computer where you want to restore the bookmarks, open Firefox and click the menu button in the top right. Select Bookmarks, then Manage Bookmarks, then Show All Bookmarks. The Library window opens again.
Click Import and Backup at the top, then select Import Bookmarks from HTML. A file browser opens. Navigate to the HTML file you exported earlier — if you emailed it to yourself, download it first and remember where it lands. Select the file and click Open. Firefox imports the bookmarks immediately.
The imported bookmarks appear in a new folder called Imported Bookmarks in your Bookmarks menu. You can open this folder, select individual bookmarks, and drag them into your existing folders. Or you can rename the "Imported Bookmarks" folder itself to something more useful. Firefox does not replace your existing bookmarks during import — it adds to them.
Moving bookmarks between different browsers
The HTML format Firefox uses is the standard for bookmark exchange. If you export bookmarks from Firefox as HTML, you can import them into Chrome, Safari, Edge, or Opera. The process is slightly different in each browser, but the file itself works everywhere.
In Chrome, click the menu (three dots), go to Bookmarks, then Import bookmarks and settings. Select the HTML file. In Safari, go to File, then Import From, then Bookmarks HTML File. In Edge, click the menu (three dots), go to Favorites, then Manage favorites, then Import favorites. Each browser creates a new folder for the imported bookmarks, just like Firefox does.
What to do if the import doesn't work
If Firefox doesn't recognize the HTML file, the file may have been corrupted or saved in the wrong format. Try exporting again and make sure the filename ends in .html — if it ends in .txt or has no extension, Windows or Mac may have changed it. You can rename the file by right-clicking it, selecting Rename, and typing the correct name with .html at the end.
If the file is very large — more than 50 megabytes — some email services or cloud storage may block it. In that case, split the bookmarks into smaller exports. You can export bookmarks from specific folders rather than all bookmarks at once by right-clicking a folder in the Library window and selecting Export Bookmarks.
If you're importing into a different browser and it doesn't work, try opening the HTML file in Firefox first to confirm it's valid. If Firefox can read it, the file is fine and the other browser may have a different import process — check that browser's help documentation.
Keeping bookmarks in sync across devices
Export and import works for one-time transfers, but if you use Firefox on multiple devices and want bookmarks to stay synchronized, Firefox Sync is a better option. You create a Firefox account, sign in on each device, and bookmarks update automatically across all of them. This requires an account and internet connection, but you don't have to manually export and import.
If you prefer not to use an account, you can export bookmarks regularly and import them on your other devices. This is more manual but gives you complete control over what moves and when. Some people do both — they use Firefox Sync for day-to-day sync and also keep a backup HTML file in case they need to restore bookmarks from an older date.
Frequently Asked Questions
Can I export just some of my bookmarks instead of all of them?
Yes. In the Library window, right-click the folder containing the bookmarks you want to export and select Export Bookmarks. Firefox exports only that folder and its contents. You can repeat this for multiple folders and end up with separate HTML files, then import each one where you need it.
What happens to my existing bookmarks when I import?
Your existing bookmarks stay exactly as they are. The imported bookmarks land in a new folder called "Imported Bookmarks" without touching anything else. You then decide which imported bookmarks to keep and where to put them. You can delete the "Imported Bookmarks" folder entirely if you don't want any of them.
Can I open the HTML file in a text editor to see what's in it?
Yes. Right-click the HTML file and select Open With, then choose Notepad, Word, or any text editor. You'll see the bookmarks listed in HTML code. This is useful if you want to check what bookmarks are in the file before importing, or if you want to manually edit or delete specific bookmarks before importing them.
Is the HTML file safe to email or upload to cloud storage?
Yes. The HTML file contains only bookmark URLs and titles — no passwords, login information, or personal data. It's safe to email, upload to Google Drive, or store on a USB drive. Anyone who opens it can see your bookmark list, so if your bookmarks are private, keep the file in a password-protected location.
What if I accidentally delete my bookmarks and want to restore them from the HTML file?
As long as you have the HTML file saved somewhere, you can import it back into Firefox at any time. Open the Library, click Import and Backup, select Import Bookmarks from HTML, and choose the file. The bookmarks reappear in an "Imported Bookmarks" folder. You can then move them back to their original locations or keep them organized however you prefer.