Original Text A
Modified Text B
Copied!
Added: 0
|
Removed: 0
|
Unchanged: 0
|
Similarity: 0%
Diff Result
Enter text in both panels above and click Compare to see differences.

How to Use the Text Diff Checker

  1. Paste your original text into the left panel (labeled A).
  2. Paste your modified text into the right panel (labeled B).
  3. Click Compare (or press Ctrl+Enter) to generate the diff.
  4. Review the results:
    • Lines highlighted in green (with +) were added in the modified text.
    • Lines highlighted in red (with -) were removed from the original.
    • Lines with no highlight are unchanged.
  5. Use the statistics bar to see a quick summary: lines added, removed, unchanged, and an overall similarity percentage.

Options explained:

  • Word-level diff โ€” instead of highlighting entire lines, individual changed words within paired lines are highlighted. Useful for spotting small edits.
  • Ignore whitespace โ€” treats lines that differ only in leading/trailing spaces or tab width as identical.
  • Ignore case โ€” Hello and hello are treated as the same for comparison purposes.
  • Swap โ€” flips original and modified panels so you can reverse the direction of comparison.
  • Copy Diff โ€” copies the plain-text diff output to your clipboard.

Format and validate JSON โ†’ JSON Formatter

Test regular expressions โ†’ Regex Tester

Count words and characters โ†’ Word Counter

Need a markdown editor? โ†’ Markdown Preview โ€” write and preview markdown live