Code Diff Checker API
https://api.findutils.com/api/tools/code-diff-checker/execute Returns a line-by-line diff of two code snippets: each line marked added, removed or unchanged with its original and modified line numbers, plus addition/deletion counts and a unified patch text. Can ignore whitespace and letter case when comparing.
Needs an API key. Running a tool needs an API key. Keys are not for sale yet: ask for early access. About API keys
Request body
application/json-
original
string required
The original code.
-
modified
string required
The modified code.
-
ignore_whitespace
boolean optional
Collapse runs of whitespace and trim lines before comparing. Default: false. Default
false. -
ignore_case
boolean optional
Compare lines case-insensitively. Default: false. Default
false.
Example arguments
Verified{
"original": "a\nb\nc",
"modified": "a\nx\nc"
} More Text tools
- Bookmarks Diff Compare two Netscape bookmarks.html exports (before and after) and list the links that were added, removed, or changed.
- Bookmarks Html To Markdown Convert a browser bookmarks.html export (the Netscape bookmark format Chrome, Firefox, Edge and Safari write) into Markdown for Notion…
- Case Convert Convert a string between camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE, dot.case, 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 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…