Text Diff

Compare two texts and instantly see what’s different. Line-by-line highlighting.

Instant Line-by-Line Private

How it works

Three simple steps —everything happens in your browser.

1

Paste both versions

Put your original text on one side and the edited version on the other so the tool can compare them line by line.

2

Choose your diff view

Switch between unified and side-by-side layouts to inspect additions, deletions, and unchanged lines in the clearest format.

3

Review changes quickly

Use the stats summary and highlighted output to spot what changed before copying, debugging, or sharing revisions.

Features

Line-by-Line Diff

Compares texts line by line and highlights additions, deletions, and unchanged content.

Two View Modes

Unified view shows all changes in one column. Side-by-side shows both texts with aligned diffs.

Change Statistics

See how many lines were added, removed, and unchanged at a glance.

100% Private

Your text never leaves your browser. No server uploads, no storage.

Why choose ToolKnit Text Diff?

Side-by-side diff

Color-coded additions, deletions, and modifications shown line by line.

No data leaves your browser

Your text stays on your device. Safe for comparing sensitive code and configs.

Instant results

LCS-based diff algorithm runs in your browser with no server round-trip.

Pro Tips

  • Great for comparing code, configs, API responses, or any text documents.
  • Use Swap to quickly reverse which text is original vs. modified.
  • The diff algorithm uses the Longest Common Subsequence (LCS) method for accurate results.

You May Also Like

Explore more free browser-based tools —no signup, no uploads.