FForgeKit

HTML to PDF

TL;DR: Convert HTML to PDF with ForgeKit's API. Full CSS and JavaScript rendering, async jobs, and webhook callbacks.

Try HTML to PDF

Overview

Convert HTML documents and snippets to print-ready PDF with full CSS support.

ForgeKit renders HTML content through headless Chrome, producing print-ready PDFs with accurate fonts, layouts, and JavaScript-generated content.

API example

curl -X POST https://useforgekit.dev/api/v1/pdf \
  -H "Authorization: Bearer fk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "format": "A4"}'

Format benchmarks

MetricValue
Avg conversion time2.8s
Max file size50 MB
Credits per conversion2
Supported inputHTML

Use cases

  • Automated report generation from HTML sources
  • Invoice and document archival pipelines
  • Scheduled PDF exports in CI/CD workflows
  • Agent-driven document creation via MCP tools

Try the PDF tool · Get API key