pdftoolskit.org
65 PDF tools that run in your browser
Sign in Create account

Compare Two PDFs: Visual Diff

pixel diff per page · red = changed · percentage per page · PNG download

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

    no files
    Ready.

    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

    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

    1. Drop both PDFs, the original first. Two files with the same name are both kept; this tool does not de-duplicate.
    2. Leave the DPI at 96, or raise it to catch changes in small type.
    3. Set the colour tolerance so anti-aliasing noise does not count as a difference.
    4. Choose what to show: only differing pages keeps a long, mostly identical document readable.
    5. 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

    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. 1 PDF Text Diff Added and removed lines between the two versions
    2. 2 Compare Two PDFs Pixel differences painted over the faded original, page by page
    3. 3 Extract PDF Highlights Pull every highlight and comment out as Markdown, CSV or JSON
    4. 4 Edit PDF Metadata Check who saved it and when

    This workflow, start to finish · all 20 workflows