Skip to content
A Chinese version of this page is available. 查看中文版

Import and export bookmarks between browsers

mynavLast updated: 2 December 2026

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

BrowserExportImport
ChromeBookmark Manager → ⋮ → Export bookmarksBookmark Manager → ⋮ → Import bookmarks
EdgeFavorites → ⋯ → Export favouritesFavorites → ⋯ → Import favourites
FirefoxLibrary → Import and Backup → Export Bookmarks to HTMLLibrary → Import and Backup → Import Bookmarks from HTML
SafariFile → 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

DataSurvivesNotes
URLsYesThe only thing that really matters
Folder structureYesNesting is preserved, including empty folders
TitlesYesAs stored, including auto-generated ones
Add datesUsuallySome exporters drop ADD_DATE
FaviconsNoRefetched by the target browser
Tags / keywordsNoNot part of the format
Visit historyNoLives in a separate database
Bookmark bar vs otherSort ofDepends 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