HTML to PDF API Documentation

Convert web pages, HTML files, or HTML generated by your application to PDF. The API uses a browser engine to render your content, including CSS and JavaScript. Features and use cases.

API and CLI

Use your preferred HTTP client or run conversions from the command line.

Client libraries (SDKs)

Integrate conversions into your application using an official PDFCrowd library.

Tools and integrations

Client Libraries
Install an official PDFCrowd SDK for your language.
Playground
Try the HTML to PDF API in your browser. Best used on desktop.
JavaScript Library
Modify page content and styles during conversion with JavaScript helpers.
AI Coding Agent Guide
Give your coding agent instructions for integrating and troubleshooting PDFCrowd.
Migration from API v1
Update an existing integration to API v2

Reference and troubleshooting

Method Index
Find methods and parameters across languages.
Status Codes
Understand HTTP status codes and PDFCrowd reason codes.
Versioning
Check API and converter version compatibility.
Troubleshooting
Find answers to common integration and conversion problems.