Command-line tool
gopdfrab verify
Check one file, a directory tree, or an arbitrary mix of both for PDF/A-1b conformance.
verify accepts any number of paths. Files are checked directly; directories are walked recursively and every PDF found inside is checked.
terminal
gopdfrab verify docs/ # verify every PDF under a directory
gopdfrab verify --json report.pdf # machine-readable output
gopdfrab convert in.pdf out.pdf # rewrite towards PDF/A-1b
gopdfrab convert --dpi 300 in.pdf # tune the raster fallback
gopdfrab verify --max-decoded-mb 64 x.pdf # cap decoded stream output at 64 MBCheck the Overview for more details on exit codes and JSON output.
For the equivalent in Go see verification in the library docs. To try verification without installing anything, use the browser validator.