← Tools
Text Processing

String Diff Checker

Compare two texts and see exactly what changed — added, removed, and unchanged tokens highlighted inline.

Original0 chars
Modified0 chars

How It Works

This tool uses the Longest Common Subsequence (LCS) algorithm to find the minimal set of insertions and deletions needed to transform the original text into the modified text.

Use Cases

  • Code review — spot logic changes at a glance
  • Content editing — compare document revisions
  • Config diff — compare configuration files
  • Debug — compare expected vs actual output

Word vs Character

Word mode splits on whitespace and shows which words were added or removed. Better for prose and code lines.

Character mode shows exactly which characters changed. Better for short strings, tokens, and regex patterns. To test regex against text, try the Regex Tester.