What is PDF/A?
The archival subset of PDF, defined in ISO 19005.
A PDF/A file must render the same way decades from now. So it has to be self-contained and unambiguous: anything the file doesn't carry, or anything whose meaning depends on the machine, is ruled out.
What a conforming file carries
- Every font it uses, embedded.
- An OutputIntent with an ICC profile whenever device colour is used.
- XMP metadata naming the PDF/A part and level.
What it rules out
- Encryption of any kind.
- JavaScript, launch actions and anything else that executes.
- External content: linked fonts, referenced streams, audio and video.
- Transparency, in PDF/A-1 only.
- LZW compression.
Each failure has an entry in the error reference.
Conformance is checkable, correctness is not
A validator can decide whether a file conforms, which is why test suites like Isartor exist. It can't tell you whether converting changed how the document looks. For that, gopdfrab has a fidelity check.
Which version?
PDF/A-1b is the most widely accepted, PDF/A-2b adds transparency and JPEG 2000, and PDF/A-3 is what e-invoicing uses. See parts and levels.
FAQ
Is PDF/A a different file format?
No. A PDF/A file is a normal PDF that also meets ISO 19005. Any PDF reader opens it.
Does PDF/A guarantee my document looks the same forever?
It removes the usual reasons two renderers disagree. It says nothing about whether the content is correct.
Do I need PDF/A?
If a document has a retention obligation, such as invoices, contracts, court filings or archive deposits, PDF/A is often required.