Text Diff Checker
Compare two pieces of text line by line. See exactly what was added, removed, or unchanged.
Original
Modified
Diff
About this tool
A privacy-first text diff tool that uses the same longest-common-subsequence algorithm as git. Paste two versions of any text — code, JSON, config, contract — and see line-level adds, removes, and unchanged context. Ignore case or whitespace toggles handle minor formatting noise.
How to use it
Quick steps to get the most out of this utility.
- 1
Paste your two versions
Original on the left, modified on the right.
- 2
Choose ignore options
Ignore case if you want to skip casing-only changes. Ignore whitespace for trim/format-only diffs.
- 3
Read the diff
Green = added, red = removed, neutral = unchanged. Line numbers on each side.
- 4
Copy unified diff
Standard +/− format suitable for pasting into PRs, tickets, or chat.
Common ways to use a text diff
- Compare two API responses to find what changed.
- Spot the single broken setting between a working and broken config file.
- Review a contract revision sent back from legal.
- Validate that copy-pasting between editors didn't mangle line endings or quotes.
- Spot drift between a generated artifact and its checked-in counterpart.
Frequently asked questions
How does this differ from git diff?+
Same algorithm (longest common subsequence) — different surface. This tool is for one-off comparisons of text you don't have in a repo: pasted JSON, log lines, configs, contract paragraphs. For tracked code, git diff is faster.
Why doesn't the tool show character-level diffs?+
Line-level diff is the most useful for most cases. For character-level changes inside a long line, split the line first or use a dedicated word-diff tool.
Is my pasted text sent anywhere?+
No. The diff runs entirely in your browser. You can compare proprietary documents, internal configs, or sensitive logs without exposure.
Keep exploring
More utilities and reading from Toolisk.