EDIT
See what changed between two versions of a PDF, with added and removed text marked line by line.
QUICK ANSWER
To compare two PDFs, add the first version as File A and the new version as File B, then choose Compare these files. StackPDF compares the text on each page and lists the lines that were added or removed. It’s a text comparison, so pictures and layout changes aren’t compared. It runs in your browser, so neither file is uploaded.
Updated 31 October 2026 · Written by the StackPDF teamUpdated 31 October 2026 · StackPDF team
The old version first, then the new one. They stay in this browser.The old version first, then the new one. They stay in this browser.
PDF files · Runs in your browser
QUICK ANSWER
To compare two PDFs, add the first version as File A and the new version as File B, then choose Compare these files. StackPDF compares the text on each page and lists the lines that were added or removed. It’s a text comparison, so pictures and layout changes aren’t compared. It runs in your browser, so neither file is uploaded.
Updated 31 October 2026 · Written by the StackPDF teamUpdated 31 October 2026 · StackPDF team
HOW TO
Add the old version as File A and the new one as File B.
StackPDF reads the text of every page and lines the versions up.
Removed lines start with a minus and added lines with a plus. Save it as a .txt file.
GOOD TO KNOW
It compares the words on the pages, not how they look.
| CHANGE | FOUND? | WHY |
|---|---|---|
| Words added, removed or changed | Yes | The text is compared line by line |
| Pages added or removed | Yes, as added or removed lines | Their text appears or disappears |
| Pictures, colors and layout | No | Only the text layer is compared |
| Scanned pages | No | Scanned pages without a text layer appear empty |
This is a text-layer diff, not a pixel-perfect visual proof.
PRIVACY
Yes. Compare PDFs runs in your browser, so the file never leaves your device.
StackPDF opens the PDF in your browser tab and does the work there.
Close the tab and it’s gone. Free results download to your device. Premium can also keep them in My files.
pdf-lib, PDF.js and qpdf do the work, inside your browser.
FAQ
Add the old version as File A and the new version as File B, then compare. You get a list of the lines that were removed and added.
Yes. The free plan includes 1 PDF export a day, with no account. Premium removes the daily limit for $5.99 a month or $39.99 a year.
No. Both files are compared in your browser, so neither one leaves your device.
No. Only the text is compared, so changes to pictures, colors and layout aren’t found.
Not directly, because scanned pages have no text to compare. Run OCR PDF on both files first, then compare them.
Yes. Save the report as a .txt file. Removed lines start with a minus and added lines with a plus.