URL to PDF
TL;DR: Convert URL to PDF with ForgeKit's API. Full CSS and JavaScript rendering, async jobs, and webhook callbacks.
Try URL to PDF
Overview
Capture any public webpage as PDF with JavaScript rendering.
ForgeKit renders URL 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
| Metric | Value |
|---|---|
| Avg conversion time | 2.8s |
| Max file size | 50 MB |
| Credits per conversion | 2 |
| Supported input | URL |
Use cases
- Automated report generation from URL sources
- Invoice and document archival pipelines
- Scheduled PDF exports in CI/CD workflows
- Agent-driven document creation via MCP tools