comparepdf is used to compare two PDF files—textually or visually.

In view of the EU’s Cyber Resilience Act and an abundance of caution, we have withdrawn all our free software.

This tool is no longer being developed or maintained. It has been superceded by our commercial command line tool, com­pare­pdf­cmd, which provides far more functionality, and by our commercial GUI application DiffPDF which is also far superior.

comparepdf is a command line tool for comparing two PDF files. By default it compares their texts but it can also compare them visually (e.g., to detect changes in diagrams, images, fonts, and layout). It should prove useful for automated testing.

If you want a GUI application that shows the detailed differences between PDFs use DiffPDF instead.

If you like comparepdf, you might like to buy one of my books. I also provide training in Python, PySide, and PyQt.