Text Diff Checker

Compare two blocks of text or code side-by-side and see exactly what changed.

How it works

Compare two blocks of text and see exactly what was added, removed, or unchanged — by word, by line, or character-by-character — with additions and deletions color-coded inline.

  1. Paste the original text on the left and the changed version on the right.
  2. Choose a comparison granularity: words, lines, or characters.
  3. Review the diff result, where green highlights additions and red/strikethrough marks removals.
  4. Check the added/removed counters for a quick summary of how much changed.

Common use cases

  • Reviewing edits to a document, contract, or blog post between two drafts.
  • Spotting exactly what changed in a config file, log snippet, or API response between two versions.
  • Comparing a rewritten version of text against the original to see what was actually altered.
  • Line-by-line diffing of code snippets that aren't in version control.

FAQ

Which comparison mode should I use?
'Words' is best for prose and general text — the most readable for sentence-level edits. 'Lines' suits structured content like config files. 'Characters' is most precise but noisiest, useful for spotting small typo-level changes.
Does this diff files directly?
No — paste the contents of each file into the two fields to compare them.

Continue with another tool