Skip to main content

Check a folder of PDFs with veraPDF

veraPDF · Windows, Mac, Linux · Last updated

Part of training module 17: Going further with checking: PDF/UA validators and screen reader checks

veraPDF can check every PDF in a folder in one run, which saves time when you have many files to review.

Steps

  1. Put the PDFs to check in one folder. Keep a copy of the originals elsewhere.
  2. Choose how to run veraPDF. In the graphical version, run verapdf-gui.bat on Windows, or verapdf-gui on a Mac or Linux computer. On the command line, open a terminal window.
  3. In the graphical version, drag the folder into the area labelled PDF file not chosen. The program accepts folders and zip archives, and it looks inside subfolders.
  4. Choose the profile PDF/UA-1 and the task Validation, then select Execute.
  5. On the command line, give the folder name in place of a file name and choose the profile with the code ua1: verapdf -f ua1 myfolder. Add --recurse to include subfolders.
  6. Save the results. In the graphical version, select Save HTML for a readable report or Save XML for a machine-readable one. On the command line, add --format text or --format json, then send the output to a file.
  7. Open the report and sort the files into passed and failed. Fix the failed files starting with the ones people use most.

Check it worked

  • The report lists every file in the folder, not only some of them.
  • Each failed file is marked as failed in the report, with the details of what failed.
  • You have rerun the folder after fixes, and the failed list is shorter or empty.

Common mistakes

  • Using automatic profile detection on a mixed folder. Files that do not claim PDF/UA may then be tested against something else. Set the profile yourself.
  • Counting passes as finished. Passing files still need a human check: see Record a remediation check and sign off a PDF.
  • Forgetting to include subfolders.
  • Editing the files while the check runs.
  • Not saving the report. Keep it as part of your record.

The same task in other applications

More for veraPDF