Convert HTML to PDF via API

Send raw HTML or a URL and get a pixel-perfect PDF back. Headless Chromium rendering with custom page size and margins. Replace wkhtmltopdf and Puppeteer scripts with one API call.

2 Credits per request
A4, Letter Page sizes
Custom Margins

HTML in, PDF out

Terminal
$ curl -X POST "https://qkconvert.dev/api/v1/web/html-to-pdf" \
  -H "Authorization: Bearer sk_live_..." \
  -F "file=@page.html" \
  -o output.pdf

# 200 OK

Start converting HTML in seconds

Free tier includes 500 credits per month. No credit card required.

Create Free Account