What the Text Diff Checker does
Paste an original text into the left box and its revised version into the right, and this page shows what changed between them. Lines that are identical appear as plain unmarked text, lines that exist only in the original are printed in red with a minus sign, and lines that exist only in the revision are printed in green with a plus sign.
The comparison runs by itself as soon as the page loads, using a built-in sample, so the marking scheme is visible before you paste anything. After that it runs each time you press Compare. Typical uses are checking a clause that a colleague edited, seeing what a config patch touched, or comparing a translated paragraph against its source line by line.
How to use it
- Paste both versionsThe left box holds the original and the right box holds the revision. Line breaks define the comparison, so keep the paragraph structure intact when pasting out of a word processor rather than accepting its reflow.
- Keep the line counts similarThe two texts are read in parallel from the first line down, so a revision that gained or lost lines in the middle will shift everything after the change. Aligning the text roughly beforehand gives a cleaner reading.
- Press CompareOne button runs the check and fills the result area with plain, red and green lines. Press it again after every edit, because the display does not refresh while you type into either box.
- Read the summary lineUnder the result, a status line reports how many lines were added, how many were removed and how many were compared in total. Treat it as a sanity check before reading the marked lines in detail.
Options and formats
Things to watch out for
Frequently asked questions
Can I compare two files directly?
Open each file, select all and paste into the matching box. There is no file picker on the page, and the boxes hold whatever text you give them, so an editor or a terminal diff is more convenient for whole project trees, while this page suits the few paragraphs you need to read closely.
Why are lines I never touched marked as changed?
Because an insertion or deletion above them moved everything down or up by one position. The tool compares line one against line one, line two against line two and so on, and it does not attempt to realign the two sides after a shift. Remember the approximate edit, then compare in smaller sections.
What do the leading symbols mean?
A minus sign in red marks a line present in the original but missing or different in the revision. A plus sign in green marks a line present in the revision but not in the original. Unmarked lines are identical in both boxes, including their spacing, since spacing is compared as content.
Does it highlight the characters that changed inside a line?
No. A changed line is shown twice, once as a removal and once as an addition, and you find the difference by reading the pair. For long lines, copy the two versions into separate scratch documents and compare them in shorter pieces.
Is my text kept anywhere after I close the tab?
No. Both boxes and the result exist only in the open page and are gone when you close or reload it. Nothing is written to storage, which is what makes the tool reasonable for pasting draft contracts or internal documents you would rather not send to a server.
Why does the sample text show up every time I reload?
The page loads that pair and runs a comparison as a demonstration of how changes are marked. Press Clear to empty both sides, or select the sample text and overwrite it with your own paste; the boxes behave like any ordinary text field after that.