Convert PDF files to PDF/A standard

Welcome to the Convert PDF to PDF/A guide. This guide will teach you how to convert PDF files to PDF/A standard easily.

Remember that all Tool Guides takes into account that you have previous knowledge about the Basics to process a PDF with our REST API. We strongly recommend you to read the related guide before start with this one.

What is PDF/A

PDF/A is an ISO-standardized version of the PDF specialized for use in the archiving and long-term preservation of electronic documents. PDF/A differs from PDF by prohibiting features ill-suited to long-term archiving, such as font linking (as opposed to font embedding) and encryption. The ISO requirements for PDF/A file viewers include color management guidelines, support for embedded fonts, and a user interface for reading embedded annotations.

Basic Convert to PDF/A

iLovePDF API allows to convert a PDF by simply creating a new PDF/A task like this:

Download the PHP library from GitHub
Download the Ruby library from GitHub
Download the .Net library from GitHub

Advanced Convert PDF to PDF/A

With setConformance() you can choose from several PDF/A conformance levels:

  • setConformance('pdfa-1b')
  • setConformance('pdfa-1a')
  • setConformance('pdfa-2b')
  • setConformance('pdfa-2u')
  • setConformance('pdfa-2a')
  • setConformance('pdfa-3b')
  • setConformance('pdfa-3u')
  • setConformance('pdfa-3a')

Leaving setConformance() empty will set by default parameter 'pdfa-1a' and if conversion cannot be done, will try automatically by default 'pdfa-1b'

Setting setAllowDowngrade() to false we don't downgrade level conformance level if conversion fails. This function is set to true by default and will try all down levels of conformance since conversion can be done successfully.

So a final conversion example would look like this:

Download the PHP library from GitHub
Download the Ruby library from GitHub
Download the .Net library from GitHub