pdfmyhtml vs DocRaptor
DocRaptor is the premium PrinceXML-powered choice for complex print typesetting; pdfmyhtml is the Playwright-powered choice for modern web fidelity.
Last verified: 2026-05-10 · DocRaptor homepage ↗
Pricing snapshot
pdfmyhtml
$0 / $9.50 / $24.50 (Founder's Deal)
Free tier permanent · Founder's Deal locked through 2026 · On-Demand Pass $7 one-time / 1,000 credits never expire.
DocRaptor
Unlimited watermarked test docs free (no signup)
Free tier: Unlimited test PDFs (watermarked, no signup required). Full ladder: Unlimited watermarked test docs free (no signup) · paid plans starting ~$15/mo · enterprise SLA, SOC2, HIPAA compliance.
Feature comparison
| Feature | pdfmyhtml | Them |
|---|---|---|
| Engine | Playwright (Chromium) — modern web fidelity | PrinceXML — best-in-class for complex print |
| Best for | Invoices, receipts, reports, certificates with modern web design | Books, catalogs, accessible PDFs (PDF/UA), academic docs |
| Compliance | No SOC2/HIPAA | SOC2, HIPAA |
| Uptime SLA | No published SLA | 99.99% uptime guarantee |
| Mixed page sizes / orientations | Single page format per PDF (A4) | ✓ Mixed sizes within one document |
| PDF accessibility (PDF/UA) | Standard tagged PDF | ✓ Full PDF/UA tagged accessible PDFs |
| Entry price | $0 (Hobby) / $9.50 (Founder's Starter) | ~$15/mo entry plan |
| Free tier model | 50 free credits/mo, real production use | Unlimited test (watermarked); production needs paid |
When to pick DocRaptor
Pick DocRaptor if you need HIPAA or SOC2 compliance for healthcare/finance, OR if you generate complex print documents (books, catalogs, academic papers) that require advanced page-break control, mixed page sizes, or PDF/UA accessibility.
When to pick pdfmyhtml
Pick pdfmyhtml if you generate modern web-styled documents (invoices, receipts, dashboards, reports) at indie/startup pricing without enterprise compliance overhead.
Code: same PDF, both APIs
DocRaptor
# DocRaptor — convert HTML to PDF (Ruby example)
require 'docraptor'
response = DocRaptor.create_pdf({
document_content: '<h1>Invoice</h1>',
user_credentials: 'YOUR_API_KEY',
type: 'pdf',
test: true
})
File.binwrite('invoice.pdf', response)pdfmyhtml
# pdfmyhtml — same PDF, different API
curl -X POST https://api.pdfmyhtml.com/v1/html-to-pdf \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "html": "<h1>Invoice</h1>", "wait": true }'
# Returns:
# { "job_id": "...", "status": "COMPLETED",
# "download_url": "https://s3.../output.pdf?signature=..." }Note: DocRaptor pioneered HTML→PDF and runs on PrinceXML (since 2003). Its rendering engine is genuinely superior for complex pagination scenarios. pdfmyhtml uses headless Chromium, which is better for modern web layouts but lacks Prince's advanced print primitives.
Try pdfmyhtml free
50 credits, no credit card. Founder's Deal: $9.50/mo for 2,500 PDFs (only 50 spots).