---
title: "pdfa.convert: Save as PDF/A — PDF kit command — Kition"
description: "Standards ▸ Save as PDF/A: fix what can be fixed for PDF/A-2b or 3b (XMP identification and metadata, an sRGB output intent, forbidden actions and JavaScript, annotation print flags, image interpolation, encryption). Returns what was fixed and what remains (e.g. fonts that aren't embedded). Undoable; save the document to keep it."
canonical: "https://developer.kition.ai/docs/kits/pdf/commands/pdfa.convert"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/pdf/commands/pdfa.convert](https://developer.kition.ai/docs/kits/pdf/commands/pdfa.convert)

# pdfa.convert

**Save as PDF/A.** Standards ▸ Save as PDF/A: fix what can be fixed for PDF/A-2b or 3b (XMP identification and metadata, an sRGB output intent, forbidden actions and JavaScript, annotation print flags, image interpolation, encryption). Returns what was fixed and what remains (e.g. fonts that aren't embedded). Undoable; save the document to keep it.

- Kit: PDF 0.1.0 (.pdf); reference: [PDF kit commands](https://developer.kition.ai/docs/kits/pdf.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `level` | `"2b" \| "3b"` | no |  |

## Call through pdf_run

```text
pdf_run {
  "path": "<file>.pdf",
  "steps": [{ "command": "pdfa.convert" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `level`. pdf_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "level": {
      "enum": [
        "2b",
        "3b"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/pdf-darwin-arm64@0.1.0 and the kit itself (pdf_commands through @kition/cli@0.1.1, built from KitionAI/kition-pdf@b0d2725).
