Import and export bookmarks between browsers
Every major browser imports and exports bookmarks as a Netscape Bookmark HTML file — a nested definition list of links and folders. Export from the source browser, import into the target, and expect folder structure to survive while favicons, tags and visit history do not.
Bookmark portability runs on a file format from 1996. It is called Netscape Bookmark File Format, it has no specification beyond an informal description, and it is the only thing every browser agrees on.
Knowing its shape explains most transfer problems before they happen.
Where the option lives in each browser
| Browser | Export | Import |
|---|---|---|
| Chrome | Bookmark Manager → ⋮ → Export bookmarks | Bookmark Manager → ⋮ → Import bookmarks |
| Edge | Favorites → ⋯ → Export favourites | Favorites → ⋯ → Import favourites |
| Firefox | Library → Import and Backup → Export Bookmarks to HTML | Library → Import and Backup → Import Bookmarks from HTML |
| Safari | File → Export → Bookmarks… | File → Import From → Bookmarks.html |
Chrome and Edge both write a file named bookmarks_YYYY_MM_DD.html into your Downloads folder.
What the file actually contains
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3>Work</H3>
<DL><p>
<DT><A HREF="https://example.com/post" ADD_DATE="1700000000">A post</A>
</DL><p>
</DL><p>
That is the whole format: a <DL> list of <DT> entries, where each entry is either an <H3> folder (followed by a nested <DL>) or an <A> link. ADD_DATE is a Unix timestamp in seconds.
What survives a transfer
| Data | Survives | Notes |
|---|---|---|
| URLs | Yes | The only thing that really matters |
| Folder structure | Yes | Nesting is preserved, including empty folders |
| Titles | Yes | As stored, including auto-generated ones |
| Add dates | Usually | Some exporters drop ADD_DATE |
| Favicons | No | Refetched by the target browser |
| Tags / keywords | No | Not part of the format |
| Visit history | No | Lives in a separate database |
| Bookmark bar vs other | Sort of | Depends on the folder names the exporter used |
The encoding problem
The file declares UTF-8. Not every exporter honours that. If your titles contain Chinese, Japanese or Korean text and the file was produced by an older tool, the target browser may show ????? or mojibake.
Two fixes, in order of preference:
- Re-export from the source browser with a current version. This solves it almost every time.
- If the file is stuck, decode it as GBK (for Simplified Chinese) or Shift-JIS (for Japanese) and re-save as UTF-8 before importing. A capable importer will also try a fallback decoder when it sees replacement characters.
Why imports create duplicates
Importing is additive. Chrome does not check whether a bookmark is already present — it appends the file's contents to your existing tree. Import the same file twice and everything doubles.
The reliable sequence is: clean before importing, not after. Merge duplicates in the file's source, or import into a fresh profile, review, then export the cleaned result.
A safer migration path: export from the old browser → import into a spare Chrome profile → clean it there → export again → import that clean file into your main profile. One clean import beats two messy ones.
Exporting as a backup, not just a transfer
An HTML export is a snapshot of URLs and folders. It is not a backup of your browsing state, and it does not include tab groups, open sessions or history.
Before any bulk edit of your bookmarks, take both: an HTML export for portability, and a JSON snapshot from the tool doing the edit for an exact restore. The HTML is for other browsers; the JSON is for going back.
What file format do browsers use for bookmarks?
Netscape Bookmark File Format — an HTML file with a DOCTYPE of NETSCAPE-Bookmark-file-1 and a nested definition list of folders and links. Every major browser reads and writes it.
Will importing bookmarks overwrite what I already have?
No. Import is additive — it merges the file into your existing tree, which is exactly why duplicates appear. Use a clean file, or clean afterwards.
Why are my bookmark folder names in a different language after import?
Chrome and Edge localise the top-level folder names ("Bookmarks bar" / "Other bookmarks"). After a cross-language import you may end up with both language versions of the same root folder.
Import, review, export clean
Bring in an HTML file from any browser, clean it card by card, then write it back or export it again.
Download for Chrome