Glossary
PDF/A
An ISO standard version of PDF for long-term archiving, which requires a file to carry everything needed to display it the same way decades later.
PDF/A is a version of the PDF format standardised for long-term archiving, published as ISO 19005. A PDF/A file must contain everything needed to display it exactly as intended, including its fonts, colour information and metadata, and it may not depend on anything outside the file or on features that could stop working in future. Archives, courts, governments and regulated businesses use it when a document has to remain readable and reproducible for decades.
Why PDF/A exists
An ordinary PDF can look identical on every screen today and still be fragile. It may reference fonts installed on the author’s computer rather than embedding them, link to external images or content, rely on JavaScript, or be encrypted with a password that nobody will remember in twenty years. Any of these can make the file display differently, or not at all, once the software and systems around it change.
PDF/A removes those dependencies by rule. It takes a subset of PDF and adds requirements that make each file self-contained and predictable, so a conforming viewer in the future can render it the same way a viewer does now. The standard does not change what a PDF can look like on the page. It changes what the file is allowed to rely on.
What PDF/A requires and forbids
The core requirements are consistent across versions. All fonts must be embedded, at least for the characters used. Colour must be specified in a device-independent way, typically through an embedded ICC profile declared as the file’s output intent. Metadata must be stored in the standard XMP metadata format inside the file. Encryption is not allowed, because an archive cannot depend on a key being available later.
Several features are forbidden outright. JavaScript and executable actions are banned, as are references to external content such as linked fonts or images. Audio and video content is excluded. Transparency was banned in the first version and allowed with conditions in later ones. These rules make PDF/A files less interactive than general PDFs, which is the point: an archival file should do nothing except display its content.
PDF/A versions
The standard has four parts, each based on a newer version of PDF and each relaxing some earlier restrictions.
Version | Year | Based on | Notable changes |
|---|---|---|---|
PDF/A-1 | 2005 | PDF 1.4 | The original standard; no transparency, no JPEG 2000, no embedded files |
PDF/A-2 | 2011 | PDF 1.7 (ISO 32000-1) | Allows transparency, layers, JPEG 2000 compression and embedded PDF/A files |
PDF/A-3 | 2012 | PDF 1.7 (ISO 32000-1) | Allows embedded files of any format, such as XML or spreadsheets |
PDF/A-4 | 2020 | PDF 2.0 (ISO 32000-2) | Simplifies conformance levels and aligns with the current PDF specification |
PDF/A-3 is the version behind several electronic invoicing standards, including Factur-X and ZUGFeRD, which embed a machine-readable XML invoice inside a human-readable PDF. A single file then serves both the person checking it and the system booking it, which matters for invoice OCR workflows that would otherwise have to recognise the same data from the page image.
Conformance levels
Each of the earlier versions defines conformance levels that set how much the file must preserve beyond its appearance. Level b, for basic, guarantees reliable visual reproduction: the page will look right. Level u, introduced in PDF/A-2, adds the requirement that all text maps to Unicode, so it can be searched and extracted reliably. Level a, for accessible, goes further and requires a tagged logical structure, with headings, paragraphs, lists and tables marked up and a defined reading order, which supports screen readers and reflow.
The difference matters for anyone who wants to use the text. A level b file can be visually perfect and still have a text layer that extracts badly or not at all. A level u or level a file guarantees a usable PDF text layer, and level a adds structure that makes PDF parsing and layout analysis far easier. PDF/A-4 replaces the old levels with a base profile plus variants for embedded files and engineering documents, with accessibility handled through the separate PDF/UA standard.
Metadata and provenance in PDF/A
Because XMP metadata is mandatory, PDF/A files usually carry a title, author, creation and modification dates and the conformance level itself, stored in a predictable place. That makes metadata extraction more dependable than with arbitrary PDFs, where the same fields may be missing, stale or held only in the older document information dictionary. Archives often add their own schemas to the XMP packet, recording accession numbers, retention classes or the scanning operator, which helps build an audit trail for each record.
Some institutions keep master scans as lossless TIFF files alongside a PDF/A access copy. File type detection treats every PDF/A file as an ordinary PDF with the same MIME type, application/pdf, so identifying PDF/A means reading the metadata, where the part and conformance level are declared. The post the PDF is the last unsolved file format discusses why even well-specified PDFs remain hard to process.
Scans, OCR and PDF/A
Many PDF/A files start life as paper. Digitisation projects scan documents, run OCR and save the result as PDF/A with an invisible text layer over each page image, producing a searchable PDF that also meets archival rules. Conformance says nothing about the accuracy of that OCR, though. A file can be valid PDF/A-2b and carry a text layer full of recognition errors, because the standard checks the file’s structure, not whether the words match the image.
For archives of scanned PDFs, this means the PDF/A label is a good sign that the file will open and render, and a weak sign about the quality of its text. Teams that ingest such archives into AI systems often re-run OCR on samples to check the existing layer before trusting it.
Validating and creating PDF/A
Claiming conformance and meeting it are different things. Many tools can export PDF/A, including office suites, scanning software and PDF libraries, but exports sometimes break the rules, for example by missing a font or an output intent. Validators check a file against the specification and list each violation. veraPDF, an open-source validator developed with support from the PDF Association and the digital preservation community, is widely used as a reference. Archives that accept deposits typically validate every file on arrival and reject or convert those that fail.
Converting an existing PDF to PDF/A usually means embedding fonts, adding an output intent, writing XMP metadata, removing JavaScript and flattening forbidden features. Most conversions are automatic, but some files cannot be converted without loss, such as encrypted PDFs or documents that depend on embedded media. Exporting directly from the source application, such as a DOCX file from a word processor, generally gives cleaner results than converting afterwards. The trade-offs between editable and fixed formats are covered in DOCX vs PDF.
Where PDF/A is used
PDF/A is common wherever records must outlive the systems that created them. Many courts accept or require it for electronic filing, which makes it a familiar starting point for AI projects in legal teams. National archives and public bodies use it for government records. Banks, insurers and healthcare providers use it for statements, policies and records with long data retention periods. Engineering firms use it for drawings and specifications, and businesses in several countries use it for e-invoices that must be kept for a fixed number of years.
For organisations building AI tools on top of these archives, PDF/A is often the format the source material arrives in. A legal team reviewing decades of filings, an insurer analysing old policy documents or an auditor checking archived invoices will meet large volumes of it. Patterns for these jobs are described in compliance audit and contract analysis.
A worked example
Picture an insurer building an assistant that answers questions about policies written over thirty years. The archive holds 60,000 policy documents: the recent ones are born-digital PDF/A-2u files exported from the policy system, the middle years are PDF/A-1b files produced by a scanning bureau, and the oldest are plain image PDFs with no text at all. The PDF/A label tells the team every file will open and render, but extraction quality varies widely.
The born-digital PDF/A-2u files extract cleanly, with Unicode-mapped text and reliable page structure. The PDF/A-1b scans have OCR layers of mixed quality, so a sample check shows that roughly one page in ten has enough errors to break exact searches on policy numbers. The image-only files need OCR from scratch. Treating the archive as three groups, and re-running recognition where the existing layer is weak, gives the assistant consistent coverage instead of answers that silently skip the older policies.
Where Exabase fits
Exabase Extract processes PDF/A files like any other PDF through POST /v2/extract. It reads born-digital text directly, applies OCR to scanned pages, and returns text chunks with page numbers along with document properties such as page count, author, title and creation date, a CDN-hosted thumbnail and a rendered version of the document. The chunks endpoint returns the text in pages, as described in the retrieving results guide, and the PDF to JSON tool gives a quick way to see the output for a single file.
Stored as Resources, archived documents become searchable through Deep Search, which returns the matching passage and its page number so answers can cite the exact page of a decades-old record. Regulated archives can sit in their own Base, separate from other data, and for archives that keep growing, the knowledge base solution shows how Workers keep the index current. Exabase does not create or validate PDF/A files, and it does not decide whether a given archive meets a regulator’s retention rules; that assessment stays with your records and legal teams, and designing retention policies for agent data covers the questions involved. The file extraction solution covers the extraction side, and the best PDF parser for LLMs roundup compares other options.
Frequently asked questions
What is the difference between PDF and PDF/A?
PDF/A is a restricted, ISO-standardised subset of PDF designed for archiving. It requires embedded fonts, device-independent colour and XMP metadata, and forbids encryption, JavaScript and external references, so the file displays the same way in future.
Which PDF/A version should I use?
PDF/A-2 is the most common choice for general archiving, because it supports modern features such as transparency and JPEG 2000. Use PDF/A-3 when you need to embed other files, such as XML e-invoices, and PDF/A-4 when your tools support PDF 2.0.
What do PDF/A-1b, 2u and 2a mean?
The number is the version and the letter is the conformance level. Level b guarantees visual appearance, level u adds reliable Unicode text, and level a adds a tagged structure for accessibility and reading order.
Is a PDF/A file always searchable?
No. Level b files only guarantee appearance, so a scanned PDF/A-1b may have no text layer or a poor OCR layer. Level u and level a guarantee Unicode text, which makes search and extraction dependable.
How do I check whether a file is valid PDF/A?
Run it through a validator such as veraPDF, which checks the file against the specification and lists every violation. A PDF/A label in the metadata is only a claim until a validator confirms it.
Can AI tools extract text from PDF/A files?
Yes. PDF/A files are standard PDFs, so extraction tools read them directly, and OCR handles scanned pages without a usable text layer. Exabase Extract processes them through the same endpoint as other PDFs.
Is PDF/A required for legal or regulatory compliance?
It depends on the jurisdiction and the record type. Some courts and public bodies require it, and many regulated industries use it by policy, so check the specific rules with your legal or records team.
Related pages: PDF text layer, Searchable PDF, Scanned PDF, XMP metadata, PDF parsing, Data retention, File extraction, Compliance audit, Best PDF parser for LLMs, Best PDF extraction API