HTML to PDF
pdfg is a managed API service for converting HTML to PDF. It adopts a serverless architecture and provides a scalable PDF generation environment at a low cost.
PDF Generation is a pain
Generating PDFs can be unexpectedly challenging. While libraries exist for various programming languages, they often have complex dependencies or limited capabilities. Web developers typically prefer using familiar tools like HTML, CSS, and web frameworks for PDF creation. Headless browsers offer an alternative, but they require dedicated server setup and sometimes additional font installations, leading to cumbersome environment configurations just for PDF generation.
How we solve
No Infrastructure, Just API
Use our API without the need to build and manage your own servers.
Fast and Scalable
Powered by a serverless architecture, pdfg ensures fast and scalable PDF generation, even at high volumes.
Render with Headless Browser
Utilizes a headless browser to ensure your HTML is rendered accurately without visual differences.
Preview Mode for Developers
During development, use the preview mode to view the latest PDF in real time.
With your Language and Framework
Compatible with any programming language and framework. We also provide sample HTML generation examples across various technologies.
Built-in Fonts
Includes a diverse selection of built-in fonts, supporting multiple languages.
Manage Assets
No need for self-hosting images, CSS, fonts, and more. Upload your assets through our Dashboard and reference them effortlessly.
Privacy
Submitted HTML is not stored, maintaining your privacy and data security.
Pay as You Go
Pay only for what you use, with prices starting as low as $0.002 USD per PDF.
Easy Integration
curl --location 'https://api.pdfg.dev/v1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{"html": "<h1>Hello World</h1>"}' \
--output pdfg.pdf