Merge bookmark files into one

Combine bookmark exports from Chrome, Firefox, Edge, Safari, or any other browser into a single file — folders kept, duplicates removed, ready to import. Runs entirely in your browser.

Or drop the files here. Files are merged in the order listed — on duplicates, the first file wins.

Folders
Duplicates

This bookmark merger combines two or more browser bookmark export files into one. Add the HTML files you exported from Chrome, Firefox, Edge, Safari, or any other browser; the tool merges their folder trees, removes duplicate links, and writes a single standard bookmarks file you can import anywhere. Everything runs in your browser — the files are never uploaded.

How to merge bookmark files

  1. Export bookmarks from each browser or profile. Every major browser can save its bookmarks as an HTML file. In Chrome, open the Bookmark Manager and choose Export bookmarks from its menu (Google’s instructions); our export and import guide covers the other browsers.
  2. Add the files with the picker or by dropping them onto the box. You can add more at any time. Each file shows how many bookmarks and folders it contains.
  3. Order the files. When the same link appears in several files, the copy from the file highest in the list is kept, with its title and folder. Use Move up to put your best-kept file first.
  4. Pick the options — merged or separate folders, how to handle duplicates — and check the preview of the merged structure.
  5. Download the merged file and import it into your browser or bookmark manager.

Merge options explained

Merge folders with the same name

The default. Folders at the same level with the same name — compared without regard to capitals or surrounding spaces — become one folder holding the contents of both, and the same happens for their subfolders, all the way down. A Recipes folder in your laptop’s export and a recipes folder in your work profile’s export end up as a single Recipes folder. The bookmarks toolbar is matched by the marker browsers put on it rather than by its name, so Chrome’s Bookmarks bar and Firefox’sBookmarks Toolbar merge into one toolbar folder.

Keep each file in its own folder

Each file becomes one top-level folder named after the file, with its original structure inside, untouched. Choose this when the collections should stay apart — work and personal profiles, or an archive you are not ready to mix in. Duplicate removal still works across files if you leave it on.

Duplicates: everywhere, within a folder, or keep all

Remove everywhere keeps exactly one copy of each page across the whole merged file — the first one. Only within the same folder removes repeats inside a folder but leaves a link that you deliberately filed in two different places. Keep all just combines the files.

Treat http/https and www/non-www as the same page

Off by default, because http:// and https://, or www.example.com andexample.com, are technically different addresses. Most of the time they are the same page saved years apart — turn this on to collapse them.

Remove empty folders, sort, favicons

Remove empty folders drops folders that end up with no bookmarks in them, which often happens when every link in a folder was a duplicate of something filed elsewhere. Sort A–Z puts folders first, then bookmarks, alphabetically inside every folder; leave it off to keep your own order.Keep favicons carries over the small site icons that exports embed as data; turning it off can make a large file much smaller, and browsers fetch icons again as you visit sites.

How duplicate bookmarks are detected

Links are compared by a normalized version of their URL, never by title. The normalized form is only used for matching; the bookmark you keep is written with its URL exactly as saved.

DifferenceExampleSame page?
Capitals in the domainExample.com/a vs example.com/aYes
Trailing slash/article/ vs /articleYes
Fragment/post#comments vs /postYes
Tracking parameters?utm_source=…, fbclid, gclid, msclkid, mc_cid and similarYes — removed before comparing
Other query parameters?page=2 vs ?page=3No — they can change the page
Protocol or wwwhttp:// vs https://, www. vs noneOnly with the option turned on
Different subdomain or pathm.example.com vs example.comNo

Non-web bookmarks, such as javascript: bookmarklets, are kept and only treated as duplicates when they are identical. To clean one file without merging, use theduplicate bookmark finder; to strip tracking parameters from individual links, the URL cleaner.

What the merged file contains

A standard Netscape bookmark file, the format every browser exports and imports. It starts with the<!DOCTYPE NETSCAPE-Bookmark-file-1> declaration, a UTF-8 character-set line, and then the folder tree as nested lists — folders as <H3> headings, bookmarks as<A HREF> links. The file follows the same line layout Chrome writes, with one bookmark per line, becauseChrome’s importer reads bookmark files line by line; titles that contained line breaks are joined onto one line.

