FileToolHub

Compare two PDFs online

Processed in your browser — never uploaded

Checking whether two versions of a document are actually the same? Upload both PDFs and this tool compares the text content of each page, showing you which pages match and which differ — entirely in your browser using pdf.js.

Comparing text, not appearance

This tool extracts the text of each page in both documents and compares them page by page. That catches the changes that usually matter — edited clauses, changed figures, added or removed paragraphs. It does not compare visual appearance, so a document that was re-exported with different fonts, spacing, or images but identical wording will be reported as the same. Conversely, a page whose text moved between pages will show as different on both.

Reading the result

Each page is marked same, different, or missing from one of the files. Where page counts differ, the extra pages in the longer document are flagged as missing from the shorter one, which makes it easy to see whether content was added at the end or inserted in the middle — an insertion causes every subsequent page to report as different, because content has shifted along.

It will not work on scans

Because the comparison relies on extractable text, two scanned documents will both yield nothing and be reported as identical regardless of their actual content. That is a false result rather than a useful one, so check first that your documents have selectable text. For scanned files, a visual page-by-page comparison or OCR would be needed instead.

Frequently asked questions

Does this compare visual layout or just text?
Just the text content per page — this tool doesn't do a pixel-level visual comparison, so formatting-only changes with identical text won't be flagged as different.
What happens if the two PDFs have different page counts?
Extra pages in the longer document are marked as "missing" in the shorter one, so you can see exactly where they diverge.
Does this work on scanned PDFs?
No, comparison relies on extractable text, so scanned or image-only PDFs won't produce a meaningful comparison.
Are my files uploaded to a server?
No, comparison happens locally in your browser. Nothing is sent anywhere.
Can it show me exactly which words changed?
Not currently — it reports which pages differ, not the specific text within them. Use the extract text tool on both files and compare the output for word-level detail.
Are both files uploaded anywhere?
No, both are read entirely in your browser and neither leaves your device.

Related tools