Text Diff
Compare and visualize differences between two texts
Text Diff: Compare Two Texts, Strings & Find Differences Online
Two blocks of text are compared by this text diff tool and exactly what changed is highlighted — additions, deletions, and modifications — at both line and character level. Side-by-side or inline view can be chosen. Indispensable for reviewing code changes, comparing API responses, checking config file differences, and verifying transformations produced the expected output. Also works for string diff and script comparison.
Side-by-side vs. inline view
Side-by-side shows the old text on the left and new text on the right with changes highlighted. Inline mode merges both into a single view with additions in green and deletions in red. Whichever is easier can be chosen — inline works better for small changes, side-by-side for larger differences.
Character-level precision
Not just which lines changed are shown — the specific characters within a line that differ are highlighted. This makes it easy to spot single-character typos, extra spaces, or subtle differences that line-level diffs would miss.