Skip to content
easytoolapp
  • Home
  • Text
  • Calculators
  • Converters
  • Date & Time
  • Generators
  • Developer
  • Design
  • Device
  • Health
  • Business
  • About
  • Contact
  1. Home/
  2. Developer/
  3. Diff Checker
</>Developer

Diff Checker

Paste your original and changed text — see line-level differences with word-level highlights inside changed lines. Toggle ignore-whitespace and ignore-case, switch between side-by-side and unified views, copy the diff or download a .patch file.

Your texts are compared entirely in your browser. Nothing is uploaded.

How to use this diff checker

  1. Paste your original text on the left and the changed text on the right.
  2. Toggle 'Ignore whitespace' or 'Ignore case' if needed.
  3. Switch between side-by-side and unified views — changed words are highlighted within changed lines.
  4. Copy the diff or download as a .patch file for use with git apply.

Frequently asked questions

How is the diff computed?

Using the Myers diff algorithm — the same family of algorithms used by git diff and most code editors. It finds the shortest edit script between the two texts.

What is word-level diff?

When two lines are paired (one removed and one added), the tool runs a second diff at the word level so you see exactly which words changed inside the line — not just that the line is different.

Can I export the diff?

Yes. Copy the unified diff to clipboard, or download as a .patch file you can apply with git apply.

Why does the diff show whole lines as changed when I only edited one word?

Myers diff matches lines first, then runs word-level diff inside paired lines. If your edit also added whitespace (auto-indent, trailing spaces, line-ending change), the line counts as 'removed + added' rather than 'modified'. Toggle 'Ignore whitespace' to collapse those cases.

Related tools

</>Developer

Regex Tester

Live matching, groups & cheat sheet.

</>Developer

Hash Generator

MD5, SHA-1/256/384/512, HMAC, files.

</>Developer

JSON Formatter

Format, validate, convert, analyze JSON.

AaText

Word Counter

Count words, readability score and keywords.

easytoolapp
AboutContactGuidesPrivacyTerms
© 2026 easytoolappEasy online tools for everyday tasks.
2 unchanged+2 added−2 removed
Hello worldHello brave new world
The quick brown foxThe quick brown fox
jumps over the lazy dogleaps over the lazy dog
GoodbyeGoodbye