Diff Checker

Compare two texts and see every added, removed and changed line and word.

How to use the Diff Checker

  1. Paste the original text in the left box and the changed version in the right box.
  2. Click Find difference.
  3. Read the highlighted result side by side or unified, and adjust the ignore-case and ignore-spaces options if needed.

About this tool

Which sentence did the client change in the contract? What did a colleague edit in the config file? A diff checker answers that in seconds. To compare two text files, paste the original on the left and the new version on the right (or open each file and copy its contents), then click Find difference.

Lines that were removed are shown in red, added lines in green, and inside changed lines the exact words that differ are highlighted, so even a single changed digit stands out. Switch between a side-by-side view and a unified view, ignore differences in upper and lower case or extra spaces, and see a summary of how many lines were added and removed. The diff checker works for plain text, code, CSV data and more. Comparison happens in your browser, so confidential documents stay private.

Frequently asked questions

It finds the longest sequence of lines the two texts share and marks everything else as removed or added. Changed lines are then compared word by word so the exact edit is highlighted.

Yes – you can compare code as easily as prose. The diff checker keeps indentation and uses a monospace font, which makes it handy for comparing code, JSON, configuration files and SQL.

Copy the text from each document and paste it into the two boxes. Formatting is not compared – only the words.

No. Both texts are compared in your browser and are never uploaded.

Desktop tools work with files directly: Notepad++ with the Compare plugin, VS Code (Select for Compare, then Compare with Selected), or the fc command on Windows and diff on Mac and Linux. Our guide on how to compare two text files walks through each one.