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
- Put the PDFs to check in one folder. Keep a copy of the originals elsewhere.
- 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.
- 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.
- Choose the profile PDF/UA-1 and the task Validation, then select Execute.
- 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--recurseto include subfolders. - 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 textor--format json, then send the output to a file. - 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.
Related guides
The same task in other applications
- Add the PDF/UA identifier in Acrobat, and when not to
- Run the PDF/UA syntax check in Acrobat Preflight
- Check a PDF against PDF/UA with PAC
- Read a PAC report and decide what to fix