Line-by-Line Text Diff

Compare two passages and show added, removed and unchanged lines.

Runs in your browser. Nothing you enter is sent to our servers.

Input and options

Everything runs locally in your browser. No text is uploaded.

Result

Enter your details and select Run tool.

How to use this tool

Paste the earlier version in the first box and the revision in the second. Run the comparison to see unchanged lines (two leading spaces), deletions (-) and additions (+). The comparison preserves line order and supports up to 180 lines on each side.

Questions and answers

Is it a word-by-word comparison?

No. This tool compares whole lines and is intended for small revisions, snippets and configuration files.

Why are edits displayed as delete plus add?

A modified line is a removed old line and an added new line in a line-based comparison.