Compare PDF
See what changed between two versions of a PDF: word by word, by how the pages look, or a copy checked against its original.
or drop files here
You can also paste with Ctrl+V
A document we wrote for this: nothing of yours is used.
Processed on your device. Files are never uploaded.
Quick facts
- Takes
- Two PDFs, the older and the newer version. A password-protected file is opened once its password is typed on its file card.
- Gives
- The pages side by side with every added word marked in one color and every removed word in another, a count of the changes, buttons to step through them, and a Markdown report of what changed; compared by how they look, each pair of pages laid over each other with every changed area boxed; or a copy checked against its original, with a report of what the check found.
- Runs
- In your browser. Neither file is uploaded, and nothing is kept anywhere.
- Plan
- Free, with no account and no watermark: 10 tasks a day, on files up to 50 MB and 100 pages. Pro has no daily count and takes files up to 500 MB, with no page limit.
- Compares
- Words, how the pages look, or a copy against its original. The text of each page is read in order and the two sequences are matched, so a changed figure, a new sentence or a dropped clause is found wherever it sits; compared by how they look, each pair of pages is drawn and compared pixel by pixel.
Words compared, or the pages as pictures
Each page’s text is read back from the file as the words sit on the page, in reading order, and the two documents’ words are aligned with the same kind of algorithm that compares two versions of a program. A word that appears only in the newer file is marked as added where it sits; one that appears only in the older file is marked as removed. Pages that did not change are folded away unless you ask to see them.
Compared by their words, a change to a picture, a chart or the layout is not reported, and a paragraph that moved reads as removed in one place and added in another; choose How the pages look to see those, the two versions of each page laid over each other. A scanned page has no words to compare until OCR PDF has read it.
Measured on our sample files
| Files | Words added | Words removed | Pages changed | Time |
|---|---|---|---|---|
| Rental agreement, version 1 and 2 | 49 | 6 | 2 | 1.3 s |
Read it as the shape of a real comparison: a handful of changed words in a two-page contract are found and marked in about a second, and the report names each of them.
What it looks like


