KitJade
Developer ToolsRuns in your browserNew

Text Diff Checker

Line-by-line differences between two texts.

Use the Text Diff Checker tool

Runs in your browserUpdated Report a problem

What this text diff checker does

Text Diff Checker compares two versions of a document line by line. Additions are marked green, removals red, and unchanged lines stay neutral so you can scan the actual change instead of reading both blocks in full.

The comparison uses a longest-common-subsequence algorithm, which finds the smallest set of inserted and deleted lines that turns the first text into the second. It is the same family of method used by version control for readable patches.

Why use it

  • Check what changed between two drafts.
  • Review configuration edits before applying them.
  • Confirm that a translator changed only the intended lines.

How to use it

  1. 1Paste the original text on the left.
  2. 2Paste the revised text on the right.
  3. 3Read the colour-coded diff and the added/removed counts.

Worked examples

One line changed

Input

Version A: port = 8080
Version B: port = 9090

Output

1 removed (− port = 8080) · 1 added (+ port = 9090)

Insertion

Input

A: alpha
B: alpha
beta

Output

1 added line · 1 unchanged line

Common mistakes

  • Comparing files with different line endings and seeing every line as changed.
  • Expecting word-level highlighting; this tool compares whole lines.
  • Pasting trailing spaces that create differences invisible at a glance.

Frequently asked questions

How large can the comparison be?
Very large inputs are truncated to keep the browser responsive. The tool states when that happens instead of silently returning a partial diff.
Does it ignore whitespace?
No. Spaces and tabs are compared exactly, which is deliberate for code and configuration.
Can I compare more than two versions?
Compare two at a time, then use the winner as the baseline for the next comparison.
All tools