Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for a way to merge a bunch of different bookmark files without importing duplicates (or creating empty folders ... im looking at you firefox+bookmarkdd!).

I'm not looking to sync amongst browsers or computers, this is a one time merge of a bunch of different files.

Ideally I wouldn't have to install anything, as such I'd also be open to scripted solutions.

share|improve this question
up vote 3 down vote accepted

Try Bookmark Merger. It is a python module that will merge the bookmarks.html files generated by Firefox while removing duplicates.


Bookmark Merger is a Python library/module written mostly for the purpose of merging multiple bookmark files together. It works only with the bookmark.html files created by Firefox.

share|improve this answer
I'm accepting this since it got me close enough - thanks – some guy Sep 13 '09 at 1:06

So, you wish to merge multiple html files with possible duplicates without importing them in firefox ?

I'd say the easiest solution would be just that - import them in FF, get some extension to check for duplicates, delete those, and then export them again.

share|improve this answer one such addon, "Bookmark Duplicate Detector" – dbr Sep 10 '09 at 1:08
that would be the "bookmarkdd" he refers to in the question :P – John T Sep 10 '09 at 2:00
Nope. I knew of some other one, but for the like of god, I can't remember the name now. Anyways, 'tis not important ... – Rook Sep 10 '09 at 11:59

I have found the solution. In my opinion, the easiest way is: Let's say you have 100 bookmarks in Mozilla and 4 more files with bookmarks in json/html format. The idea is to have every file in html. So, export the ones in mozilla to html. Delete them from mozilla afterwards. Show all bookmarks -> Import and backup -> Restore -> Choose file -> choose one of the json ones you have(if you don t have any, skip this step). After that, export the newly acquired bookmarks to html and delete them from Mozilla. Repeat as many times as needed. Now, you only have .html bookmarks, a few files. Make sure all the bookmarks from within Mozilla are deleted and start importing the html(Import bookmarks from HTML). Do this for every html file, do not delete anything. After that, simply arange them, you will have multiple folders inside the bookmars but it shouldn t take more than 5 minutes and manually delete the duplicates after sorting them by name. And voila, no software, no bookmarks lost, everything takes tops 15 minutes (and I had hunderts of bookmarks in 5 different html files).

share|improve this answer

Some update. As of 2015, independant third-party bookmarks merger tools may still work. Though none of those I've checked and tested handle tags or annotations thanks to a Fx limitation.

Now Firefox finally supports export/import tags and annotations starting with version 43 (my source and test. This allows to export/import any bookmarks' folder(s) you wanna keep, in place of replacing the whole lot, finally :)

share|improve this answer

You must log in to answer this question.