How do I compare two PDF files?
To compare two PDFs, add the original first and the changed version second, then click "Compare PDFs". Removed lines are shown in red with strike-through and added lines in green, with a summary and a downloadable HTML report.
About Compare PDF
Spot what changed between two versions of a contract, policy, quotation or article without reading both line by line. The tool extracts the text of each document and highlights every added and removed line.
Long unchanged sections are collapsed so the changes stand out. Download the report to share it with colleagues.
Why use LucyPDF to compare two PDF files
Added and removed lines highlighted
Summary of changes
Downloadable HTML report
Private
How do I compare two PDF files in 4 steps
Step 1
Add the original PDF, then the new version.
Step 2
Click "Compare PDFs".
Step 3
Review highlighted changes on the page.
Step 4
Download the report if needed.
When to use Compare PDF
- Review contract revisions
- Check policy or terms updates
- Verify a vendor did not change a quote
LucyPDF vs. upload-based sites vs. desktop software
| LucyPDF Compare PDF | Typical upload-based website | Desktop PDF software | |
|---|---|---|---|
| Price | Free | Free with limits, paid for more | Often paid license |
| Account needed | No | Often for large files | Install + license |
| Where your file goes | Stays on your device | Uploaded to their servers | Stays on your device |
| File size / page limit | None (device memory) | Usually capped | None |
| Install required | No — any browser | No | Yes |
| Watermark | Never | Sometimes on free plan | On trials |
| Batch (many files at once) | Yes, free | Often paid | Usually yes |
| Install as an app / works offline | Yes (installable web app) | No | Yes |
| AI (summarize, translate, chat) | Free, on your device | Cloud AI, often paid | Varies, often paid |
Is Compare PDF on LucyPDF safe?
Yes. Most online PDF services upload your document to their servers and delete it later. LucyPDF works differently: the compare pdf tool is JavaScript running inside your own browser tab, so the file is read, processed and saved on your device. Close the tab and nothing remains anywhere else — which makes it suitable for contracts, ID documents, bank statements and medical records.
What is compare PDF and when do you need it?
Compare PDF shows you what changed between two versions of a document. You add the original first and the new version second, and LucyPDF lists every line that was removed or added, with a short summary at the top.
Reading two long documents side by side is slow and easy to get wrong. A landlord sends a “final” rent agreement with one clause quietly changed. A vendor's revised quotation has a different payment term. An insurance policy renewal has new exclusions. A bank updates its loan terms, or HR shares a new version of the leave policy. A college updates its fee notice, or a client returns your contract with edits but no tracked changes.
With a PDF comparison you see the changes in seconds, so you can focus on reading what actually matters.
It is also useful for your own work. Students can check what a supervisor changed in a returned thesis chapter. Writers can see what an editor altered. Teams can confirm that only the agreed changes went into the final signed copy.
How the comparison works, supported files and limits
The tool needs exactly two PDF files. It extracts the text of each one, line by line, and compares them in order. The result appears on the page and can be downloaded as an HTML report you can open in any browser or attach to an email.
Removed lines are shown in red with a strike-through and a minus sign. Added lines are shown in green with a plus sign. Long runs of unchanged lines are collapsed to the first two and last two, with a note saying how many were skipped, so the changes stand out.
Because the comparison is line by line, it works best when both PDFs come from the same kind of source, such as two exports from the same word processor. If one version was printed and scanned, run OCR PDF on it first and expect some small differences caused by recognition.
The summary at the top gives the number of removed and added lines. A quick glance tells you whether you are looking at a small edit or a major rewrite before you start reading.
- Compares text only; changes in images, colors, fonts or layout are not detected
- Order matters: add the original first, then the changed version
- Scanned PDFs have no text; run OCR PDF on both files before comparing
- A changed word shows as the old line removed and the new line added
- If both files have the same text, the summary says no differences were found
- Password-protected PDFs must be unlocked first
How to compare two PDFs on Windows, Mac, Android and iPhone
Windows or Mac: open LucyPDF in your browser. Add the original PDF, then the new version, and click “Compare PDFs”. Read the summary, scroll through the highlighted changes and download the report if you want to share it.
Android: open the page in Chrome, select the two files from Downloads, Gmail attachments or WhatsApp Documents in the right order, and compare. The highlighted result is easy to read on a phone screen.
iPhone or iPad: open the page in Safari, select the original and then the revised PDF from the Files app, and compare. Save the HTML report to Files to keep a record.
After the comparison, start with the summary, then scroll down through the colored lines. Unchanged parts are shortened, so even a long document usually fits in a few screens of changes.
Tips for an accurate PDF comparison
- Rename files clearly, like contract-v1 and contract-v2, so you add them in the right order
- Compare PDFs exported from the same source; different exports can break lines differently
- Run OCR PDF with the same language on both scans before comparing them
- Look closely at numbers, dates and amounts in the changed lines
- Save the report with the documents for future reference
- If many lines show as changed after a small edit, the layout may have reflowed; read the added and removed lines together
- For image or signature changes, check those pages visually as well
Common compare PDF problems and fixes
- “Add exactly two PDFs” — remove extra files so only two remain
- Everything shows as changed — the files may be in different layouts; compare versions from the same source
- No text found in a scan — run OCR PDF on both files first
- Changes look reversed — you added the new version first; swap the order
- Image or logo changes not shown — the tool compares text only
- Report will not open on phone — open the downloaded HTML file in your browser
Compare PDF online vs desktop software and manual checking
Reading both versions manually can take an hour for a long contract, and small edits like “30 days” becoming “15 days” are easy to miss. Word processors can compare documents, but only if you have the original editable files, which is rare when you receive PDFs.
Desktop PDF software with comparison features is usually part of a paid plan. Online comparison services often upload both files to their servers. LucyPDF does the text comparison in your browser, free and private.
The main limit is that only text is compared. If your work depends on drawings, charts or signatures, use this tool for the wording and check the visual parts by eye. Together, that is still much faster than a full manual review.
Privacy and security of your documents
Documents that need comparing are often sensitive: contracts, salary letters, policy wordings, legal drafts. With this tool both files stay on your device. Text is extracted and compared inside your browser tab, and nothing is uploaded.
The downloadable report is created on your device too. Share it only with people who should see the changes. When you close the page, both PDFs are cleared from its memory. This comparison helps you spot changes; for legal meaning, consult a qualified professional.
Compare PDF versions of US contracts, leases and forms
Documents change between drafts, and a quiet edit can matter a lot, which is why people compare PDF versions before signing. A renter may compare this year's lease renewal with last year's to spot new fees or rules. A job candidate can compare a revised offer letter against the first version. Small business owners compare updated vendor agreements before renewing them.
In real estate, buyers and agents compare revised purchase agreements and addenda. In legal work, comparing a returned contract with the version you sent shows whether the other side changed anything without flagging it. Students and teachers compare drafts of papers, and HR teams compare updated policy handbooks so they can summarize what is new for staff.
LucyPDF compares the text of two PDFs and highlights added and removed lines, with a summary of changes. You can view the result on the page and download the report as an HTML file. Comparison is text-only, so changes to images, colors or layout are not detected. For scanned documents, run OCR PDF on both files first.
Compare PDF checklist and accessibility notes
Use this checklist for an accurate comparison.
A text-based report is helpful for accessibility. Instead of placing two documents side by side and scanning visually, which is tiring for people with low vision or attention challenges, you get a single list of added and removed lines. The HTML report opens in any browser, where zoom, high-contrast settings and screen readers work as usual. Both files stay on your device while they are compared.
On a phone, the report is easiest to read with the screen turned sideways, and you can download it to review on a larger screen later.
- Make sure both files contain real text, and run OCR PDF on scanned versions first
- Compare the same document type, such as two versions of one lease
- Read every highlighted change, not just the summary
- Check numbers, dates and dollar amounts carefully, since one digit matters
- Review images, signatures and tables yourself, because they are not compared
- Save the HTML report with the date so you have a record of what changed
- Name the files clearly, such as lease-old and lease-new, so the report is easy to follow
Compare PDF — frequently asked questions
Does it compare images or formatting?
It compares text only. Changes in images, colors or layout are not detected.
Can it compare scanned PDFs?
Run OCR PDF on both files first so they contain text.
Can I compare more than two PDFs at once?
No. The tool compares exactly two files: the original and the changed version.
Does compare PDF detect formatting changes?
No. It compares text only. Changes in fonts, colors, images or layout are not shown.
Can I compare two scanned PDFs?
Yes, after running OCR PDF on both so they contain text.
What is in the downloadable report?
The file names, a summary of lines removed and added, and the highlighted changes, in an HTML file you can open in any browser.
Why does a single word change show as two lines?
The tool compares whole lines, so the old line appears as removed and the new line as added.
Is compare PDF free?
Yes. It is free, needs no account and does not upload your files.
Can I compare two versions of a lease or contract?
Yes. Add both PDFs and the tool highlights lines that were added or removed. Review images and signatures yourself, since only text is compared.
Can I compare PDFs on my phone?
Yes. Open LucyPDF in your mobile browser, choose the two PDFs and view the highlighted changes on the page.
Written and tested by the LucyPDF team · Last updated