Diff
Checker
Compare two texts and highlight additions, deletions, and changes in color. Supports line-by-line and word-level comparison.
What is a Diff Checker?
A diff algorithm identifies the differences between two texts or files — finding which lines were added, deleted, or changed. It is the core technology behind Git, SVN, and other version control systems.
This tool provides two comparison modes. Line mode compares texts line by line, showing which entire lines were added or removed. Word mode goes further, highlighting the exact words that changed within each line.
Differences are computed using the LCS (Longest Common Subsequence) algorithm entirely in your browser. Results are color-coded: green for additions, red for deletions, and gray for unchanged content. Summary statistics show the count of added, removed, and changed lines.
- ▸Quickly review changes before a code review
- ▸Compare two versions of a configuration file (config, yaml, json)
- ▸Check differences between a translation draft and the final version
- ▸Compare previous and current API response payloads
- ▸Review edits between a document draft and the final copy