New PDF manipulation APIs →

From HTML template
to compliant document.

Turn HTML and CSS into compliant PDF, PDF/A, PDF/UA, DOCX and RTF — inside your Java or .NET application, with no browser engine and no external dependencies.

REPORT.DOCX
STATEMENT.PDF · PDF/UA
InvoicePDF/A-3b
License, 1 server[PRICE]
Total: [TOTAL] + embedded factur-x.xml
Trusted across regulated industries
PDF Print-ready output
PDF/A Long-term archiving
PDF/UA Accessible, tagged
DOCX Editable Word files
RTF Universal rich text
DEVELOPER-FIRST

A few lines of code.
Production-grade documents.

Drop a single library into your existing application. Read HTML, set the page, write the file.

Java .NET
PD4ML pd4ml = new PD4ML();
pd4ml.readHTML(new FileInputStream("invoice.html"));
pd4ml.setPageSize(PageSize.A4);
pd4ml.setPageMargins(new PageMargins(72, 36, 36, 36));
pd4ml.writePDF(new FileOutputStream("invoice.pdf"));
PDF PDF/A-3b PDF/UA DOCX RTF
Read the documentation →
01

Full page control

Page size, orientation and breaks, with dynamic headers, footers and page numbers.

02

Accessible by design

Tagged PDF/UA output for Section 508 and accessibility compliance.

03

Archiving and e-invoicing

PDF/A-3b with embedded XML, ready for ZUGFeRD and Factur-X.

04

Document security

Password protection and restrictions on printing, editing and text extraction.

05

International text

Unicode across Asian, Middle Eastern and European scripts, with TrueType and OpenType fonts.

06

PDF toolkit

New APIs for working with existing PDFs, beyond HTML conversion.

See all features →

Try PD4ML in your own stack.

Get a free evaluation license and convert your first template in minutes.