Skip to main content

PDF/A & PDF/UA

Converts one or more PDF files into a standardized format.

  • PDF/A: Specialized for the digital preservation of electronic documents (Archival).
  • PDF/UA: Specialized for Universal Accessibility, ensuring documents are accessible to assistive technologies.
LibreOffice Dependency

This endpoint relies on LibreOffice to re-process documents. This operation is generally more resource-intensive (CPU & RAM) than simple merges or splits.

POST/forms/pdfengines/convert
Gotenberg-Output-Filenamestring
The filename of the resulting file - Gotenberg automatically appends the file extension. Defaults to a random UUID filename.
Gotenberg-Tracestring
A custom request ID to identify the request in the logs; overrides the default UUID.
pdfaenum
Converts to a specific PDF/A archival standard. Options: 'PDF/A-1b', 'PDF/A-2b', 'PDF/A-3b'.
pdfuaboolean
Enables PDF/UA (Universal Accessibility) compliance.
Default:false
filesfile[]required
PDF files to convert.
cURL
curl \
--request POST http://localhost:3000/forms/pdfengines/convert \
--form files=@/path/to/pdf.pdf \
--form pdfa=PDF/A-1b \
--form pdfua=true \
-o my.pdf
The converted PDF file.
Content-Disposition: attachment; filename={output-filename.pdf}
Content-Type: {content-type}
Content-Length: {content-length}
Gotenberg-Trace: {trace}
Body: {output-file}