Development Tool

Text Diff

Compare two text blocks and visualize differences line by line with word-level highlighting. Everything runs locally in your browser.

Paste your original and modified text above to compare

Or click "Load Sample" to see an example

Client-Side Only

All processing happens in your browser. No text data is sent to any server or stored anywhere.

Word-Level Diff

Modified lines show inline word-level highlighting so you can see exactly what changed within each line.

Instant Results

Diff is computed in real time as you type using a Longest Common Subsequence algorithm.

Common Use Cases

  • Code review: Compare before and after refactoring to verify changes
  • Configuration diffs: Spot differences between environment configs
  • Document comparison: Find changes between document versions
  • API responses: Compare API response payloads to track changes
  • Debugging: Diff log outputs to isolate issues