How to compare two PDFs and find exactly what changed
5 min readpdfmaro
Someone sends back “the final version” of a contract, a policy, or a proposal — and you're left squinting at two near-identical PDFs trying to spot what moved. Reading both side by side works until the documents are more than a page or two, at which point a single changed number or a quietly deleted sentence is dangerously easy to miss.
Why comparing PDFs is harder than it should be
PDFs are designed to look the same everywhere, not to track their own changes. Unlike a Word document with “track changes,” a PDF carries no history — version two has no idea what version one said. So to compare them you have to pull the text out of each file and line it up yourself. The reliable way to do that automatically is a text diff: extract the words from both documents and compare them line by line, flagging what was added and what was removed.
How to compare two PDFs quickly
Our Compare PDF tool does this in the browser. You drop in the original (A) and the changed version (B), and it reads the text from both, runs a line-by-line comparison, and shows you a clean result:
- Lines shown in green were added in the new version.
- Lines shown in red were removed from the original.
- Unchanged lines stay neutral, so the differences jump out.
It also gives you a count at the top — how many additions and removals — so you can tell at a glance whether this was a one-word tweak or a serious rewrite.
What this kind of comparison is great at
- Catching edited wording. A changed clause, a new paragraph, a deleted sentence — all surface immediately.
- Changed numbers and dates. A price that went from one figure to another, a deadline that shifted — the kind of small change that costs real money if missed.
- Long documents. It's just as happy with a fifty-page agreement as a one-pager, where reading by eye would be hopeless.
The honest limits
A text diff is the right tool for content changes, but it's worth knowing what it doesn't do, so you're not caught out:
- It compares text, not layout. If the words are identical but the font, spacing or page design changed, a text comparison won't flag that — it's looking at what the document says, not how it looks.
- It needs real, selectable text. If one of the PDFs is a scan — a photo of a page with no text layer — there's nothing to extract, so there's nothing to compare. You'd need to run it through OCR first.
- It works line by line. Reworded sentences can show up as a removed line and an added line rather than a neat word-level highlight. You still see the change — it just reads as “old out, new in.”
- Very long files are capped. Extremely large documents are compared up to a generous line limit, and the tool tells you if it had to cap.
A note on privacy
Contracts and internal documents are exactly the things you don't want sitting on someone else's server. Compare PDF reads and compares both files entirely in your browser — nothing is uploaded, and the two documents never leave your device.
The short version
- PDFs don't track changes, so you compare them by extracting and diffing the text.
- Added lines show in green, removed lines in red, with a count at the top.
- Ideal for catching edited wording, changed numbers and deleted clauses.
- It compares text, not visual layout, and needs selectable text (not a scan).
Got two versions to check? Open Compare PDF — drop in both files and see exactly what changed. Free, no sign-up, and both PDFs stay on your device.
The tool from this guide
Compare PDFSpot the differences