Compare PDF
Compare two PDF files online and see every added, removed and changed line side by side. Both files stay in your browser; nothing is uploaded.
Runs in your browser · Nothing uploadedFree · No sign-up
Something not working, or missing a feature? Send feedback
About the Compare PDF
Compare PDF shows what changed between two versions of a document: contracts, terms, reports or drafts. The text of both PDFs is read in your browser and lined up side by side, with added, removed and changed lines highlighted and the changed words marked inside them. Page markers show where each change is.
PDFs are processed in your browser (pdf-lib, PDF.js and, for passwords, QPDF compiled to WebAssembly), so contracts, invoices and scans never leave your device.
How to use the Compare PDF
- Choose the original PDF and the changed version.
- Press Compare.
- Read the changes side by side or in one column; unchanged parts are folded away and can be opened.
Works well with the Compare PDF
- Text & Code Diff: compare any two texts.
- Compare Excel Files: compare two spreadsheets cell by cell.
- OCR PDF: compare scanned PDFs.
- PDF to Word: edit the newer version.
Frequently asked questions
Is my PDF uploaded?
No. The PDF is opened, changed and saved by your browser on your device; nothing is sent to a server. You can check this in your browser's developer tools: the Network tab shows no request carrying the file.
What does it compare?
The text. Changes to wording, numbers and dates show up; changes that are only visual (fonts, colours, images, layout) do not.
Why does it say there is no text?
The PDFs are probably scans. Make them searchable with OCR PDF first, then compare the searchable versions.
Why do some unchanged lines show as changed?
If text moved to a different line (a paragraph re-wrapped after an edit), the lines differ even though only one word changed. Ignore spacing changes helps with differences in spaces.
How do I compare 2 PDF files online for free?
Choose the older PDF under Original and the newer one under Changed version, then press Compare. It is free with no sign-up or page limit, and both files are read in your browser rather than uploaded.
Related tools
Merge PDF
Merge PDF files online in the order you choose: drag to reorder, see page counts, and download one combined PDF. Files never leave your browser.
Compress PDF
Compress PDF files online to a size limit like 100 KB, 200 KB or 500 KB for upload forms, or by level. Text stays sharp where possible. Nothing is uploaded.
PDF to JPG & PNG
Convert PDF pages to JPG or PNG images online at 72, 150 or 300 dpi. Pick all pages or a range and download them one by one or as a ZIP, privately.
JPG & PNG to PDF
Convert JPG, PNG and WebP images to one PDF online. Reorder pages, choose A4, Letter or image size, orientation and margins. Photos stay on your device.
Image to PDF
Convert any image to PDF online: JPG, PNG, HEIC, WebP, TIFF and more in one file. Keep it under 100 or 200 KB for upload forms. Nothing is uploaded.
PDF to Word
Convert PDF to an editable Word document in your browser. Keeps headings, bold text, lists and pictures; scanned pages are read with OCR. Free.