CCalcBOX
🌐JA
📝

Text Diff

Compare two texts with line and word-level diff highlighting.

Input Texts

Options:

About This Tool

This text diff tool compares two pieces of text and highlights the differences between them. It uses an LCS (Longest Common Subsequence) based algorithm to produce accurate diffs.

Unified view shows all changes in a single column with + and - prefixes, similar to git diff. Split view shows original and modified text side by side with line numbers.

Use the options to ignore whitespace differences, case differences, or blank lines when comparing. The swap button lets you quickly reverse the comparison direction.

📖How to Use
  1. 1Paste two texts into the respective input fields
  2. 2Added, deleted, and changed lines are highlighted in color
  3. 3Toggle between inline and side-by-side view
💡Tips & Knowledge
  • Great for quickly reviewing changes in config files or code
  • Character-level diff is also available, so no small change goes unnoticed
  • The unified view uses +/- prefixes like git diff, making changes easy to read at a glance

🔗 Related Tools

All calculations run in your browser. No data is sent to any server.