Text & writing

Text comparison

See which lines differ between two pieces of text.

Text comparison
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Compares corresponding lines by position and reports changed, added and removed lines. It is a simple line comparison, not a minimal edit-distance diff.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Original text
One
Two
Three
Updated text
One
Two updated
Three

Example result

Example result
LineChangeOriginalUpdated
2ChangedTwoTwo updated

1 differing line positions.