TestFinch

Compare two texts

Compare two texts and see the changed lines and words.

Runs in your browser. Nothing is uploaded.

Loading the tool

Report a difference that should not be there with Snag: paste the diff into the report, and the screenshot, console and network requests are attached for you. Free, no card.

Try Snag free

When a test that passed yesterday fails today, comparing yesterday's output with today's shows what changed. This tool compares two texts and marks the changed lines, and the changed words inside them.

How to use it#

  1. Paste the original text on the left and the changed text on the right, or try the sample.
  2. The comparison appears below as you type: removed lines marked with a minus, added lines with a plus, and the words that differ highlighted inside each changed pair.
  3. Long runs of unchanged lines fold into one line saying how many, with three lines of context around each change.
  4. Select Copy as a diff to copy the result with minus and plus markers, ready for a ticket or a chat.

Swap exchanges the two sides, and Clear empties both.

Where it helps#

Comparing an API response before and after a deploy. Checking a configuration file against the one that worked. Finding the one changed line in two long logs, or two versions of a requirement. Reviewing the text of an email or a page against its approved copy.

Large texts#

Texts over 256 KB are compared in the background, so the page stays responsive, and long results are shown 500 rows at a time with a button for more. Text up to 20 MB is accepted. Two very large texts with almost nothing in common take too much work to compare in a browser; the tool says so rather than freezing.

Line endings#

Windows and Unix end lines differently. The comparison ignores that difference, and the summary says when the two texts used different line endings.

Questions#

Is my text sent anywhere?#

No. The comparison runs in your browser.

Does it compare words or lines?#

Both. Changed lines are marked, and the changed words inside them too.

Can I compare code?#

Yes. The diff works on any plain text, line by line.

Why does it say the texts are too different?#

Comparing two large texts with almost no lines in common takes more work than a browser tab can do quickly. Compare smaller parts of them.