---
title: "Convert PDF to PDF/UA in C# | Nutrient .NET SDK"
canonical_url: "https://www.nutrient.io/guides/dotnet/csharp/conversion/pdf-to-pdf-ua/"
md_url: "https://www.nutrient.io/guides/dotnet/csharp/conversion/pdf-to-pdf-ua.md"
last_updated: "2026-10-08T00:00:00.000Z"
description: "Convert PDF documents to PDF/UA format using Nutrient .NET SDK."
---

# Converting PDF documents to PDF/UA format

PDF/UA (universal accessibility) is an ISO standard (ISO 14289) that defines requirements for universally accessible PDF documents. It ensures PDFs are fully accessible to users with disabilities, including those using assistive technologies like screen readers.

This sample demonstrates how to convert a standard PDF document to PDF/UA format using Nutrient.NET SDK. Compliance is essential for organizations committed to digital inclusion and legal compliance with accessibility regulations such as:

- Americans with Disabilities Act (ADA)

- Section 508

- Web Content Accessibility Guidelines (WCAG)

The conversion process automatically handles document structure tagging, heading hierarchy establishment, reading order optimization, and other enhancements required for full compliance.

## Streamlining document workflows with our.NET SDK

Developers can implement this feature by adding a few lines of code to their applications. The SDK integrates PDF-to-PDF/UA conversion directly, which removes the requirement for external tools or complex setups. Our SDK provides a reliable solution for building accessible document systems or adding compliance functionality to an existing platform.

## Preparing the project

Import the Nutrient namespace:

```csharp

using Nutrient;

```

## Loading the PDF document

This guide focuses on the `Document` class. Use C#’s [using statement](https://learn.microsoft.com/dotnet/csharp/language-reference/statements/using) to enable proper lifecycle management of the document instance.

The SDK supports multiple integration methods to provide flexibility when connecting with your application. This guide uses a file path as the source:

```csharp

try
{
    using Document document = Document.Open("input.pdf");

```

This path can be either absolute or relative. In this example, the file is loaded from the application’s working directory.

## Converting to PDF/UA format

Configure the PDF settings to target PDF/UA-1 conformance level. Then export the document:

```csharp

    var settings = document.Settings;
    var pdfSettings = settings.PdfSettings;
    pdfSettings.Conformance = PdfConformance.PDF_UA_1;

    document.ExportAsPdf("output.pdf");
    Console.WriteLine("Successfully converted to PDF/UA");
}
catch (NutrientException e)
{
    Console.Error.WriteLine($"Error: {e.Message}");
    Environment.Exit(1);
}

```

The `Conformance` property configures the output to meet PDF/UA-1 standards, ensuring the document is fully accessible to users with disabilities. The `ExportAsPdf` method then generates a compliant PDF/UA document.

The conversion process automatically performs these actions:

- Analyzes document structure and creates appropriate tags.

- Ensures proper reading order for screen readers.

- Adds alternative text for images and graphics.

- Validates color contrast and text accessibility.

- Generates a PDF/UA-compliant document for full assistive technology support.

## PDF/UA requirements

The PDF/UA conversion automatically implements several key accessibility requirements:

- **Document structure** — Creates a logical document structure with a proper heading hierarchy.

- **Tagged content** — Tags all content elements for assistive technology interpretation.

- **Alternative text** — Ensures images and non-text elements have appropriate descriptions.

- **Font embedding** — Embeds all fonts to ensure consistent text rendering.

- **Reading order** — Establishes a logical reading sequence for document navigation.

## Accessibility features

PDF/UA documents provide enhanced accessibility through:

- **Screen reader support** — Structured content enables accurate text-to-speech conversion.

- **Keyboard navigation** — Proper tab order and navigation structure for users who cannot use a mouse.

- **Zoom compatibility** — Text and layout scale appropriately for users with visual impairments.

- **Language identification** — Proper language tagging for multilingual content.

## Error handling

Nutrient.NET SDK handles errors with exception handling. The methods presented in this guide throw a `NutrientException` if a failure occurs. This helps with troubleshooting and implementing error handling logic.

## Conclusion

That’s all it takes to convert a PDF document into an accessible PDF/UA file. The resulting document complies with international accessibility standards and enables universal access for users with disabilities.
---

## Related pages

- [Nutrient .NET SDK conversion guides](/guides/dotnet/csharp/conversion.md)
- [Converting CAD files to PDF](/guides/dotnet/csharp/conversion/cad-to-pdf.md)
- [Converting email files to PDF](/guides/dotnet/csharp/conversion/email-to-pdf.md)
- [Converting a document from XLSX to PDF format](/guides/dotnet/csharp/conversion/excel-document-to-pdf.md)
- [Converting HTML to PDF](/guides/dotnet/csharp/conversion/html-to-pdf.md)
- [Converting a document from Markdown to PDF format](/guides/dotnet/csharp/conversion/markdown-to-pdf.md)
- [Converting PDF pages to images](/guides/dotnet/csharp/conversion/pdf-pages-to-images.md)
- [Converting PDF documents to Excel format for data analysis](/guides/dotnet/csharp/conversion/pdf-to-excel-document.md)
- [Converting PDF documents to HTML format for web publishing](/guides/dotnet/csharp/conversion/pdf-to-html.md)
- [Converting PDF documents to image format](/guides/dotnet/csharp/conversion/pdf-to-image.md)
- [Converting PDF documents to Markdown format](/guides/dotnet/csharp/conversion/pdf-to-markdown.md)
- [Converting PDF documents to PDF/A format](/guides/dotnet/csharp/conversion/pdf-to-pdf-a.md)
- [Converting PDF documents to PowerPoint presentations](/guides/dotnet/csharp/conversion/pdf-to-powerpoint-document.md)
- [Converting a document from PDF to DOCX format](/guides/dotnet/csharp/conversion/pdf-to-word-document.md)
- [Converting a document from PPTX to PDF format](/guides/dotnet/csharp/conversion/powerpoint-document-to-pdf.md)
- [Preparing and troubleshooting PDF/A conversion](/guides/dotnet/csharp/conversion/prepare-and-troubleshoot-pdf-a-conversion.md)
- [Converting a Word document to PDF while preserving comments](/guides/dotnet/csharp/conversion/word-document-to-pdf-including-comments.md)
- [Converting a document from DOCX to PDF/UA format](/guides/dotnet/csharp/conversion/word-document-to-pdf-ua.md)
- [Converting a document from DOCX to PDF format](/guides/dotnet/csharp/conversion/word-document-to-pdf.md)

