Explainer · Compress & OCR
Why your PDF/A file fails validation, and how to fix each error
By the PDFBetter teamPublished 5 min read
Short answer
A PDF/A file fails validation when the file itself breaks a rule of the PDF/A part it claims: a font that isn't embedded, colours with no output intent, transparency or JPEG 2000 in PDF/A-1, missing or mismatched XMP metadata, encryption, or scripts. The PDF/A label is only a claim written by the software that saved it. Validate the file with veraPDF, convert it again with a PDF/A converter, and validate the new copy.
Do it now, without leaving this page
Drop a PDF hereLet go to start
or paste with Ctrl/⌘+V
On this page (6)
How can a file say PDF/A and still fail?
Any program can write "this is PDF/A-1b" into a file's metadata. Scanners, office apps and print drivers do it all the time, and nothing checks the claim when the file is saved. A validator does the opposite: it ignores the promise and tests the file's contents against the rules of ISO 19005, the PDF/A standard.
That's why a court e-filing system, a records office or a thesis repository can refuse a file your scanner proudly labelled PDF/A. Their intake runs a validator, and the validator found something the label didn't mention. The most widely used open-source validator is veraPDF, developed by a consortium led by the Open Preservation Foundation and the PDF Association, and it's what the PDF/A validator runs.
veraPDF 1.30.3 checks the machine-checkable rules of each part and level, from PDF/A-1a and 1b through 2a, 2b, 2u, 3a, 3b and 3u to PDF/A-4, 4e and 4f. Each failed rule comes with a clause number from the standard, so the report points at the exact requirement the file breaks.
What do the most common failures mean?
A long report often comes down to one or two causes that repeat on every page. Here is what the usual ones mean in plain terms, and where the fix lives.
| Failure | What it means | Fix |
|---|---|---|
| Font not embedded | The page uses a font the file doesn't carry, so it could look different elsewhere | Convert with PDF to PDF/A, which embeds it |
| Damaged or incomplete font program | A font is embedded but broken or inconsistent inside the file | Export again from the source app with fonts fully embedded |
| No output intent / device colour | Colours have no profile saying how they should look | Convert with PDF to PDF/A, which adds a colour profile |
| Transparency (PDF/A-1) | PDF/A-1 is based on PDF 1.4 rules that forbid transparency | Choose PDF/A-2b, which allows it |
| JPEG 2000 (PDF/A-1) | Common in scans; not allowed in PDF/A-1 | Convert to PDF/A-2b, which allows it |
| LZW compression | An old compression method PDF/A forbids | Convert with PDF to PDF/A |
| XMP metadata missing or mismatched | No PDF/A identification, or metadata that disagrees with the document info | Convert with PDF to PDF/A |
| Encryption | PDF/A doesn't allow any password or encryption | Remove it with Unlock PDF, then convert |
| Annotation without appearance | A comment or field has no drawn look, so viewers may show it differently | Convert with PDF to PDF/A |
| Scripts or forbidden actions | JavaScript or launch actions that depend on a viewer | Convert with PDF to PDF/A |
| Missing tags (levels a) | The accessible levels need a full structure tree | Run Make PDF accessible, then convert |
Hundreds of failures usually mean one cause
If a single rule shows 400 occurrences, it's almost always the same font or the same image setting met on every page. Fix the cause once and the count drops to zero.
How do you check a file before a portal does?
Validate the exact file you are about to upload. If it passes, keep the report with it; if it fails, you'll know why before the deadline instead of after.
- 1
Upload the PDF
Unlock password-protected files first with Unlock PDF. veraPDF can't read an encrypted file, and PDF/A forbids encryption anyway.
- 2
Leave the profile on Auto, or pick one
Auto tests the part and level the file claims in its XMP metadata, and PDF/A-2b when it claims nothing. If the portal names a level, such as PDF/A-1b, pick that instead.
- 3
Read the verdict and the failed rules
Each profile shows passed or failed with the number of failed rules. Open a rule to see its clause and test number, how often it occurs, the pages concerned, a plain explanation and the tool that fixes it.
- 4
Fix and validate again
Most failures are fixed by converting with PDF to PDF/A, which validates its own result with the same veraPDF profile. Validate the new file and download the report as PDF or JSON.
Which level should you validate against?
Validate against the level your recipient names, not the one the file happens to claim. A portal that asks for PDF/A-1b will refuse a perfectly valid PDF/A-2b file, because PDF/A-1 has stricter rules about transparency, layers and image compression.
- PDF/A-1b: older portals and some courts. Strictest about what the page may contain.
- PDF/A-2b: what most archives and government systems accept today. It allows transparency, layers and JPEG 2000.
- PDF/A-3b: when attached files must stay inside, such as the XML in an e-invoice.
- PDF/A-4 and 4f: for recipients that ask for the PDF 2.0 edition; 4f carries attachments.
- The a levels (1a, 2a, 3a): add tagging for accessibility, so they need a tagged source file.
If the portal doesn't say, PDF/A-2b is the safe default, which is also what Auto falls back to for a file that claims nothing. The report says when it used that fallback, so you never mistake an assumption for the file's own claim.
What does a pass actually tell you?
A pass means the file meets the machine-checkable rules of the PDF/A part and level tested. It's a technical result, which is exactly what most portals run themselves. It isn't a certification or a legal approval, and a portal may still add its own rules, such as a file size limit or one specific part.
Scanned documents deserve one more step. A scan can pass PDF/A-2b and still be a picture of text that nobody can search. If the archive needs searchable text, run OCR PDF before converting, then validate. And if the submission also has accessibility requirements, the PDF/UA validator runs veraPDF's PDF/UA profiles on the same file.
Validation never changes the file, and the report isn't stored on our side. Download it and keep it next to the PDF if anyone later asks how the file was checked.
Try PDF/A validator on your own file.
No account needed to start, and tools that run in your browser never upload your file. Keep going on the free plan, or pick a plan when you need more.
Questions people ask
My scanner saved the file as PDF/A-1b. Why does it fail?
Scanners often use JPEG 2000 compression or skip the output intent, and both break PDF/A-1. Convert the scan to PDF/A-2b with PDF to PDF/A and validate the new file; if the portal insists on PDF/A-1, rescan with plain JPEG instead of JPEG 2000 compression first.
Is the validator the real veraPDF?
Yes, the official veraPDF 1.30.3 command-line validator, unmodified, with its standard profiles. The report names the version that checked your file.
Can I fix the failures without converting?
Only in the source app, by exporting again with PDF/A settings. PDF to PDF/A fixes most failures in one pass: it embeds fonts, adds a colour profile and metadata, and removes what PDF/A forbids.
Why does PDF/A-1b fail on transparency when 2b passes?
PDF/A-1 follows PDF 1.4 rules and forbids transparency. PDF/A-2 allows it and keeps transparency live, so pick PDF/A-2b unless the recipient requires PDF/A-1.
Does the validator check PDF/X print files?
No. veraPDF validates PDF/A and PDF/UA, not PDF/X. For print files use Print Preflight.
Is my file kept after validation?
Uploads are deleted within 24 hours, and the report isn't stored. Download it if you need it later.
Sources
- veraPDF — verapdf.org, checked
- PDFBetter PDF/A validator — pdfbetter.com, checked