IronPDF How-Tos Export PDF/UA Documents How to Export PDF/UA Format Documents in C# Chaknith Bin Updated:July 28, 2025 IronPDF allows you to export PDFs to the PDF/UA standard, ensuring accessibility for individuals with disabilities. PDF/UA follows specific guidelines, including support for assistive technologies like screen readers. By complying with PDF/UA, your PDF documents meet the accessibility requirements set by Section 508 of the Rehabilitation Act. Beyond accessibility, PDF/UA offers benefits such as text reflow on small screens, improved navigation options, customizable text appearance, enhanced search engine functionality, and efficient text selection and copying. Get started making PDFs with NuGet now: Install IronPDF with NuGet PM > Install-Package IronPdf Copy the code IronPdf.PdfDocument.FromFile("input.pdf").SaveAsPdfUA("output‑pdfua.pdf"); Deploy to test on your live environment Start using IronPDF in your project today with a free trial Free 30 day Trial Get started with IronPDF Start using IronPDF in your project today with a free trial. First Step: Start for Free How to Export PDF/UA Format Documents in C# Download the IronPDF C# Library for PDF/UA Compliance Import an existing PDF document to be converted Edit the PDF document as required Export a PDF/UA Document using the SaveAsPdfUA method Validate the document's conformance with the veraPDF Conformance Checker software Export PDF/UA Document Example To export a PDF document in PDF/UA compliance format, you can use the SaveAsPdfUA method. Simply import the PDF document and use this method to export it as a PDF/UA file. You may populate the naturalLanguages parameter to specify the natural language of the PDF document. Consider the PDF document shown below. You can use the accompanying code to export it as a PDF/UA file. Input file: "wikipedia.pdf" Code :path=/static-assets/pdf/content-code-examples/how-to/pdfua-fromfile.cs using IronPdf; // Open PDF File PdfDocument pdf = PdfDocument.FromFile("wikipedia.pdf"); // Export as PDF/UA compliance PDF pdf.SaveAsPdfUA("pdf-ua-wikipedia.pdf"); IRON VB CONVERTER ERROR developers@ironsoftware.com $vbLabelText $csharpLabel Output The output file is PDF/UA compliant: Output PDF: Rendering HTML as PDF/UA standard Aside from exporting documents to the PDF/UA standard, we can also utilize the RenderHtmlAsPdfUA method to directly render the HTML input into the PDF/UA standard directly. Here's a breif code example on how to use it. Code :path=/static-assets/pdf/content-code-examples/how-to/pdfua-render-html-to-pdfua.cs using IronPdf; ChromePdfRenderer renderer = new ChromePdfRenderer(); // html is a large stright above of a full html page with <html><head><style><body> etc... var pdf = renderer.RenderHtmlAsPdfUA(@" <!DOCTYPE html> <html> <head> <title>Document</title> </head> <body> <h1>Heading 1</h1> <h2>Heading 2</h2> <p>Paragraph text</p> </body> </html>"); pdf.MetaData.Title = "v2025.1"; pdf.SaveAs("html-string-ua-ironpdf.pdf"); Imports IronPdf Private renderer As New ChromePdfRenderer() ' html is a large stright above of a full html page with <html><head><style><body> etc... Private pdf = renderer.RenderHtmlAsPdfUA(" <!DOCTYPE html> <html> <head> <title>Document</title> </head> <body> <h1>Heading 1</h1> <h2>Heading 2</h2> <p>Paragraph text</p> </body> </html>") pdf.MetaData.Title = "v2025.1" pdf.SaveAs("html-string-ua-ironpdf.pdf") $vbLabelText $csharpLabel Output The output file is PDF/UA compliant: Frequently Asked Questions How can I create a PDF/UA compliant document using C#? You can create a PDF/UA compliant document using IronPDF by importing an existing PDF file and using the SaveAsPdfUA method to export it in the PDF/UA format. What are the benefits of using the PDF/UA standard? The PDF/UA standard ensures accessibility for individuals with disabilities, supports screen readers, and offers features like text reflow on small screens, improved navigation, customizable text appearance, and enhanced searchability. How do I validate a PDF/UA document for compliance? You can validate a PDF/UA document's compliance using the veraPDF Conformance Checker, which ensures the document meets the necessary standards. Can I edit a PDF before exporting it as PDF/UA? Yes, you can edit the PDF document as needed, such as adding annotations or modifying content, before exporting it using the SaveAsPdfUA method. Is it possible to convert an HTML string to a PDF/UA document? Currently, IronPDF does not support directly exporting newly rendered PDFs from HTML strings, files, or web URLs to the PDF/UA format. What steps are involved in exporting a PDF/UA document in C#? To export a PDF/UA document, download the IronPDF library, import the existing PDF, optionally edit it, specify the natural language, and use the SaveAsPdfUA method. How does the SaveAsPdfUA method work in IronPDF? The SaveAsPdfUA method in IronPDF is used to export an existing PDF document into a PDF/UA compliant format, ensuring it meets accessibility standards. What is the purpose of specifying the natural language in a PDF/UA document? Specifying the natural language in a PDF/UA document helps screen readers and other assistive technologies to better interpret the text content for users with disabilities. Chaknith Bin Chat with engineering team now Software Engineer Chaknith works on IronXL and IronBarcode. He has deep expertise in C# and .NET, helping improve the software and support customers. His insights from user interactions contribute to better products, documentation, and overall experience. Ready to Get Started? Free NuGet Download Total downloads: 14,968,429 View Licenses