There are various PDF standards:

  • PDF/A: PDF/A-1a, PDF/A-2a or PDF/A-3a
  • PDF/UA
  • potentially more

I want to check with Python if a given PDF file follows any of those.

I have seen veraPDF which seems to do what I need, but I have thousands of PDF files in a complex directory structure and I want to get statistics for a subset of those. Hence I want to perform this check with Python.

1 Answer 1


QuickPDF Library from Foxit could do this, even the free Lite version.

Your Answer

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

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