Every attribute from your original files is preserved: saved and modified dates (ADD_DATE,LAST_MODIFIED), favicons (ICON, ICON_URI), and Firefox’sTAGS and SHORTCUTURL keywords. The toolbar marker (PERSONAL_TOOLBAR_FOLDER) is kept on top-level folders only, so a toolbar folder nested inside a per-file folder imports as an ordinary folder. If you want to check the result before importing, thebookmark file viewer opens it as a searchable table.

Importing the merged file

In Chrome, choose Bookmarks and lists → Import bookmarks and settings from the menu, then pick the file. PerGoogle’s help, if you didn’t have any bookmarks in Chrome they appear in the bookmarks bar; if you already have bookmarks, they are added to the Other bookmarks folder. Importing adds to what is there — it doesn’t replace it — so to end up with exactly the merged set, import into a new browser profile, or delete the old bookmarks first (after keeping a backup export). Firefox, Edge, and Safari each have an import-from-HTML option in their bookmark managers; the browser bookmarks migration guide walks through moving between them.

When merging bookmark files helps

  • Switching browsers and bringing bookmarks from more than one old browser into the new one.
  • Combining profiles — a work profile and a personal one, or a family computer’s accounts.
  • Consolidating old exports — the backups saved from previous laptops that each hold a slightly different version of the same collection.
  • Before importing into a bookmark manager, so you import one clean file instead of several overlapping ones.

Privacy

There is no server side to this tool. Your files are read into the page’s memory, merged, and written back out by JavaScript in this tab; no part of them is uploaded, logged, or stored, and closing the tab discards everything. That matters for bookmark files, which can reveal a lot about you — open your browser’s network inspector while merging if you want to see for yourself that nothing is sent.

Limits

  • HTML exports only. Chrome’s internal Bookmarks JSON file and Firefox’s .json backups are different formats; export to HTML first.
  • First copy wins. The tool does not compare titles or dates to pick the “best” duplicate — order the files instead.
  • Folder names must match to merge. Reading and To read stay separate folders; rename one before exporting if they should merge.
  • Very large files (tens of thousands of bookmarks with embedded favicons) work, but can take a few seconds; turning off favicons makes them faster and smaller.

After the merge

A merged file solves the scattered-collections problem; it doesn’t make thousands of bookmarks easier to find.Marqly imports standard bookmarks HTML files with their titles, tags, and folders — folders become boards, up to two levels deep — and makes the whole collection searchable on the web, in the browser extension, and in the iOS and Android apps. Two things to know: imported bookmarks take the import date rather than their original saved date, and the free plan holds up to 100 bookmarks, while Pro is unlimited and adds full-text and semantic search. For keeping a collection tidy after the import, see our guide on how to organize bookmarks.

Frequently asked questions

How do I merge two bookmark files into one?

Export each browser’s bookmarks as an HTML file, add all the files to the bookmark merger, and press Download merged file. The tool combines the folder trees, merges folders that share a name, removes duplicate links, and gives you one standard bookmarks HTML file that Chrome, Firefox, Edge, Safari, and most bookmark managers import.

Are my bookmark files uploaded?

No. The files are read, merged, and written by JavaScript running in this browser tab. Nothing is sent to a server, nothing is stored, and closing the tab discards everything. You can confirm it in your browser’s network inspector: merging makes no network requests.

Which copy is kept when a link is in more than one file?

The first one, in the order the files are listed. The surviving bookmark keeps its own title, folder, saved date, and favicon. Use the Move up button to put the file whose titles and folders you trust most at the top.

Will my bookmarks bar stay the bookmarks bar?

Yes, when you keep the default “Merge folders with the same name” option. Chrome, Edge, and Firefox mark the toolbar folder in their exports with a PERSONAL_TOOLBAR_FOLDER attribute, and the merger combines those folders by that marker even though they are named differently — Bookmarks bar in Chrome, Bookmarks Toolbar in Firefox. How an importing browser places that folder is up to the browser.

Can I merge Chrome and Firefox bookmarks?

Yes. Both export the same Netscape bookmark HTML format, as do Edge, Safari, Brave, Opera, and Vivaldi. Export from each browser, add the files here, and import the merged file into whichever browser you are keeping.

Does the merged file keep tags, keywords, and descriptions?

Every attribute in the original files is carried over, so Firefox tags and keywords, saved dates, and favicons stay attached to each bookmark, and description lines are kept. Whether the browser you import into uses them is up to that browser: Chrome ignores tags and descriptions, for example, and Firefox no longer imports descriptions.

← All free tools