Merge Bookmarks API
https://api.findutils.com/api/tools/merge-bookmarks/execute Merge two or more Netscape bookmarks.html exports (Chrome, Firefox, Edge, Safari) into one bookmarks.html that any browser imports. Every link and folder is kept in file order; by default each file goes under its own top-level folder named after the file, and wrap_in_folders=false merges folders that share a name (both "Bookmarks bar" folders become one). dedupe keeps the first copy of each address, compared the way dedupe_bookmarks compares them: host case, default port and trailing slash folded, and by default utm_* / fbclid / gclid parameters and the #fragment ignored. An input with no bookmarks is reported and the rest still merge. Descriptions, icons and tags are not carried over, empty folders are not written, and no link is fetched.
Request body
application/json-
inputs
array required
The bookmarks.html file contents, one string per file, in the order they should appear. At least 2 with bookmarks, at most 20.
-
names
array optional
Optional file names, one per input, used to name each file's folder (the .html extension is dropped). Missing names become "File 1", "File 2"…
-
wrap_in_folders
boolean optional
Put each file under a top-level folder named after it. Default true. When false, folders with the same name at the same level are merged. Default
true. -
dedupe
boolean optional
Keep only the first copy of each address. Default false: every copy stays. Default
false. -
strip_tracking
boolean optional
When deduping, treat utm_*, fbclid and gclid parameters as noise. Default true. Default
true. -
ignore_fragment
boolean optional
When deduping, treat addresses that differ only by #fragment as the same page. Default true. Default
true.
Example arguments
Verified{
"inputs": [
"<!DOCTYPE NETSCAPE-Bookmark-file-1>\n<DL><p>\n <DT><A HREF=\"https://example.com/\">Example</A>\n</DL><p>\n",
"<!DOCTYPE NETSCAPE-Bookmark-file-1>\n<DL><p>\n <DT><A HREF=\"https://example.org/\">Example Org</A>\n</DL><p>\n"
],
"names": [
"work.html",
"home.html"
]
} More Text tools
- Bookmarks Diff Compare two Netscape bookmarks.html exports (before and after) and list the links that were added, removed, or changed.
- Case Convert Convert a string between camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE, Title Case, Sentence case, lower, UPPER.
- Citation Generator Generate a reference-list citation in APA 7, MLA 9, Chicago, or Harvard style for a book, website, journal, or article.
- Code Diff Checker Returns a line-by-line diff of two code snippets: each line marked added, removed or unchanged with its original and modified line numbers,
- Code Highlight Html Returns syntax-highlighted HTML for a code snippet: HTML-escaped text wrapped in <span style="color: ..."> elements using one of six colour
- Dedupe Bookmarks Remove duplicate links from a Netscape bookmarks.html export (Chrome, Firefox, Edge, Safari) and return a clean bookmarks.html plus a CSV of