Text Diff API
Compare two pieces of text and get a precise, structured diff. Choose line, word or character granularity for a full edit script (equal, inserted, deleted) with addition and deletion counts, get a compact inline word diff, or render a standard unified diff (patch) with configurable context lines and file labels — ready to feed into patch tooling or a code-review UI. Built on a Longest-Common-Subsequence algorithm for accurate, minimal diffs. Every endpoint works by GET or JSON POST and runs entirely server-side with no third-party upstream, so responses are instant and the service is always available. Ideal for code review and version tooling, CMS and document editors, change tracking, plagiarism highlighting and content audits.
api.oanor.com/textdiff-api