Compare two PDF files
Find out exactly what changed between two versions of a contract, report or design. Open the original and the changed PDF and the tool compares the text of every page word by word, showing additions in green and deletions struck through in red, with counts per page. Switch to the visual view to see both pages side by side and a difference map that marks every changed pixel in red, which catches changes text comparison misses: moved images, new logos, colours and layout. Both files stay in your browser.
Original PDF
No file yet
Changed PDF
No file yet
Both PDFs are compared in your browser and never uploaded.
How to use the PDF Compare
- 1
Open the original
The earlier version of the document.
- 2
Open the changed version
The comparison starts as soon as both are loaded.
- 3
Read the text changes
Green is added, red struck through is removed; untouched pages can be hidden.
- 4
Check the visual view
Step through pages to spot layout and image changes in red.
How the comparison works
Text is extracted from each page with pdf.js, spacing and line breaks are normalised, and the pages are compared word by word with a diff algorithm. Page 1 is compared with page 1, page 2 with page 2, and so on.
For the visual view, both pages are rendered at the same width and compared pixel by pixel; any pixel whose colour differs by more than a small threshold is marked red on a faded copy of the original.
When to use it
- Check what a counterparty changed in a contract.
- Review edits between two drafts of a report.
- Spot design changes between proof versions.
Limits
- Pages are matched by number; an inserted page shifts the following comparisons.
- Scanned PDFs have no text to compare; the visual view still works.
- Text order in complex layouts (columns, tables) may differ from reading order.
Privacy
Both PDFs are read in your browser and never uploaded.
Frequently asked questions
How do I compare two PDF files?
Open the original and the new version. Text differences appear page by page; switch to Visual for a side-by-side difference map.
Are my PDFs uploaded?
No. Both files are processed in your browser.
Can it compare scanned documents?
The text comparison needs selectable text. Use OCR PDF first, or rely on the visual comparison.
Why are whole pages marked as changed?
If a page was inserted or removed, later pages no longer line up. Compare the affected sections manually or split the PDFs first.
What counts as a visual change?
Any pixel whose colour differs noticeably between the two renders: text, images, lines and colours.
Can I save the result?
Download the text report listing every added and removed passage per page.
Related tools
People also use
Last updated November 30, 2026 · How we build and test our tools