Skip to main content
Calctrove Calctrove

Text Diff

Text Diff

Compare text blocks side by side and inspect additions or removals.

Live

Live update on input changes.

File input

Choose a file

Click, drop, or paste from clipboard.

Left: manual | Right: manual
More actions
Source: manual / manual

Copy result exports current diff payload. Copy report details includes metadata for audits and handoff.

Workspace status

Waiting for diff rows. Edit input and run compare, or keep auto-update on.

Self-check score (heuristic): 64/100 • Needs review

Performance: 0 ms compare • live debounce 320 ms.

Added: 0
Removed: 0
Unchanged: 0

Text diff rows

0rows

Preview first 300 rows below. Mobile view uses stacked diff cards for readability.

Your input is processed locally in your browser whenever possible. We do not store your data.

Flow
  • Split left and right text into line arrays.
  • Compute longest common subsequence matrix.
  • Classify each line as added, removed, or unchanged.
Example

Worked example: one line changed

  1. 1 Left text has line two as original.
  2. 2 Right text updates line two content.
  3. 3 Diff table marks removed and added rows around unchanged lines.

Changed lines are clearly visible in comparison output.

How
  1. Paste original text in left panel and updated text in right panel.
  2. Run compare to generate diff table.
  3. Inspect row types and counts for change review.
Cases
  • Check generated copy changes before publishing.
  • Review config file edits from teammates.
  • Verify migration scripts line-level differences.
Avoid
  • Expecting character-level diff while tool compares by line.
  • Comparing files with mixed line endings without normalization.
  • Ignoring whitespace-only changes when they matter in code.
FAQ
Does this compare by character or by line?

This tool compares line by line for readability and speed.

Can I diff large text blobs?

Yes, but very large inputs may be truncated in the display table for performance.

Is text comparison uploaded to servers?

No, diff computation is done locally in your browser.

Switch
Switch12