littlekit.
Free. No account.

Text Difference

Uses a longest-common-subsequence line comparison.

Your inputs stay in your browser. No account required.
Loading tool controls…

How Text Difference works

Uses a longest-common-subsequence line comparison. “+” marks additions; “−” marks removals.

Try an example

hello → hello world is shown as one removed and one added line.

Good to know

Maximum 250,000 line-pair comparisons. This compares text, not semantic meaning.

Your privacy

Processing happens on this device for this tool. We do not upload your input, put it in share links or save it to your favourites. Closing this tab discards the working input; downloaded results remain wherever you save them.

When this tool is useful

Use Text Difference to review two plain-text versions and see which lines were added, removed or kept.

How to use it

  1. Paste the earlier version into the first panel and the later version into the second.
  2. Read the line-level result and check the surrounding context before accepting a change.
  3. Copy the final version from your own editor; the diff is a review aid, not a merge engine.

Checks before you rely on the result

  • The comparison is line-based, so a changed line is shown as a change rather than a character-by-character patch.
  • Large inputs are bounded to keep the browser responsive.
  • Whitespace and line-ending differences can be meaningful; do not normalise them without deciding that they are noise.

This page is maintained with the tool implementation and its deterministic tests. If the result looks wrong, report the issue with a non-sensitive example.

Read the Text Difference instructions

A useful next step

Made for clarity. Built to be useful.Report an issue