Skip to content

Text Tools

Text Diff Checker

Compare two blocks of text line by line with highlighted additions and removals — perfect for comparing drafts, config files, or code.

+0 added−0 removed

The diff is computed locally with a line-based LCS algorithm. Nothing is uploaded.

Line Diffs in Real Workflows

  • Contract redlines: paste both versions to see instantly which clause moved, without Word markup noise.
  • Config files: a line diff before deploy catches the accidental deletion that a rollback would take an hour to find.
  • Code review prep: whole-line granularity matches how git presents changes, so the preview matches the eventual diff.
  • Translation QA: compare a source and translated file line by line to find dropped or duplicated paragraphs.

How the Transformation Works

  1. Paste the original text into the left panel and the modified text into the right panel.
  2. The tool computes a line-based diff using a classic longest-common-subsequence algorithm.
  3. Lines that exist only in the original are marked as removed; lines only in the modified are marked as added.
  4. Unchanged lines provide the shared context so you can see exactly what moved.
Formula & Technical Standard
Longest Common Subsequence (LCS) dynamic programming over the lines of both inputs.

Example Input & Output

Review an edited paragraph
Input: Original: two sentences → Modified: three sentences
Output: Changed sentence highlighted as added
The new sentence is flagged, letting you confirm precisely what was changed between drafts.
Compare two config versions
Input: config-v1.txt vs config-v2.txt contents
Output: Removed and added settings listed
Line diffs catch accidental deletions in configuration files before they cause outages.

Common Questions

Is my text uploaded anywhere?

No. The diff is computed entirely inside your browser, so confidential documents and private code stay on your device.

Does it compare character-level changes?

The comparison is line-based, which gives the clearest overview for prose, lists, and code. Whole-line changes are marked rather than sub-word edits.