PDFMyHTML is a developer-first API designed for high-fidelity HTML-to-PDF conversion, powered by Playwright. It eliminates the need for guesswork in CSS styling and provides a live template editor that supports Handlebars and Jinja2. With its intuitive interface, developers can visualize dynamic JSON data in real-time, debug styles instantly, and integrate with a simple curl command. The platform also includes a free invoice generator and offers a special 'Founder's Deal' for early adopters.
The API simplifies the process of generating PDFs from HTML or URLs with a single POST request. It is built on Playwright and Python, ensuring speed and accuracy. Developers can choose between sending raw HTML or JSON data, making it flexible and easy to use. Additionally, the API offers scalable pricing plans that grow with your needs, starting with free credits for new users.
PDFMyHTML converts HTML or URLs into high-quality PDFs using a single POST request. The API accepts either raw HTML content or JSON input with embedded templates. The system leverages Playwright for rendering, ensuring accurate and consistent output across different environments. Developers can manage templates directly in their dashboard, test them live, and adjust styles in real-time before finalizing the PDF output.
| Benefit | Description |
|---|---|
| Speed | Built on Playwright and Python for optimized performance |
| Simplicity | One endpoint for HTML or JSON input, PDF output |
| Customization | Support for Handlebars and Jinja2 templates |
| Scalability | Competitive pricing with free credits for initial use |
| Integration | Easy to integrate with curl or API clients |
| Flexibility | Supports both raw HTML and templated content |
| Real-time Preview | Live editing and debugging of templates |
| Free Resources | Includes free invoice templates and generators |