Original
Changed
Differences
The result will appear here
Results appear as you typeShortcut: Ctrl + Enter to run

How to use the Text Diff Checker

  1. Paste the old version into "Original" and the new version into "Changed".
  2. Optionally turn on "Ignore whitespace", "Ignore case" or "Only changes".
  3. Differences appear below: green + for additions, red − for deletions, with original and changed line numbers.
  4. Press "Download" for a .diff file or "Copy" to copy the changes.

Examples

Compare a config change

Input
Original:
port=80
host=localhost
debug=true

Changed:
port=443
host=localhost
Output
-port=80
+port=443
 host=localhost
-debug=true

Specs & key facts

GranularityLine by line (longest common subsequence algorithm)
OptionsIgnore whitespace, ignore case, only show changes
ExportUnified diff (.diff)
Recommended sizeUp to a few thousand lines per side
ProcessingIn your browser (nothing is uploaded)
PriceFree, no sign-up

FAQ

Can I compare Word or PDF files?

Copy the document text and paste it as plain text. The tool compares text, not fonts or formatting.

Why is a whole line shown as removed and added when I changed one word?

The comparison works per line, so any change within a line shows the old line as removed and the new line as added.

What does "Ignore whitespace" ignore?

It treats runs of whitespace as one space and ignores leading and trailing whitespace — useful for code with different indentation.

Is my text stored?

No. The comparison runs in your browser and nothing is uploaded.