Go Back

PDF/A metadata

PDF/A is the ISO standard for long-term archiving of PDF documents: ISO 19005. It restricts what a PDF may contain so that the file can still be rendered correctly decades from now — no encryption, embedded fonts, defined colour spaces, and metadata that does not depend on the application that produced the file.

Metadata is one of the requirements, and it is the one people most often get wrong when they try to fix a failing file by hand.

Important: this editor can change the metadata of a PDF, including the XMP schemas. It does not convert a PDF to PDF/A and does not validate conformance. Use it to correct metadata, then validate with a dedicated tool.

Why PDF/A requires XMP

The PDF Info dictionary is a set of loose key/value pairs with no schema. XMP is structured XML with defined properties across schemas such as Dublin Core and XMP Basic. PDF/A requires XMP because it is predictable: an archive can read the declared standard and conformance level, and can rely on the properties being typed and machine-readable.

In practical terms:

  • The pdfaid XMP schema must declare the part and conformance level.
  • If the Info dictionary is present, its values must match the corresponding XMP properties. A file with Title in Info and a different dc:title in XMP is inconsistent.
  • XMP packets must be well-formed and correctly placed in the file.

The required properties

PropertySchemaPurpose
pdfaid:partPDF/A identificationThe part of ISO 19005, for example 1, 2 or 3
pdfaid:conformancePDF/A identificationThe conformance level, typically A, B or U
dc:titleDublin CoreThe document title
xmp:CreateDateXMP BasicWhen the document was created
xmp:ModifyDateXMP BasicWhen it was last modified
xmp:MetadataDateXMP BasicWhen the metadata was last changed

The exact set depends on the part and conformance level. PDF/A-1, -2, -3 and -4 differ in the underlying PDF version and in which features they permit, and the u and a levels add accessibility requirements that go well beyond metadata.

The identification block looks like this inside the XMP packet:

<x:xmpmeta xmlns:x="adobe:ns:meta/">
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    <rdf:Description rdf:about=""
        xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/">
      <pdfaid:part>2</pdfaid:part>
      <pdfaid:conformance>B</pdfaid:conformance>
    </rdf:Description>
  </rdf:RDF>
</x:xmpmeta>

Check whether a file is PDF/A

Never trust the file name or the extension. Two reliable checks:

  1. veraPDF — the reference validator, free and open source. Run it against a file or a folder and read the rule violations it reports:

    verapdf --format text report.pdf
    
  2. Adobe Acrobat Preflight — the Preflight panel lists PDF/A, PDF/X and other profiles and reports the specific clauses that fail.

A quick metadata-only check is also possible: the XMP block should contain pdfaid:part and pdfaid:conformance. If they are absent, the file is not declaring itself as PDF/A, whatever its contents.

Fix metadata on a PDF/A candidate

Correcting metadata is not the same as repairing conformance, but it is a necessary step when the metadata is what fails validation.

  1. Open the PDF in the desktop app.
  2. On the Document tab, set the title, author, subject and keywords you want.
  3. On the XMP Dublin Core tab, set dc:title, dc:creator and dc:description to match.
  4. On the XMP Basic tab, set CreateDate, ModifyDate and MetadataDate to valid ISO 8601 values.
  5. Save with Copy Doc to XMP selected so the two stores agree.
  6. Validate the result with veraPDF and fix whatever it still reports.

Steps 1–5 address inconsistency between Info and XMP. They will not fix a missing font, an undefined colour space, transparent objects in PDF/A-1, or encryption. Those require a converter.

Converting to PDF/A

If the file is not already PDF/A, metadata alone will not make it one. Use a converter:

  • Adobe Acrobat — Save as Other → Archival PDF, or the Preflight conversion profiles.
  • LibreOffice — the PDF export dialog has a PDF/A option for documents it can open.
  • Ghostscript — with a PDF/A definition file; effective but easy to misconfigure.

Convert first, then check and correct the metadata, then validate. Doing it in that order avoids re-editing a file that the converter will rewrite anyway.

Common validation failures

FailureCauseFix
Missing pdfaid:partThe file was never tagged as PDF/AConvert with a PDF/A profile rather than adding the field by hand
Info and XMP disagreeTwo tools edited different storesMake both consistent
Invalid date formatA non-ISO date was written into XMPUse YYYY-MM-DDThh:mm:ssZ
Metadata date older than modify dateEdited in the wrong orderUpdate xmp:MetadataDate last
File still fails after metadata is correctConformance issues outside metadataRead the veraPDF rule IDs and address them one by one

Adding a pdfaid block by hand to a file that does not meet the standard produces a file that claims to be PDF/A and fails validation. That is worse than an honest non-archival PDF, particularly in regulated environments.

Frequently asked questions

Is PDF/A the same as PDF?

No. PDF/A is a constrained subset of PDF defined by ISO 19005, intended for archiving. A PDF/A file is a PDF, but most PDFs are not PDF/A.

Can I make a PDF/A file just by editing the metadata?

No. Conformance depends on fonts, colour spaces, encryption, transparency and more. Metadata is one requirement among many.

Which XMP properties does PDF/A require?

At minimum the pdfaid identification schema with pdfaid:part and pdfaid:conformance. Dublin Core and XMP Basic properties are also required in practice, and the exact set depends on the part. Validate with veraPDF to see what your file is missing.

Does this editor validate PDF/A?

No. It edits the metadata. Use veraPDF or Acrobat Preflight for validation.

Related guides