Compare Two PDFs Online, Free
See which pages and words changed between two PDFs
Compare PDFs reads the text of two PDFs and shows which pages differ. Added words are shown on a green background and removed words on a red background, both in the preview on the page and in a downloadable HTML report. The comparison covers text only. Layout, images, fonts and colours are not compared.
When to compare two PDFs
- Checking what changed between two drafts of a contract, policy or terms document.
- Confirming that a revised PDF changed only the clauses you expected.
- Finding a changed amount or date in a long report without reading both files in full.
How to compare step by step
- Add exactly two PDFs. The first file in the list is treated as the original, and the second as the revised version. Check the order before you start.
- Click Process. The tool reads the text of each page and compares the two files one page at a time.
- Read the preview on the page. Each page is listed as Same text, Changed, Only in original or Only in revised. Changed pages show how many words were removed and added.
- Download the report, which is saved as pdf-comparison.html, and open it in a browser to see the added and removed words for each changed page.
What the report shows
- A summary line gives the number of changed pages out of the total, or says that no text differences were found.
- A table lists each page with its status.
- Below the table, each changed page shows its words, with added words marked as added and removed words marked as removed.
Limits and messages
- You must add exactly two files. A different number gives the message "Choose exactly two PDFs."
- Text only. Images, drawings, fonts, colours, margins and positions are not compared. A change to a picture or a logo will not appear.
- Scanned pages have no text layer. A scanned page compared with another scanned page is shown as Same text, even when the pictures are different. Run OCR PDF on scanned files before comparing.
- Pages are matched by position. If a page is inserted, removed or moved, every page after that point is compared with the wrong page and shows as changed.
- Spacing is normalised. Changes that are only in line breaks or extra spaces are treated as the same.
How to check the result
Open a few changed pages in both original and revised PDF readers and compare them with the report. Read the pages marked Only in original or Only in revised by hand, because a shifted page can look like a long list of changes. For a scanned file, check the pictures yourself.
When another tool is the better choice
- To get the text of each file as a .txt file and compare it in your own editor, use Extract text.
- To make a scanned page searchable before comparing, use OCR PDF.
- To compare the visual look of two pages, open them side by side in a PDF reader. This tool does not show visual differences.
- To change the text you found, use Edit PDF.
Common problems and solutions
- Scanned pages show "Same text". The comparison reads text. Scanned pages have no text to compare, so run OCR PDF first.
- Every page after an inserted page is marked as different. Pages are matched by their position, so an extra or missing page shifts the rest. Compare the files in the same page order.
Questions and answers
Can I compare more than two PDFs?
No. The tool needs exactly two files. It reports an error if you add a different number.
Why do two scanned PDFs show as the same?
The tool compares text. A scanned page is a picture with no text, so two empty text layers are treated as the same. Run OCR PDF on both files first, then compare them.
Why does every page after an inserted page show as changed?
Pages are matched by their position. If a page is added near the start, each later page is compared with the wrong page. Compare the text yourself for those pages, or run the comparison on the two files with the same page order.
Are my files uploaded?
No. The text is read by your browser and the report is made on your device. The tool does not send the PDFs to a server.
Privacy
The text is read and compared inside your browser, and the report is created on your device. The tool does not send either PDF to a server. Read the Privacy Policy for details.
You may also need
See all FirePDF tools · ← Back to Home
