IRONSOFTWAREHOME
PDF/A
import {PdfDocument} from "@ironsoftware/ironpdf";

(async () => {
    // Open a PDF or use an exisiting rendered PDF
const pdf = await PdfDocument.fromFile("source_doc.pdf");

    // Perform PDF Editing Tasks...
    
    // Convert to PDF/A-3b Document
await pdf.convertToPdfA();

    // Save the PDF/A-3b Document to File
    await pdf.saveAs("pdfa-compliant.pdf");
})();
npm i @ironsoftware/ironpdf
PDF/A

PDF/A

IronPDF provides support for exporting PDFs to the PDF/A-3b standard, which is a strict subset of the ISO PDF specification designed for creating archival versions of documents with the assurance that they will always display exactly as they were saved.

Additionally, IronPDF is committed to adhering to Google's initiative to enhance PDF archiving and accessibility, as well as complying with Section 508 standards for PDF documents. In 2021, IronPDF transitioned to rendering PDFs from HTML using the Google Chromium HTML rendering engine, which allows the software to inherit Google's accessibility improvements for PDF generation.

With IronPDF's convertToPdfA method, you have the capability to convert normal PDFs into compliance with archiving standards. Then, the output PDF can be exported.

Here's a sample code snippet showing how you can convert a PDF using IronPDF:

Explanation:

  • We begin by importing necessary namespaces such as IronPdf.
  • Next, we create a new PdfDocument object, which is used to handle PDF operations.
  • We load an existing PDF file named "example.pdf" into the pdf variable.
  • Using the ConvertToPdfA() method, we convert the loaded PDF document to the PDF/A-3b standard.
  • Finally, the converted document is saved as "example_pdfA.pdf", and a success message is printed to the console.

Ensure you have IronPDF installed in your project to run this code effectively.

Explore PDF/A Conversion Code Example Now!
View on GitHub

Ready to Get Started?

Version:2026.8just released

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

OR
bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried Iron Suite
Book your free Live Demo
Booking Badge

Trusted by Millions of Engineers Worldwide

Iron Software's customer logos
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required
Node.js Module Download for PDF
Install with npm

Version: 2026.8

  1. Download and install Node.js 12+.
  2. Execute the above command in the terminal.

Licenses from $999