I am looking for software to test PDF document content. Having responsibility for an infrastructure that generates invoices and documents, not having automated tests to ensure document content and structure, is a great pain.

So far I have come across 2 non-ideal products:

Another solution could be to leverage https://pdfbox.apache.org directly.

Are there other software alternatives for testing PDF content?


1 Answer 1


I have used JHOVE to validate thousands of PDF files efficiently from a non-interactive program.

You can call it from command line:

jhove -m PDF myfile.pdf

JHOVE has a good documentation, please see the page about PDF:

Free, open source, large community.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.