Original
PDF up to 100 MB and 300 pages
Revised
PDF up to 100 MB and 300 pages
Compare Two PDFs Online Free
See exactly what changed between two versions — added lines, removed lines, and a similarity score.
What this tool compares
When someone sends back "the final version" of a contract, a report or a CV, the hard part is finding what they actually changed. This tool reads the text of both PDFs and lines them up, so you see every line that was taken out of the original and every line that is new in the revision, plus which pages are affected.
It works on the text layer of the PDF: the words you can select and copy. That covers PDFs exported from Word, Google Docs, LibreOffice and most accounting or invoicing software. It does not look at pictures, colours, fonts or where things sit on the page.
How the comparison works
Our server extracts the text of every page of both files with PyMuPDF, splits it into lines and matches the two sequences of lines with a standard diff algorithm (the same idea behind "track changes" and code review tools). Lines that exist only in the original are reported as removed; lines that exist only in the revision are reported as added. A line that was edited shows up as one removed line and one added line, so you can read the old and new wording next to each other.
Separately, each page is checked on its own. A page whose text differs is marked modified; if the revision has extra pages they are marked added, and missing pages removed. This tells you where to look before you read the details.
Worked example
Say the original contract has "Payment is due within 30 days of invoice" on page 4, and the revised one says "Payment is due within 45 days of invoice". The result shows a similarity just below 100%, page 4 marked as modified, the 30-day sentence under removed lines and the 45-day sentence under added lines. Nothing else is listed, so you know that is the only text change.
Getting a useful result
- Scanned documents: run both files through OCR PDF first so they have text to compare.
- Re-flowed text: if the revision changed margins or font size, lines break in different places and many lines can show as changed even when the words are the same. The page list and score still help; read the added and removed lines together.
- Only part of a document matters: use Split PDF to cut out the same section from both versions, then compare just that.
- Password-protected files: remove the password with Unlock PDF (you need the password) before comparing.
How to Use Compare PDFs
Upload the original PDF in the left box and the revised PDF in the right box.
Click Compare. Both files are sent to our server, which reads the text of every page.
Read the similarity score and the list of pages that changed, were added or were removed.
Scroll through the removed lines (from the original) and the added lines (in the revision) to see exactly what was edited.
Frequently Asked Questions
What does the similarity score mean?
It is the share of text lines the two PDFs have in common, from 0% to 100%. 100% with no added or removed lines means the text is identical. A score of 95% on a long contract can still hide an important changed sentence, so always read the line lists.
Does it compare images, layout or formatting?
No. Only the text that can be selected in the PDF is compared. A changed logo, a new font, a moved paragraph with the same words or a different page size will not show up as a change.
Why does it say nothing changed when I can see a difference?
The difference is probably in an image or a scanned page. Scanned PDFs have no text layer, so there is nothing to compare. Run both files through OCR PDF first, then compare the results.
Is there a limit on file size or length?
Each PDF can be up to 100 MB. The result lists up to 500 added and 500 removed lines; for very different documents the score and the changed-page list are more useful than the line lists.
What happens to my files?
Both PDFs are uploaded over an encrypted connection, read in memory on our server and released as soon as the comparison is returned. We do not keep them or their text.
Do I need to install anything?
No. It runs on the website, so there is nothing to download or sign up for. A current browser on Windows, Mac, Linux, iOS or Android is enough, and your files are uploaded as described above.