How do I compare two texts for differences?+
Paste the older version into Original and the newer one into Revised; the comparison updates as you type. Removed lines carry a minus and a strikethrough, added lines a plus and an underline, and when an edited line is close enough to its old version, only the words that changed are highlighted.
Can I compare two Word documents or PDFs?+
Yes, by pasting their text. The checker compares plain text, not files, so copy the text out of each document and paste one into each pane. Fonts, bold and layout are not compared. Text copied from a PDF may wrap lines in different places, which shows up as changed lines, so copy both versions the same way.
Is my text uploaded or saved anywhere?+
No. The comparison runs as JavaScript in this tab, so a contract, a draft or a config file with a key in it is not uploaded, and the page does not store either text. Clearing the panes or closing the tab discards both.
Why does a moved paragraph show up as deleted and added?+
A diff has only two operations, delete and insert, so moving a block appears as its removal from the old position and its arrival at the new one. This checker does not detect moves. To keep a review readable, move the section in one revision and reword it in the next.
Why do two texts that look identical show differences?+
Usually invisible characters: trailing spaces, tabs instead of spaces, or a non-breaking space pasted from a web page. Turn on Show invisibles to see spaces and tabs, or treat whitespace as equal. Different line endings (Windows CRLF against Unix LF) do not create false changes here; the page only notes that they differ.
When should I ignore whitespace?+
Ignore it for prose or reformatted code, where re-indenting or trailing spaces would flood the result. Keep it where spacing is syntax, such as Python and YAML indentation or Makefile tabs. Leading & trailing space forgives only the ends of each line and still reports indentation; All whitespace forgives every space and tab.
What does the @@ line in the unified patch mean?+
It is a hunk header that tells a patch program where the block belongs. @@ -12,7 +12,9 @@ means seven lines from line 12 of the original and nine from line 12 of the revision, counting unchanged context lines. Below it, a space marks an unchanged line, a minus a removed one and a plus an added one.
How long can the two texts be?+
Each side takes up to 200,000 characters or 10,000 lines, roughly a 40,000-word manuscript. If the texts differ by more than 12,000 line edits or the search reaches its effort limit, a region is shown as one block replaced by another and the page says so. The result is still correct, only less detailed.