Browser bookmarks often become a collection of folders over time. You might have separate folders for work, study, useful websites, research and personal links. When moving to a new computer or switching browsers, exporting these bookmarks is easy. The problem is making sure the original folder structure stays intact.
If you export bookmarks using the wrong method or import them without checking the destination, your links may appear in an unexpected folder. In some cases, people also mistake a flat-looking HTML page for an export that has lost its folders.
The safest approach is to create an HTML export, keep a separate backup where the browser supports it, and check the folder hierarchy after importing.
Why Bookmark Folder Structure Matters
Bookmarks are not just a list of website addresses. Their organisation is also useful. For example, you may have a structure like this:
Bookmarks
│
├── Work
│ ├── Email
│ ├── Project Tools
│ └── Client Websites
│
├── Study
│ ├── Online Courses
│ └── Research
│
└── Personal
├── Shopping
└── Travel
If all these links end up in one folder after importing, you may still have the websites, but the organisation you spent time creating is gone.
Fortunately, standard browser bookmark exports in HTML format can preserve nested folders. The important part is to export the bookmarks through the browser’s own bookmark manager and import the resulting file using the correct option.
Why HTML Is a Useful Format for Bookmark Export
HTML is commonly used to transfer bookmarks between different browsers. It stores website addresses along with their titles and folder relationships in a format that other browsers can understand.
For example, a bookmark export can contain a parent folder named Work, with separate nested folders for Email and Project Tools. A compatible importer can recreate that hierarchy instead of placing every link at the same level.
However, HTML is not the only backup format. Firefox also supports a JSON-based backup format that is intended for restoring bookmarks in Firefox. These formats serve different purposes:
- HTML export: Useful for transferring bookmarks between browsers and computers.
- Browser-specific backup: Useful for restoring bookmarks in the same browser, and may preserve additional information that HTML does not.
For example, Firefox’s JSON/JSONLZ4 backup is intended for Firefox restoration, while its HTML export is designed for transfer to other browsers. Mozilla explains this difference in its official bookmark export guide.
How to Export Bookmarks From Google Chrome
Chrome provides a built-in export option inside Bookmark Manager. You do not need an extension or third-party application.
Follow these steps on your computer:
- Open Google Chrome.
- Click the three-dot menu in the top-right corner.
- Go to Bookmarks and lists and open Bookmark Manager.
- Click the three-dot menu inside Bookmark Manager.
- Select Export bookmarks.
- Choose a location, give the file a recognisable name and save it.
Chrome creates an HTML file containing the bookmarks. Keep this file somewhere safe, such as a separate drive or a trusted cloud storage folder.
Google documents this process in its Chrome bookmark export and import instructions.
How to Export Favorites From Microsoft Edge
Microsoft Edge uses the name Favorites instead of bookmarks, but the basic process is similar. Its export option also creates an HTML file that can be used to move favorites to another browser.
- Open Microsoft Edge.
- Click the three-dot menu and select Settings.
- Open Profiles and select Import browser data.
- Find the option for managing or importing browser data and open the relevant import/export controls.
- If the direct export option is available in your Favorites menu, open Favorites, select More options and choose Export favorites.
- Save the HTML file to a location you can access later.
Edge’s menu labels can vary slightly between versions. If you cannot find the export option in Settings, open the Favorites panel and check its More options menu.
For importing the exported file later, Microsoft provides the steps in its official Edge import guide.
How to Export Bookmarks From Firefox
Firefox offers both an HTML export and a separate backup option. If you want to move bookmarks to Chrome or Edge, use the HTML export. If you are making a backup for another Firefox installation, also consider saving the Firefox backup file.
To export bookmarks as HTML:
- Open Firefox.
- Click the menu button and select Bookmarks.
- Choose Manage bookmarks to open the Library window.
- Click Import and Backup in the Library toolbar.
- Select Export Bookmarks to HTML.
- Choose a location and save the file.
Firefox creates a file named bookmarks.html by default. You can rename it before saving if you want to keep backups from different dates or browsers separate.
For an additional Firefox-only backup, use the Import and Backup menu and select the backup option. Keep that file separate from the HTML export so you have another way to restore your bookmarks.
How to Import Bookmarks Without Flattening Folders
Exporting the file is only half the process. You also need to import it correctly. Most desktop browsers provide an option to import bookmarks from an HTML file.
Import Into Chrome
Open Chrome’s Bookmark Manager, select its three-dot menu and choose the import option. Select the HTML file you exported earlier and complete the import.
If Chrome already contains bookmarks, imported links may appear inside a separate folder, such as Other bookmarks. Check that folder rather than assuming the import failed.
Import Into Microsoft Edge
Open Edge Settings, go to Profiles and select Import browser data. Under the available import locations, choose the option for a Favorites or bookmarks HTML file. Select the exported file and complete the import.
Edge may place imported favorites inside a folder on the Favorites bar, sometimes named Imported. Open that folder and check its contents.
Import Into Firefox
Open the Firefox Library window and select Import and Backup. Choose Import Bookmarks from HTML, select your saved file and confirm.
Imported bookmarks may appear under a separate folder in the Library. Check the Bookmarks Menu and Other Bookmarks sections if you do not immediately see them on the toolbar.
What If the Exported HTML File Looks Like a Flat List?
This is a common source of confusion. You may open the exported HTML file and see a long list of website links. It can look as if all the original folders have disappeared.
That does not necessarily mean the folder structure has been lost. An HTML bookmark file can contain nested folder information even when the browser displays the page as a simple list.
To check the actual structure, open the file in a text editor such as Notepad. Look for folder entries represented by H3 elements and nested bookmark lists represented by DL elements. These elements help describe the folder hierarchy.
A better test is to import the file into a separate browser profile or another browser and inspect the resulting folders. Do not edit the original export just because its appearance in a browser tab looks different from Bookmark Manager.
Common Mistakes That Can Cause Bookmark Problems
Even when the export file is correct, a few mistakes can make the imported bookmarks difficult to find or restore.
- Importing without checking the destination: The browser may place bookmarks inside an Imported or Other bookmarks folder.
- Using the wrong backup format: A Firefox JSON backup is not the same as a cross-browser HTML export.
- Overwriting an existing backup: Save a new file with a date in its name instead of replacing your only copy.
- Deleting the original too early: Keep the original bookmarks until you have verified the imported version.
- Assuming a flat preview means lost folders: Check the file structure or test an import before making changes.
- Importing repeatedly: Repeated imports can create duplicate bookmarks and folders.
A Simple Checklist Before Moving to Another Browser
Before switching browsers or reinstalling your operating system, take a few minutes to verify the backup.
- Export bookmarks or favorites to an HTML file.
- Save an additional browser-specific backup if available.
- Store the backup somewhere separate from the browser installation.
- Import the HTML file into the destination browser.
- Check important folders and nested folders manually.
- Open a few important links to confirm that they still work.
- Keep the original backup until the new browser is organised correctly.
Also Read: Why Browser Downloads Restart After an Internet Connection Drops
Final Thoughts
Moving bookmarks between browsers does not have to mean losing years of organisation. Chrome, Edge and Firefox all provide built-in ways to export bookmarks into an HTML file that can be imported elsewhere.
The important thing is to keep a backup, use the correct import option and verify the folder hierarchy after the transfer. If you are using Firefox, keeping its separate backup format as well as the HTML export gives you another recovery option. A quick check before deleting anything can save a lot of time later.
About the Author
Himanshu writes about technology, software tools and practical digital solutions.








One comment on “How to Export Browser Bookmarks Without Losing Folder Structure”