HTML to PDF API Documentation

Convert a URL, HTML file, or HTML string to PDF. Customize page size, margins, headers, footers, and other output settings.

SDKs and interfaces

Guides cover setup and your first conversion. Examples show common tasks. References describe methods, parameters, and accepted values.

Language / interface Guide Examples Reference
HTTP API Guide Examples Reference
PHP Guide Examples Reference
Java Guide Examples Reference
.NET Guide Examples Reference
Python Guide Examples Reference
Node.js Guide Examples Reference
Ruby Guide Examples Reference
Go Guide Examples Reference
Command line Guide Examples Reference

Tools and integrations

Client Libraries
Install an official PDFCrowd SDK for your language.
Playground
Try the HTML to PDF API in your browser.
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.

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.