Compare two texts line by line. Added and removed lines are highlighted; ignore whitespace or case. Runs in your browser — neither text is uploaded.
Comparison is line by line. Toggle ignore whitespace or case to skip cosmetic differences.
Paste text into both panels to see the differences.
Type or paste your first (original) text into the left panel. It can be a paragraph, a list, code, a config file or any plain text.
Put the second (changed) version into the right panel. The two texts are compared line by line as you go.
Removed lines (only in the original) and added lines (only in the changed text) are highlighted, with a +N −M summary. Toggle “ignore whitespace” or “ignore case” to focus on the changes that matter.
No. The comparison runs entirely in your browser with JavaScript — neither text ever leaves your device and nothing is uploaded. That matters a lot for diffs: people often compare code, config files, .env files or other content that may contain secrets, and public online diff tools can log it. Here everything stays local.
It compares the two texts line by line and finds the longest common sequence of lines, then marks the rest as removed (only in the original) or added (only in the changed text). Each line keeps its line number on both sides. Comparison is per line, so a changed line shows up as the old line removed plus the new line added — there is no inline word-level highlighting within a line yet.
“Ignore whitespace” makes lines that differ only in indentation or spacing count as equal (the original spacing is still shown). “Ignore case” compares letters without regard to upper/lowercase. Both affect only the comparison — your text is displayed exactly as you pasted it.