Technology

What Is PDF/A, and When Should You Use It?

What Is PDF/A, and When Should You Use It?

PDF/A is a version of PDF standardized for long-term archiving as ISO 19005. A PDF/A file has to carry everything needed to display it exactly the same way decades from now, with no dependence on the software, fonts or network that happened to be around when it was made. In practice that means all fonts are embedded, colors are defined in a device-independent way, descriptive metadata is stored inside the file, and features that rely on outside resources or software behavior are banned: encryption, JavaScript, content pulled in from outside the file, audio and video. A PDF/A is still a PDF, and any PDF reader opens it. The difference is in what the file is not allowed to contain.

PDF vs PDF/A

Ordinary PDF is built for getting a document onto a screen or a printer today. PDF/A trades some of its flexibility for predictability.

Feature Ordinary PDF PDF/A
Fonts May rely on fonts installed on the reader's computer Every font used must be embedded
Encryption and passwords Allowed Not allowed
JavaScript and launch actions Allowed Not allowed
Content pulled from outside the file Allowed Not allowed (a clickable web link is fine; the page itself must be self-contained)
Audio, video and other multimedia Allowed Not allowed in PDF/A-1 to 3
Color Can be device-dependent Device-independent, usually with an embedded ICC profile
Metadata Optional XMP metadata required
Transparency Allowed Not in PDF/A-1; allowed from PDF/A-2 on
Embedded files Anything None in PDF/A-1; other PDF/A files in PDF/A-2; any file type in PDF/A-3

Every rule traces back to one question: will this file still look and read the same when the software, the computer and the person who made it are long gone?

Encryption fails that test because a password lost in 2040 means a document lost in 2040. External fonts fail because a substituted font can reflow a page, break a table or swap a symbol. Scripts fail because their behavior depends on the viewer, and a script can change what a page displays. Content fetched from elsewhere fails because the elsewhere disappears.

The four parts of ISO 19005

PDF/A is not one format but a family. Each part builds on a different version of PDF.

PDF/A-1 (ISO 19005-1, 2005) is based on PDF 1.4. It is the most conservative part: no transparency, no JPEG 2000 compression, no embedded files. It has two conformance levels, 1b (basic: the page looks right) and 1a (accessible: the file also carries tagged logical structure, so the reading order and the text can be recovered).

PDF/A-2 (ISO 19005-2, 2011) is based on PDF 1.7, published as ISO 32000-1. It allows JPEG 2000, transparency, layers and embedded PDF/A files, and adds a third level, 2u, which guarantees that the text maps to Unicode and can be searched and copied reliably. Levels are 2a, 2b and 2u.

PDF/A-3 (ISO 19005-3, 2012) is PDF/A-2 with one change: it allows embedded files of any type. That lets a PDF/A carry its source data, such as the spreadsheet behind a report or the XML behind an invoice. The European e-invoice formats Factur-X and ZUGFeRD use exactly this arrangement. The embedded files themselves are not guaranteed archival, so treat them as attachments, not as preserved content. Levels are 3a, 3b and 3u.

PDF/A-4 (ISO 19005-4, 2020) is based on PDF 2.0 (ISO 32000-2). It drops the a, b and u levels in favor of a base level plus two variants: PDF/A-4f, which permits embedded files, and PDF/A-4e, aimed at engineering documents. Support in everyday software is still thinner than for parts 2 and 3.

For most offices and archives the practical answer is PDF/A-2b or 2u for scanned and born-digital documents, PDF/A-3 when you deliberately need to embed a source file, and PDF/A-1b only when a recipient demands it. Our earlier piece on file formats for long-term preservation sets PDF/A alongside TIFF, JPEG 2000 and the rest.

Archivist’s kit

  • UGREEN NASync network storage

    A network drive for home or office that keeps a full set of masters on your own shelf, reachable from every computer.

    • Models from 2 to 8 drive bays
    • Takes third-party hard drives
    • Two-year maker warranty
    Open UGREEN

Picked from maker specifications and published reviews. We have not bench-tested these units.

More in the Archivist’s kit

What PDF/A does not do

Several common assumptions about PDF/A are wrong, and they cause real trouble in records programs.

Myth: PDF/A makes a document searchable. It doesn't. A scanned page saved as PDF/A-2b can be a picture with no text at all. Searchability comes from OCR, which adds a hidden text layer. The 2u and 2a levels require that text in the file maps to Unicode, but they don't require there to be any text.

Myth: PDF/A is accessible. Only the "a" levels require tagged structure, and even then the tags are only as good as whoever or whatever created them. Accessibility for people using screen readers is the subject of a separate standard, PDF/UA.

Myth: PDF/A proves a document is authentic. PDF/A is about rendering, not trust. Digital signatures are allowed in PDF/A, and an organization can combine the two, but the format alone proves nothing about who made a file or whether it has been altered.