How the pages look
Choose How the pages look above the files, and each pair of pages is drawn and laid over the other: what only the older version has in red, what only the newer has in green, every changed area boxed.
Quick facts
- Takes
- Two PDFs, the older version first. A password-protected file opens with its password typed on the file card.
- Gives
- Each pair of pages laid over each other: what only the older version has in red, what only the newer has in green, each changed area boxed, and a report of the pages that differ.
- Runs
- In your browser. Neither file is uploaded, and nothing is kept anywhere.
- Plan
- Free, with no account and no watermark: 10 tasks a day, on files up to 50 MB and 100 pages. Pro has no daily count and takes files up to 500 MB, with no page limit.
- Compares
- How the pages look, page 1 with page 1, up to 300 pages; Compare PDF compares the words, one click away on either page.
Two pages drawn alike and laid over each other
Both versions of each page are drawn by the same reader at 96 dots per inch, so a page that did not change gives the same pixels twice, and compared pixel by pixel. A pixel counts as changed when its gray moves by more than a fifth of the scale, which leaves out the faint noise of a picture stored again; changes are gathered in cells of eight pixels, and cells close together make one boxed area, so a changed word is one box, not one per letter.
Pages are paired by their place in the file. A page that changed size is listed rather than laid over; after a page was inserted, every later page moves, and Compare PDF, which pairs pages by their words, is the better tool.
Measured on our sample files
| Files | Pages | Pages that look different | Changed areas | Time |
|---|---|---|---|---|
| Rental agreement, version 1 and 2 | 2 | 2 | 17 | 0.6 s |
A copy against its original
Choose A copy against its original to check a redacted, compressed or edited file against the one it was made from: is the redacted text really gone, did every word survive, did anything else change. Redact, Compress and Edit PDF run this check on their own results too.
Quick facts
- Takes
- Two PDFs, each up to 100 MB: the original first, then the version made from it. A password-protected original is read once its password is typed on the file card.
- Gives
- A list of checks, each Passed, Needs review, Failed or Not tested, with what it found page by page, and a report to download with the size and SHA-256 of both files.
- Runs
- In your browser. Neither file is uploaded, and nothing is changed.
- Plan
- Free, with no account, and never counted: opening a PDF to read it is not a task.
- Also
- Redact, Compress and Edit PDF run the same checks on their own result before you download it, knowing where they changed the file.
Two readers, and the pages compared as pictures
The new version is read by two readers that share no code: pdf.js, the reader built into Firefox, and the engine of this site, which finds the words its own way. A check passes only when both agree. The text of each page is compared with the original’s, letter by letter for pdf.js and word by word for the engine, so a file whose text was rewritten in other pieces is not taken for a changed one.
For a redaction, nothing may be left under any box and the words you name may be nowhere in the file, for either reader; everything outside the boxes must still be there. A black box drawn over words that stay in the file, the redaction that is not one, fails. The pages of both files are drawn at 50 dpi and compared in squares about a line of text tall: a word that went or moved changes a row of squares, while the noise a picture gets from being stored again as a JPEG changes none.
The links, form fields and bookmarks of both files are counted, letters that a reader can no longer map to text are counted, and text pushed off the page, where no reader shows it but the file still holds it, is looked for. What the result carries unseen is listed the way Inspect PDF lists it: all of it for a redacted file, since a title or an attachment can hold the very name the boxes took out, and otherwise attachments, scripts, hidden layers and earlier versions. Each check says what it found; there is never one score.
Measured on our test set
| Operation | Results as made | False alarms | Results with a fault | Faults found | Found as Failed | Time per check |
|---|---|---|---|---|---|---|
| Compress | 35 | 0 (0%) | 35 | 35 (100%) | 17 | 0.1 s |
| Redact | 35 | 0 (0%) | 35 | 35 (100%) | 24 | 0.1 s |
| Edit | 30 | 0 (0%) | 30 | 30 (100%) | 30 | 0.1 s |
Real documents vary more than these do: scans, forms, right-to-left scripts, fonts that map their letters to no text, pages hundreds long. Expect the checks to miss more, and to raise more false alarms, on files like those; a check that is wrong about one of yours can be reported to the support address on the about page.
What it cannot do
- Compare more than 300 pages by how they look. Every page's words are compared; their look up to page 300.
- Read a scan. A scanned page carries no words to compare; run OCR PDF on both files first.
- Report a moved paragraph as a move. Text that changed place reads as removed in one spot and added in another.
- Match a translation. Two languages are two different texts.
- Pair pages that moved. Pages are compared by their place in the file; after an inserted page, compare the words instead.
- Lay pages of different sizes over each other. A page that changed size is listed, and its words can be compared.
- Name what changed. It shows where the pages look different; comparing the words lists them.
- Compare more than 300 pages by how they look. A longer file is compared up to page 300, and the summary says so.
- Read text inside pictures. A scanned page has no text to compare, so the text checks say Not tested; the pictures of the pages are still compared.
- Know what you meant to change. Given two files on their own, it lists every difference for you to review; Redact, Compress and Edit PDF tell it where they changed the file, so their own checks can fail a page.
- Read what is in form fields, comments or attachments. It lists them as hidden data, which is the cue to look; Clean PDF removes them.
- Look at every page of a long file as a picture. It draws up to 40 pages and reads the text of up to 500, sampled evenly, and says which pages it looked at.
If something goes wrong
- The text of the two documents is the same.
- Only the words were compared. If the pages look different, choose How the pages look: changes in pictures, drawings and formatting show there.
- Nothing is marked on a scanned page
- Run OCR PDF on both files first, then compare the searchable copies. Open OCR PDF
- The older and the newer version are the wrong way round
- The first file added counts as the older one. Swapping the two files puts them the other way.
- Every page is marked as changed
- The two files were drawn differently: a scan against a typed copy, or pages that moved after an insertion. Compare the words with Compare PDF. Open Compare PDF
- A page says it changed size
- Its size differs between the versions, so its pages cannot be laid over each other. Compare its words with Compare PDF. Open Compare PDF
- Small marks all over a scanned page
- Two scans of the same paper never match exactly. Run OCR PDF on both and compare the words instead. Open OCR PDF
- This PDF is protected. Enter its password to continue.
- Type the password on the file card; it never leaves your device.
- Text is still in the file where it should be gone:
- The words are still in the file under the boxes: the redaction only painted over them. Redact the original again with Redact PDF, which takes the text out of the file, and check the new result. Open Redact PDF
- An earlier version inside the file can still hold what the boxes took out:
- Clean PDF writes the file afresh, without the earlier versions an incremental save left inside it. Open Clean PDF
- Some pages look different:
- Open both files in Compare PDF to see which words moved or went. If it was the pictures, compress again at a gentler setting. Open Compare PDF
About Compare PDF
Compare PDF shows what changed between two versions of a document, word by word. Removed words are marked on the old version and added words on the new one, page by page, so a revised contract or a corrected report can be checked in minutes.
How to use Compare PDF
Add the original PDF and the revised PDF.
The pages are matched up and the differences highlighted on both versions.
Go through the changes on screen; both files stay on your device.
Frequently asked questions
- Does it compare pictures and layout too?
- Yes, when you choose How the pages look: each pair of pages is drawn and laid over each other, what only the older has in red, what only the newer has in green, each changed area boxed. The words come first, since they change in almost every revision.
- What if pages were added or removed?
- Pages are paired by their content, not their number, so an inserted or deleted page shows as entirely added or removed and the rest still line up.
- Can I compare scanned documents?
- Run OCR PDF on each scan first so the text can be read; then compare the two results.
- Can I compare a PDF with a Word document?
- Convert the Word file with Word to PDF first, then compare the two PDFs here.
- Can I share the differences with someone?
- Yes. Download the comparison report: it lists every added and removed word with its page.
- Why is a whole line boxed when one word changed?
- When a word changes, the words after it on its line move, and moved ink changes how the page looks. The boxes show where to look; comparing the words names them.
- Can I compare scans?
- Yes, when both were scanned the same way. Two scans of the same paper differ a little everywhere, so a scan compared with a typed version shows more change than there is.
- Why check a redacted PDF?
- A black box drawn over text often leaves the text in the file, where anyone can copy it out. The check looks for the words under each box and for the words you name, with two readers, so a redaction that only painted over them fails.
- How often does it miss a problem?
- On our test set of 200 files, half of them with a fault put in on purpose, it found every fault and raised no false alarm. Real files vary more; the evidence on this page says what the set covers.
Related tools
- PDF readerRead any PDF fast, with thumbnails, an outline and search, even a thousand pages long, and print it.
- Edit PDFEdit the text of a PDF like in a word processor, add text, images, signatures, stamps, shapes, highlights and comments, and check the spelling of the whole file.
- Redact PDFRemove sensitive text and pictures for good: find emails, phone, card, Aadhaar, PAN and IBAN numbers at once, or draw boxes.
- PDF to MarkdownTurn a PDF into Markdown text with its headings, lists, tables and pictures.