PDF comparison
Compare extracted text from exactly two PDF files, not visual layout.
Input
Tip: press Ctrl + Enter to run
About this tool
When someone sends “the updated version” of a contract, lease or policy, you need to know exactly what changed. This tool extracts the text of both PDFs and shows a line-by-line unified diff: lines starting with − were removed, lines starting with + were added.
It compares text only, not fonts, layout or images, and both PDFs must contain selectable text (scans need OCR first). Small differences in line wrapping between versions can show up as changes.
For comparing two pieces of text that are not PDFs (two versions of an email, a policy pasted from a website) use the diff checker instead, which highlights changes word by word. The file is processed on our server in an isolated job and deleted afterwards.
How to use it
- Choose exactly two PDFs: the original first, then the new version.
- Run it.
- Read the differences: − removed, + added.
How the calculation works
Text is extracted from every page of both files with pypdf and compared with Python’s difflib.unified_diff, line by line, labelled “First PDF” and “Second PDF”.
Worked example
A tenant compares last year’s lease with the renewal. The diff shows “− Rent: $1,850 per month” and “+ Rent: $1,925 per month”, and a new line about parking fees: changes she might have missed reading 12 pages side by side.
Limitations
- Text only; no visual comparison.
- Exactly two files, up to 100 pages each.
- Reordered sections appear as removed and added.
Last updated:
Frequently asked questions
Why do whole paragraphs show as changed?
If line breaks differ between versions, every affected line appears changed.
Can it compare scanned PDFs?
Run OCR on both first.
Are images compared?
No.
Troubleshooting
“Needs OCR”.
One of the files has no selectable text.
No differences found, but they look different.
The changes may be in images, fonts or layout.
The diff is very long.
Compare smaller page ranges by extracting pages first.
Privacy & Free to use
Are my inputs stored?
This tool uploads files or inputs to our isolated processor. Working files are deleted after the job. Do not submit sensitive or confidential material.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
Images to PDF
Combine up to ten images into a PDF, one image per A4 page in file-selection order.
PDF & documentsText to PDF
Create printable PDF pages from Unicode text. Text is rasterized, not selectable or accessibility-tagged; maximum 20 pages.
PDF & documentsPDF merger
Combine PDFs in upload order into one document.
PDF & documents · Server processing