HTML to PDF API

Convert web pages and HTML to beautifully formatted PDFs via a simple REST API. Fast rendering, no setup required.

Why Developers Choose DocuQueue

Web Page to PDF

Convert any URL to a pixel-perfect PDF. JavaScript rendering, custom headers, and wait-for-element support.

HTML to PDF Conversion

Pass raw HTML content and get a formatted PDF back. Perfect for reports, invoices, and documents.

Document Generation

Use pre-built templates or create your own. Merge data into PDFs with variables and line items.

Batch Processing

Convert multiple URLs or HTML files in a single API call. Save time and credits.

Fast Rendering

Powered by Chromium for accurate rendering. Complex layouts, fonts, and CSS supported.

Developer Friendly

Simple REST API with API key authentication. SDKs for Python, Node.js, and more.

Convert HTML to PDF in 3 Lines

Simple API calls, powerful results

# Convert a web page to PDF
curl -X POST https://docuqueue.com/api/v1/convert \
  -H "api-key: YOUR_API_KEY" \
  -d '{"urls": ["https://example.com"]}'

# Response: {"job_id": "abc123", "status": "pending"}

# Check status and download
curl https://docuqueue.com/api/v1/status/abc123 \
  -H "api-key: YOUR_API_KEY"

How It Works

1

Send URL or HTML

Pass a web page URL or raw HTML content to our API endpoint.

2

We Render It

Our Chromium-based renderer processes your content with full CSS and JavaScript support.

3

Get Your PDF

Download the generated PDF or save it directly to your storage.

DocuQueue vs Other PDF APIs

Feature DocuQueue PDFShift CloudConvert
HTML to PDF ✅ Fast rendering ✅ Good ✅ Good
Web page to PDF ✅ JavaScript support ✅ Good ✅ Good
Document generation ✅ Templates + variables
Batch processing ✅ 50+ per call ✅ Limited ✅ Good
Free tier ✅ 25 credits/mo
Starting price $9/mo $19/mo $8/mo

Frequently Asked Questions

How fast is the HTML to PDF conversion?

Most conversions complete in under 5 seconds. Complex pages with heavy JavaScript may take slightly longer.

Does it support JavaScript rendering?

Yes. We use Chromium for rendering, so JavaScript-heavy pages, SPAs, and dynamic content are fully supported.

Can I convert multiple URLs at once?

Yes. Our batch endpoint supports up to 50 URLs per request, all processed in parallel.

What file formats are supported?

We convert HTML, URLs, and raw HTML content to PDF. Output is always high-quality PDF.

Is there a free tier?

Yes. You get 25 free credits per month. Each conversion uses 1 credit.

Do I need to install anything?

No. It's a REST API — just make HTTP requests. No SDK required, though we have one for convenience.

Start Converting HTML to PDF Today

Free tier with 25 credits. No credit card required.

Try it free — no card needed