How to Import and Export Browser Bookmarks (Chrome, Edge, Safari, Firefox)
Exact export paths for each browser, what bookmarks.html actually contains, how folders become categories, how duplicates are handled, and a backup routine you can keep.
Switching browsers, switching computers, or just wanting a different interface for your collection — the first step is always the same: get the bookmarks out. The format has been unified for decades: a file called bookmarks.html, officially the Netscape Bookmark File, defined in 1996 and never replaced.
Exporting from each browser
Chrome / Edge (Chromium)
Go to chrome://bookmarks (edge://favorites on Edge) and choose "Export bookmarks" from the ⋮ menu at the top right. You can also search "bookmarks" in settings to find the import/export entry.
Firefox
Press Ctrl/Cmd + Shift + O to open the Library, then "Import and Backup" → "Export Bookmarks to HTML." Note that Firefox also offers a .json backup — other browsers cannot read it, so pick HTML when exporting.
Safari
File → Export → Bookmarks, which produces Safari Bookmarks.html. Folder hierarchy is preserved fully.
The file lands in your downloads folder, anywhere from tens of kilobytes to a few megabytes — embedded favicons (base64) inflate it, which does not affect importing.
What is actually inside
Opening it is harmless. The structure looks like this:
<DL><p>
<DT><H3>Engineering</H3>
<DL><p>
<DT><A HREF="https://example.com" ADD_DATE="1700000000">Example</A>
</DL><p>
</DL><p>
<DL> is folder nesting, <H3> is the folder name, <A> is a bookmark, and ADD_DATE is a Unix timestamp in seconds. Those four things explain why folders become categories: they are two drawings of the same tree.
Importing into MyNav: folders become categories
Click Import in the header and drop bookmarks.html in. You get a preview first:
- Total bookmarks and folders;
- The first few titles with their folder, to confirm the parse;
- "Skip URLs that already exist," on by default;
- "Put everything in," to either follow folders or force one category.
Then confirm. The mapping rules:
| Source | After import |
|---|---|
| Top-level folder "Engineering" | New category "Engineering" |
| Nested "Engineering / Frontend / Frameworks" | Lands in "Frameworks" (last segment) |
| Bookmarks at the root | "Uncategorized" |
| Folders with the same name | Merged into one category |
Import is additive — nothing is overwritten. The same URL is skipped by default, so importing the same file twice is safe.
The reverse: exporting back into the browser
"Export HTML bookmarks" in the import/export panel produces a standard Netscape file with the category structure and creation dates intact. Feed it to Chrome's bookmark importer and it appears as a folder named MyNav, with your categories as subfolders.
This is genuinely useful: treat MyNav as the place you organise, then export back to the bookmark bar so both stay in sync.
JSON backup vs HTML export
They are not substitutes:
| HTML bookmarks | Full JSON backup | |
|---|---|---|
| Imports into a browser | Yes | No |
| Includes text bookmarks | No (no URL) | Yes |
| Includes image bookmarks | No | Yes |
| Includes custom engines | No | Yes |
| Includes theme and language | No | Yes |
| Best for | Migration, sharing | Backup, new devices |
So: HTML to migrate, JSON to back up. Anyone who only exports HTML eventually discovers their text bookmarks and custom engines are gone.
A backup routine you will actually keep
Backups fail because of too many steps, not ignorance. Compress it to two:
- After you tidy your bookmarks (roughly monthly), click "Export all data" once;
- Keep the default filename with its date and drop it in a cloud-synced folder.
Once you pass twenty bookmarks, MyNav shows a reminder at the bottom of the page — one click exports, no settings required. That is not nagging; it is insurance against one "clear browsing data" click.
FAQ
Chinese titles turned into garbled characters after import. Why?
Rare, and almost always an encoding issue: the source file is not UTF-8. Re-save it as UTF-8 and import again. Chrome and Edge have exported UTF-8 by default for years.
Will importing overwrite my existing bookmarks?
No. Import merges: existing URLs (compared after normalisation) are skipped by default, new ones are appended, and same-named categories are merged.
Can I export bookmarks from a phone browser?
iOS Safari and Android Chrome offer no direct HTML export. The practical route is to enable account sync and export from a desktop, or use a third-party browser that supports export.
Do favicons come along?
No. Icons are cached by the browser and refetched after import. MyNav loads site icons on the card and falls back to a coloured initial tile when a site has none.
The format is old, and that is exactly why it survived — which is probably the best argument for data you can carry out the door.
Keep reading
Open MyNav
No sign-up. Open it and start.