Comparison

gopdfrab vs Apache PDFBox Preflight

Two PDF/A-1b validators with the same scope and very different cost per file.

Both tools validate PDF/A-1b and nothing beyond it, which makes this the closest like-for-like comparison on the site. Preflight is the right choice inside an existing Java codebase, particularly one already using PDFBox, and its Apache 2.0 license carries no copyleft obligation. gopdfrab is the faster of the two on every measurement below, and it deploys as one binary.

Side by side

  gopdfrab PDFBox Preflight
PDF/A-1b validationYes, passing Isartor and the veraPDF corpus in fullYes
PDF/A-2, -3, -4Planned, not implementedNo
PDF to PDF/A conversionYes, with re-verificationNo
RuntimeNone, a static binaryJVM
Deployment size12.3 MB, nothing else11.7 MB jar, plus a JRE
Startup7.9 ms102 ms
Batch throughput2,939 files/sec155 files/sec
Cold single file9.5 ms295 ms
Peak memory80 MB945 MB
Broader PDF manipulationNo, validation and conversion onlyYes, via PDFBox
LicenseAGPL 3.0 or commercialApache 2.0

Frequently asked questions

See the numbers in full

Every figure here comes from one run of the benchmark harness over the same corpus.