> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/web/pdf-a/pdfa.md).

# PDF/A Conversion Library using JavaScript

Convert generic PDF documents to PDF/A with our API for archiving and preservation. Explore PDF/A conversion, validation, and tools. Find the right version of PDF/A for your needs. Get started today!

{% hint style="info" %}
**Requirements**

*These packages are required to use these features in production. Trial keys have unlimited access to all features*

<a href="https://apryse.com/capabilities#Archive" class="button primary">Package: Archive</a><a href="https://showcase.apryse.com/pdfa-conversion" class="button primary">Live demo</a>
{% endhint %}

PDF/A is specialized for use in archiving and long-term preservation. Our API allows developers to convert generic PDF documents to PDF/A (ISO 19005:1/2/3/4) or to validate existing PDF/A documents.

Apryse SDK benefits include:

* Checks if a PDF file is compliant with any PDF/A specifications (ISO 19005-1, 19005-2, 19005-3, 19005-4).
* Converts any PDF to a PDF/A compliant document.
* Supports all PDFA versions and conformance levels: PDF/A-1A, PDF/A-1B, PDF/A-2A, PDF/A-2B, PDF/A-2U, PDF/A-3A, PDF/A-3B, PDF/A-3U, PDF/A-4, PDF/A-4E, PDFA-4F.
* Produces a detailed report of compliance violations and associated PDF objects.
* Keeps the required changes to a minimum, preserving the consistency of the original.
* Tracks all changes to allow for automatic assessment of data loss.
* Allows user to customize compliance checks or omit specific changes during the conversion process.
* Preserves tags, logical structure, and color information in existing PDF documents.
* Supports user-defined color profiles.
* Offers automatic font substitution, embedding, and subsetting options.

## Demos

[PDF/A Conversion](https://showcase.apryse.com/pdfa-conversion) [PDF/A Validation](https://showcase.apryse.com/validate-pdfa)

## Picking a version and conformance level

[How to Pick the Right Version of PDF/A](https://apryse.com/blog/pdfa-format/how-to-pick-right-version-of-pdfa) It is in general best to use PDF/A-2B but please review the blog to learn more.

## Get started

[Convert PDF to PDF/A](/web/pdf-a/convert.md) To convert a PDF document to PDF/A format.

[Validate PDF/A document](/web/pdf-a/validate.md) To validate a PDF/A document for compliance.

## Tools & Utilities

[PDF/A Manager](/cli/pdf-a-manager/pdfa-manager.md) A command-line tool that can convert and validate PDF/A documents


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.apryse.com/web/pdf-a/pdfa.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
