# HTML2PDFAPI
> HTML2PDFAPI is a cloud-based API service that converts HTML content and URLs to PDF documents, screenshots (PNG/JPEG), and videos. It offers a simple REST API with support for JavaScript rendering, custom styling, S3 integration, and high-volume processing.
## Key Features
- Convert HTML or URLs to PDF, PNG, JPEG, or video
- Full JavaScript/CSS rendering via headless Chromium
- Direct S3 bucket integration for file storage
- Custom headers, cookies, and authentication support
- Page formatting options (margins, page size, orientation)
- Device emulation for responsive captures
- Webhook notifications for async processing
- Rate limiting and quota management per plan
## Pricing
- Free: 50 conversions/month, 5 req/min
- Pro ($17/mo): 5,000 conversions/month, 100 req/min
- Business ($47/mo): 25,000 conversions/month, 150 req/min
- Enterprise ($147/mo): 100,000 conversions/month, 200 req/min
## Documentation
- [API Documentation](https://html2pdfapi.com/docs): Complete API reference with endpoints, parameters, and response formats
- [Interactive Playground](https://html2pdfapi.com/playground): Test the API directly in your browser without code
## Integration Guides
- [Node.js / JavaScript Integration](https://html2pdfapi.com/integrations/javascript-nodejs): How to use HTML2PDFAPI with Node.js and JavaScript
- [Python Integration](https://html2pdfapi.com/integrations/python): How to use HTML2PDFAPI with Python
- [PHP Integration](https://html2pdfapi.com/integrations/php): How to use HTML2PDFAPI with PHP
- [Ruby Integration](https://html2pdfapi.com/integrations/ruby): How to use HTML2PDFAPI with Ruby
- [Go Integration](https://html2pdfapi.com/integrations/go): How to use HTML2PDFAPI with Go
- [cURL Examples](https://html2pdfapi.com/integrations/curl): Command-line examples using cURL
- [n8n Integration](https://html2pdfapi.com/integrations/n8n): How to use HTML2PDFAPI with n8n workflow automation
## Use Cases
- [Invoice Generation](https://html2pdfapi.com/use-cases/invoice-generation): Generate PDF invoices from HTML templates
- [Report Generation](https://html2pdfapi.com/use-cases/report-generation): Create automated PDF reports
- [Receipt Generation](https://html2pdfapi.com/use-cases/receipt-generation): Generate e-commerce receipts as PDFs
- [Ticket Generation](https://html2pdfapi.com/use-cases/ticket-generation): Create event tickets and boarding passes
- [Certificate Generation](https://html2pdfapi.com/use-cases/certificate-generation): Generate certificates and awards
- [Documentation Export](https://html2pdfapi.com/use-cases/documentation-export): Export documentation to PDF format
## Tutorials
- [n8n Integration Guide](https://html2pdfapi.com/n8n-guide): Step-by-step tutorial for n8n workflows
## Comparisons
- [HTML2PDFAPI vs DocRaptor](https://html2pdfapi.com/compare/vs-docraptor)
- [HTML2PDFAPI vs PDFShift](https://html2pdfapi.com/compare/vs-pdfshift)
- [HTML2PDFAPI vs Puppeteer](https://html2pdfapi.com/compare/vs-puppeteer)
- [HTML2PDFAPI vs wkhtmltopdf](https://html2pdfapi.com/compare/vs-wkhtmltopdf)
- [HTML2PDFAPI vs pdfcrowd](https://html2pdfapi.com/compare/vs-pdfcrowd)
- [HTML2PDFAPI vs Prince XML](https://html2pdfapi.com/compare/vs-prince-xml)
- [HTML2PDFAPI vs ScreenshotOne](https://html2pdfapi.com/compare/vs-screenshotone)
## Blog
- [undefined](https://html2pdfapi.com/blog/how-to-convert-html-to-pdf-for-e-commerce-invoices)
- [undefined](https://html2pdfapi.com/blog/using-puppeteer-for-javascript-rendering-in-pdfs)
- [undefined](https://html2pdfapi.com/blog/pdf-generation-api-vs-manual-conversion-which-wins)
- [undefined](https://html2pdfapi.com/blog/dynamic-content-rendering-4-scalability-tips)
- [undefined](https://html2pdfapi.com/blog/document-generation-apis-top-8-features-to-compare)
- [undefined](https://html2pdfapi.com/blog/javascript-pdf-rendering-5-common-issues-fixed)
- [undefined](https://html2pdfapi.com/blog/how-to-convert-html-to-pdf-using-rest-api)
- [undefined](https://html2pdfapi.com/blog/html-to-pdf-api-7-best-tools-for-developers)
- [undefined](https://html2pdfapi.com/blog/s3-file-storage-integration-complete-developer-guide)
## Optional
- [Privacy Notice](https://html2pdfapi.com/privacy-notice)
- [Terms of Service](https://html2pdfapi.com/terms-of-service)
- [Refund Policy](https://html2pdfapi.com/refund-policy)
- [Cookie Policy](https://html2pdfapi.com/cookie-policy)