HTML & CSS in.
Precise PDFs out.
Make stunning documents, from detailed invoices and company memos to event tickets, invitations, price lists, and court briefs.
PrecisionPDF is the focused HTML-to-PDF engine designed for correctness, efficiency, and painless integration.
Why PrecisionPDF?
Build documents with familiar HTML and CSS. Keep control of the layout, the integration, and where rendering happens.
-
Careful page layout.
Control typography, page dimensions, margins, and page breaks with HTML and CSS.
-
A native engine, written in Rust.
Generate PDFs without launching or managing a separate browser process. Start with a working example and bring PDF generation into scripts or application code.
-
Processing in your environment.
Run locally and package fonts, images, and stylesheets for offline rendering. Read about document processing and privacy.
-
A free core for everyday PDFs.
Start for free. Generate PDFs without a subscription or per-document charge. Compare editions and features.
Cross-platform support
Runs where your application runs.
PDFs generated on the platforms and environments you already use.
Platforms
- Windows
- Linux
- macOS
- iOS
- iPadOS
- Serverless (AWS Lambda)
Languages
Standards
-
HTML & CSS Typography, page dimensions, margins, and page breaks.
-
PDF/A-1/2/3/4 — Coming soon
-
Offline rendering Package fonts, images, and stylesheets locally.
-
FIPS requirements — On request
Start with the tools you know.
Write your document in HTML. Set its typography, layout, and page dimensions in CSS. Generate a PDF from the command line or your application.
With PrecisionPDF installed, convert an HTML file:
precisionpdf document.html document.pdf
from precisionpdf import HTML
HTML(filename="document.html").write_pdf("document.pdf")
Follow the getting-started guide for a complete HTML document and examples in your preferred language.
A free core for everyday PDFs.
The core renderer is free for generating plain PDFs, with no subscription or per-document charge. Turn HTML and CSS into the documents your application needs, in the environment you control.
Use the CLI in a script or add the library to your application. Compare editions or make your first PDF.