Myth: PDF/A fixes a poor scan. A blurry, low-resolution or heavily compressed scan stays blurry when it is wrapped in PDF/A. Capture quality is decided at the scanner; the scan resolution calculator helps you pick a resolution and see what it costs in file size.

Myth: PDF/A can't be edited. Many PDF editors open PDF/A files in a read-only mode and warn that changes may break conformance, but the file can be edited. That is one reason to validate files when they enter the archive, not only when they are created.

How to convert a PDF to PDF/A

The best PDF/A is created as PDF/A from the start, not converted after the fact.

For documents you write yourself, most office suites have a PDF/A option in their PDF export or "save as" settings. Turn it on as the default for anything that will become a record: minutes, reports, signed-off policies, final contracts. Creating it at the source avoids most conversion problems, because the software has the fonts and the original layout in hand.

For scanned documents, most document-scanning software can write PDF/A directly, with an OCR text layer, and on a batch scale the open-source tool OCRmyPDF adds OCR and writes PDF/A in one pass. If you are choosing equipment for that kind of work, our guide to document scanners for home and office records covers what matters.

For existing PDFs, a conversion or "preflight" tool in a full PDF editor rewrites the file to meet the rules. Conversion can embed fonts if they are available on the computer doing the work, but it may also substitute fonts, flatten transparency or turn vector content into images. Compare the converted file with the original, page by page for anything important. An encrypted PDF has to be decrypted with its password first, since PDF/A cannot be encrypted.

Validation: why "Save as PDF/A" is only a claim

A PDF/A file announces its conformance in its own metadata. That label is just a few lines of text written by the software that produced it, and it can be wrong. Conversion tools miss things; files get edited after they are made; some programs simply write the label without checking.

The answer is independent validation. veraPDF is an open-source validator built for exactly this job, developed with the PDF Association and the Open Preservation Foundation. It checks a file against the rules for the part and level it claims, lists every failed rule, and produces reports that can be read by people or by other systems. It runs on a single file or over a whole folder.

A sensible routine for a records program:

  1. Validate every PDF/A when it enters the archive or the records system, not just at creation.
  2. Keep the validation report with the file or in the system's audit trail.
  3. When a file fails, go back to the source and recreate it rather than patching the PDF.
  4. Re-validate a sample when you migrate storage or systems.

The usual failures are unembedded fonts, a missing color profile, transparency in a file labelled PDF/A-1, and metadata that doesn't match the document's properties. All of them are easier to fix at creation than afterwards.

PDF/A or TIFF masters?

This is the question I get most often from offices starting a scanning project, and the answer depends on what the records are and how long they must be kept.

Material Master Access copy
Born-digital documents (minutes, reports, contracts, policies) PDF/A The same PDF/A
Scanned textual records kept permanently TIFF images PDF/A with OCR
Scanned records kept for a fixed period, then destroyed PDF/A with OCR The same PDF/A
Photographs, maps, plans and anything you may reprocess TIFF images JPEG or PDF/A
Spreadsheets and data The native or an open format (CSV, XML) PDF/A-3 with the source embedded, if a fixed view is needed

TIFF masters earn their place for permanent records and visual material. A TIFF holds one image per file in a simple, well-documented structure, it can be reprocessed for new OCR or better access copies years later, and imaging workflows handle it well. A PDF/A access copy built from those masters is smaller, multi-page and searchable, which is what people at the counter want.

For records with a fixed retention period, a preservation master is usually overkill. Invoices kept for seven years or case files destroyed ten years after closing need a readable, searchable copy for that period, and a validated PDF/A-2b or 2u does the job on its own. Matching the format effort to the retention period saves storage and staff time, and it is a decision your retention schedule should drive; our guide to records management for small offices shows how the schedule and the file plan fit together.

Born-digital documents are the simplest case. A report written in a word processor and exported to PDF/A has no better master to keep, apart from the source file itself if anyone will ever need to edit it.

Frequently asked questions

Is PDF/A the same as PDF?

PDF/A is a restricted version of PDF, defined in ISO 19005, for long-term archiving. Every PDF/A is a PDF and opens in any PDF reader, but not every PDF meets the PDF/A rules.

Which PDF/A version should I use?

PDF/A-2b or 2u suits most scanned and born-digital documents. Use PDF/A-3 when you need to embed a source file, and PDF/A-1b only when a recipient requires it.

Does PDF/A make a document searchable?

No. Searchability comes from OCR or from text in a born-digital file. PDF/A only guarantees that text already in the file is handled consistently, and the u and a levels add reliable Unicode mapping.

Can I password-protect a PDF/A file?

No. Encryption is not allowed in PDF/A. Control access through the system or folder that stores the file instead.

How do I check whether a file is really PDF/A?

Run it through a validator such as veraPDF, which checks the file against the rules for the part and level it claims and reports every failure. The label inside the file is only the producing software's claim.