Docento.app
Multiple monitors with code
All Posts

How to Convert a PDF to PDF/A for Archiving or Court Filing

By The Docento.app TeamPublished 3 min read
Try Docento's free PDF editor — No sign-up, 100% private — sign, annotate, and stamp PDFs in your browser.Open the editor

Courts, government portals, universities and e-invoicing systems increasingly ask for PDF/A, the archival version of PDF. If a portal rejects your upload with "file must be PDF/A", here is how to convert it and check the result.

Which PDF/A version do you need?

PDF/A comes in parts and conformance levels:

  • PDF/A-1b: the oldest and strictest; no transparency, no embedded files. Some legacy systems still require it.
  • PDF/A-2b: allows transparency, layers and JPEG 2000 compression. The best general-purpose choice.
  • PDF/A-3b: like 2b, but allows embedded files of any type. Used by hybrid e-invoices such as Factur-X.
  • "a" levels (such as PDF/A-2a) additionally require tagging for accessibility.
  • "u" levels require text to be mapped to Unicode, which helps search.

If the requirement just says "PDF/A", PDF/A-2b is usually accepted. If it names a version, use exactly that one. See PDF/A archival format explained.

Method 1: export from Word or LibreOffice

The cleanest PDF/A comes from the source document.

  • Word (Windows): File → Save As → PDF → Options → tick PDF/A compliant.
  • LibreOffice: File → Export as PDF → General tab → tick Archive (PDF/A, ISO 19005) and choose the version.

Method 2: Adobe Acrobat Pro

Open the PDF, go to the PDF Standards tool (or Save as Other → Archivable PDF (PDF/A)), pick the version and save. Acrobat fixes many issues automatically, such as embedding fonts.

Method 3: Ghostscript (free, command line)

gs -dPDFA=2 -dBATCH -dNOPAUSE -dPDFACompatibilityPolicy=1 \
   -sColorConversionStrategy=RGB -sDEVICE=pdfwrite \
   -o output-pdfa.pdf input.pdf

For full conformance Ghostscript also needs a PDFA definition file with an output intent (ICC colour profile). Treat the output as a candidate and validate it. See Ghostscript introduction.

Always validate

A file that claims PDF/A is not necessarily compliant. Run it through a validator:

  • veraPDF: free, open source, and the reference validator endorsed by the PDF Association.
  • Acrobat Preflight: built into Acrobat Pro.

Fix any reported errors and validate again before submitting.

What commonly blocks conversion

  • Fonts that cannot be embedded due to licensing. Substitute a different font in the source.
  • Encryption or passwords. PDF/A forbids encryption. Remove protection first. See how to remove a password from a PDF.
  • JavaScript, audio, video or external links to content. These are not allowed and will be removed or block conversion.
  • Transparency in PDF/A-1. Use PDF/A-2 if you can, or flatten transparency. See PDF transparency flattening explained.
  • Digital signatures. Converting a signed PDF breaks the signature. Convert first, then sign.

Order of operations

  1. Finish editing (merge, reorder, add page numbers).
  2. Convert to PDF/A.
  3. Validate.
  4. Sign, if required, with a PDF/A-aware signing tool.
  5. Do not edit again.

Editing steps before conversion can be done in a browser tool such as Docento.app without uploading your files.

Takeaway

Use PDF/A-2b unless told otherwise, export from the source document when possible, and always validate with veraPDF before submitting. Convert before signing, never after.

Try Docento's free PDF editor

No sign-up, 100% private — sign, annotate, and stamp PDFs in your browser.

Open the editor

Related Posts