Nyxiontech PDF Tools › Compare PDF
How to compare two PDFs
Someone sends back "the updated contract" and says nothing about what they updated. Reading both versions side by side works for two pages and stops working at ten, and the thing you miss is never the paragraph that was rewritten. It is the number that moved, or the clause that quietly went away. Two documents can also differ in ways that reading will not surface at all, which is why one comparison is rarely enough.
Why one comparison is not enough
Compare PDFs runs two independent comparisons over the same pair of files and shows you both, because each is blind to what the other catches:
- The text diff reads the text out of both files and compares it line by line, page by page. It catches wording, numbers and dates precisely, and it tells you exactly which line changed. It cannot see anything that is not text: a moved logo, a redrawn table border, a signature image swapped for another.
- The visual diff renders both pages to images and compares them pixel by pixel. It catches everything you can see, layout and images included. It cannot tell you what a changed word now says, only that the ink in that spot is different.
A document where the wording is identical and the text diff reports nothing, while the visual diff lights up, is usually one where a font, a margin or an image changed. That is worth knowing before you sign it.
Running it
- Open Compare PDFs and drop the older file into Original.
- Drop the newer one into Changed. The labels are not decoration: they decide which direction counts as an addition and which as a removal, so putting them the wrong way round inverts every colour in the result.
- Click Compare. Both comparisons run together, and a progress count tracks the pages as they render.
- Use the switch above the results to move between the Text and Visual views. The summary line tells you how many text lines changed and how many pages differ at all.
Reading the visual diff
Each page comes back as a single image rather than a pair, with the unchanged content faded to a quarter of its strength so that what moved stands out. Two colours do the work:
- Red is gone. The pixel was darker in the original than in the changed file, so something that used to be there has been removed or moved away.
- Green is new. The pixel was darker in the changed file, so something arrived.
- Faded grey is unchanged, and it is there to give you the context to read the rest by, not to be looked at.
A line of text that was edited shows as red and green together, because the old glyphs went and new ones arrived in roughly the same place. A block that simply moved down the page shows as red where it was and green where it is now, which is how you tell a move from a rewrite at a glance.
The comparison works on brightness rather than colour, and ignores differences smaller than a threshold, so antialiasing noise along the edges of letters does not flood the page with false positives. A genuine but faint change, such as light grey text going slightly lighter, can fall under that threshold. The text diff is what catches those.
Where it will mislead you
- An inserted or deleted page shifts everything after it. Both comparisons line the files up by page number, so adding a page at the front makes every later page look rewritten. If the summary says nearly every page changed, check the page counts before reading anything into it.
- A page that exists in only one file is shown on its own and counted as entirely changed, because there is nothing to compare it against.
- Scanned documents compare as pictures. Two scans of the same paper differ in every pixel from the scanner alone. Run both through OCR first and compare the text, or accept that the visual diff will be noise.
- Nothing is inferred about meaning. A renumbered clause and a rewritten clause look the same to both comparisons. The tool shows you where to look; it does not tell you whether it matters.
These are the last two files to upload
Comparing contract versions on someone else's server means uploading both of them, which is to say the terms, the parties and the numbers, twice. The usual online comparison tools do exactly that, and several keep the files long enough to show you the result from a link. Nothing is uploaded here. Both documents are read, rendered and compared inside the browser tab, and you can confirm it rather than take it on trust: open the network panel first and watch it stay empty, which how to check if a PDF tool uploads your files walks through.