View on GitHub

diff-pdf

A simple tool for visually comparing two PDF files

Download this project as a .zip file Download precompiled binaries for this project

diff-pdf is a tool for visually comparing two PDFs.

It takes two PDF files as arguments. By default, its only output is its return code, which is 0 if there are no differences and 1 if the two PDFs differ. If given the --output-diff option, diff-pdf produces a PDF file with visually highlighted differences:

$ diff-pdf --output-diff=diff.pdf a.pdf b.pdf

Another option is to compare the two files visually in a simple GUI, using the --view argument:

$ diff-pdf --view a.pdf b.pdf

This opens a window that lets you view the files' pages, identify their differences and zoom in on the details:

GUI screenshot

diff-pdf is released under the GPL licence.