Bookmarks Diff API
https://api.findutils.com/api/tools/bookmarks-diff/execute Compare two Netscape bookmarks.html exports (before and after) and list the links that were added, removed, or changed. Links are matched by address 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. A match is "changed" when its title differs or, with compare_folders (default true), when it sits in a different folder. Returns counts, one entry per difference, a CSV report, and the added and removed links as importable bookmarks.html files. An address saved twice on one side is compared once, by its first copy. No link is fetched.
Request body
application/json-
before
string required
The older Netscape bookmarks HTML.
-
after
string required
The newer Netscape bookmarks HTML.
-
strip_tracking
boolean optional
Treat utm_*, fbclid and gclid parameters as noise when matching. Default true. Default
true. -
ignore_fragment
boolean optional
Treat addresses that differ only by #fragment as the same page. Default true. Default
true. -
compare_folders
boolean optional
Count a link that moved to another folder as changed. Default true. Default
true.
Example arguments
Verified{
"before": "<!DOCTYPE NETSCAPE-Bookmark-file-1>\n<DL><p>\n <DT><A HREF=\"https://example.com/\">Example</A>\n <DT><A HREF=\"https://old.example/\">Old</A>\n</DL><p>\n",
"after": "<!DOCTYPE NETSCAPE-Bookmark-file-1>\n<DL><p>\n <DT><A HREF=\"https://example.com/\">Example (renamed)</A>\n <DT><A HREF=\"https://new.example/\">New</A>\n</DL><p>\n"
} More Text tools
- 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
- Html Entity Finder Search the HTML entity catalog and return matching entities with their character, named entity, decimal code, hex code, and category.