Compare Two PDFs: Visual Diff
Add the original and the revised PDF and click Compare. Each page pair is rendered at the same DPI and compared pixel by pixel. Pixels that differ by more than the tolerance are painted red over a faded grey copy of the original, with the count and percentage of the page that changed and a PNG to download. Both files stay in your browser.
Drop exactly two PDFs here
First file = original · second = revised
Need test files? Take sample-10-pages.pdf, run it through Watermark PDF or Rotate pages, then compare the original with the result.
Visual, not textual
This compares appearance. Both files are rasterised at the same resolution and every pixel is checked, so it catches what a text comparison cannot: a moved logo, a changed chart, different spacing, a substituted font, a colour change, an added stamp. For wording changes, PDF text diff reports added and removed lines instead of red pixels. For a document review, use both.
Reading the result
- Red pixels: any of the red, green or blue values differs by more than the tolerance.
- The grey underneath is the first file at a quarter of its contrast, so you can see where on the page the change sits.
- The percentage is differing pixels divided by the page area at the render size. The status line sums it up: pages that differ, identical pages, and pages found in only one file.
- Pages are matched by number: page 3 against page 3. When one file is longer, its extra pages at the end are listed as only in the first or second file.
- A page inserted or removed in the middle shifts every later page, so all of them show as changed. Remove the extra page with Delete pages first for a clean comparison.
- Pages of different sizes are padded with white at the bottom and right, so they are compared aligned to the top-left corner.
- Show: Only pages that differ still lists identical pages, as a one-line "Identical" row without an image. Every page renders an image for them too.
DPI and tolerance
Render DPI runs from 48 to 200 and defaults to 96, at which an A4 page is 794 × 1123 pixels. Higher values catch finer differences and take longer. Pages are compared one pair at a time, so page count costs time rather than memory.
Colour tolerance is the per-channel difference, on a 0 to 255 scale, that a pixel must exceed to count. 0 is an exact comparison. Raise it when two re-saved but visually identical pages show a light red haze over the text from anti-aliasing.
How to compare two PDF files
- Drop both PDFs, the original first. Two files with the same name are both kept; this tool does not de-duplicate.
- Leave the DPI at 96, or raise it to catch changes in small type.
- Set the colour tolerance so anti-aliasing noise does not count as a difference.
- Choose what to show: only differing pages keeps a long, mostly identical document readable.
- Click Compare and read the per-page rows. Each changed page offers Download PNG, saved as
diff-page-N.png.
FAQ
Why do identical-looking pages show small differences?
Anti-aliasing. Two PDFs that look the same can rasterise a little differently, above all after a re-save by a different producer. Raise the tolerance until the haze disappears while real edits stay red.
Can it compare files with different page counts?
Yes, page by page number. The extra pages at the end of the longer file are listed on their own. A page added in the middle shifts everything after it, and those pages will all show as changed.
Does it detect moved paragraphs?
It shows them as differences in both the old and the new position, because pixels changed in both places. Only a text diff can align content across positions.
How large a file can it handle?
One page pair is rendered at a time, so page size matters more than page count. At 96 DPI an A4 page is about 3.5 MB of pixel data per canvas. Drop the DPI for very large pages.
Related tools
- PDF text diff: compare the words, not the pixels
- PDF to images: export the rendered pages yourself
- PDF inspector: page count, page size and metadata side by side
- PDF metadata: check which file was modified last
- Font checker: diagnose a font substitution
Part of: Review a revised document
Run both diffs. The text diff tells you what the words say now; the visual diff catches a moved logo, a changed chart or a font substitution the words cannot show.
- 1 PDF Text Diff Added and removed lines between the two versions
- 2 Compare Two PDFs Pixel differences painted over the faded original, page by page
- 3 Extract PDF Highlights Pull every highlight and comment out as Markdown, CSV or JSON
- 4 Edit PDF Metadata Check who saved it and when