How to Import or Export Firefox Bookmarks
In this article
Yes, you can easily import or export Firefox bookmarks using the built-in Library tool. This lets you back up your bookmarks, move them to another browser or device, or restore them after a reinstall. The process uses a standard HTML file that most browsers support, so your bookmarks remain accessible even outside Firefox.
What You'll Need
- A computer running Firefox (desktop version recommended)
- Access to your browser’s profile folder (optional, for advanced recovery)
- A USB drive or cloud storage (if transferring between devices)
- An alternative browser (if importing into Chrome, Edge, etc.)
Step-by-Step
- Open Firefox and click the menu button (three horizontal lines) in the top-right corner.
- Select Bookmarks > Show All Bookmarks to open the Library window.
- In the Library window, click the Import and Backup button in the top-left corner.
- To export your bookmarks: choose Export Bookmarks to HTML. A Save dialog will appear.
- Select a location (like your desktop or a USB drive), keep the file name as
bookmarks.htmlor rename it, then click Save. - To import bookmarks: click Import and Backup again, then select Import Bookmarks from HTML.
- Locate the HTML file you saved earlier, select it, and click Open. Firefox will add the bookmarks to your existing list.
- If replacing existing bookmarks, manually delete old ones first via the Library before importing.
- After importing, check your bookmarks toolbar and menu to confirm they appear correctly.
- For syncing across devices, consider enabling Firefox Sync instead of manual exports for automatic updates.
Common Mistakes
- Forgetting where the file was saved: Always export to an easy-to-find location like the desktop or a labeled folder.
- Overwriting the wrong profile: If using multiple Firefox profiles, ensure you’re in the correct one before importing.
- Assuming automatic deduplication: Firefox does not remove duplicate bookmarks during import. You’ll need to clean them manually afterward.
- Using outdated backup files: An old bookmarks.html file may miss recent additions. Always export fresh backups when needed.
- Trying to import JSON directly: Only the HTML format is supported for import. Do not attempt to use JSON backups unless restoring via profile recovery.
Tips
- Export bookmarks regularly as part of routine browser maintenance, especially before uninstalling Firefox.
- Name your export files with dates (e.g.,
bookmarks_2024-04-10.html) to track versions. - Use Firefox Sync to automatically keep bookmarks updated across all your devices without manual exports.
- If transferring to another browser, import the HTML file into Chrome, Edge, or Safari using their respective bookmark managers.
- Keep a copy of your bookmarks.html file in cloud storage (like Google Drive or Dropbox) for safekeeping.
- Test the import on a new Firefox profile first to avoid cluttering your main setup.
Troubleshooting
If the import doesn’t work or bookmarks don’t appear:
- Restart Firefox: Sometimes changes don’t display until the browser restarts. Close and reopen Firefox after importing.
- Check file format: Ensure the file is an HTML file, not a JSON or JSONLZ4 file. Only
.htmlfiles can be imported through the menu. - Verify file integrity: Open the bookmarks.html file in a text editor or browser. If it shows a list of links and folders, it’s valid. If it’s blank or corrupted, use a different backup.
- Look in the right place: Imported bookmarks may go into a new folder named after the file. Check the Library under “Bookmarks Menu” or “Unsorted Bookmarks.”
- Try a different location: Save the HTML file to your desktop and re-import from there, avoiding network or restricted folders.
- Profile issues: If Firefox behaves oddly, create a new profile via
about:profilesand test the import there. - Permissions: On shared computers, ensure you have read/write access to the folder where the file is saved.
Frequently Asked Questions
Can I export Firefox bookmarks to Chrome?
Yes. Export bookmarks as an HTML file in Firefox, then open Chrome, go to Bookmarks > Bookmark Manager > three-dot menu > Import bookmarks, and select the HTML file.Does exporting bookmarks include folders and organization?
Yes. The HTML file preserves your folder structure, nested folders, and the order of bookmarks exactly as they appear in Firefox.Where does Firefox save the bookmarks.html file by default?
It doesn’t save automatically. You choose the location when exporting. Firefox only stores bookmarks in its internal database unless you manually export them.Can I import bookmarks from another browser into Firefox?
Yes. Use the same import function. If the other browser can export to HTML (like Chrome, Edge, or Safari), Firefox can read it.What’s the difference between bookmarks.html and places.sqlite?
bookmarks.html is a portable, readable backup. places.sqlite is Firefox’s internal database file—don’t edit it manually. Use HTML for sharing or importing.