← All Tools

📋 Diff Tool

Compare two texts and highlight the differences.

All processing happens locally in your browser. No data is sent to any server. GDPR/DORA compliant.

Diff Reference

Color Legend

  • Red / Strikethrough - Removed
  • Green - Added
  • Gray - Unchanged

Unified Diff Format

  • --- Original file header
  • +++ Modified file header
  • @@ Chunk header
  • - Line removed
  • + Line added

Tips

  • Ignore whitespace for code diffs
  • Ignore case for text comparison
  • Use unified diff for patches
  • Upload files for larger texts

Algorithm

  • Uses Longest Common Subsequence
  • Line-by-line comparison
  • Character-level highlighting
  • Optimized for performance