PDF API FREE

Convert URLs, HTML, and Markdown to PDF. Merge PDFs. No API key required.

Endpoints

GET /url-to-pdf?url=https://example.com
Convert any webpage to PDF. Returns PDF file.
POST /html-to-pdf
Convert raw HTML to PDF. Send HTML as form field or request body.
POST /md-to-pdf
Convert Markdown to styled PDF. Supports tables, code blocks, and standard markdown.
POST /merge-pdf
Merge 2+ PDF files into one. Send as multipart form upload.

Examples

# URL to PDF
curl -o page.pdf "https://forge-node.tail2b516d.ts.net/url-to-pdf?url=https://example.com"

# HTML to PDF
curl -X POST -d '<h1>Hello</h1><p>World</p>' \
  -o output.pdf https://forge-node.tail2b516d.ts.net/html-to-pdf

# Markdown to PDF
curl -X POST -F "md=# My Document" \
  -o output.pdf https://forge-node.tail2b516d.ts.net/md-to-pdf

# Merge PDFs
curl -X POST -F "files=@doc1.pdf" -F "files=@doc2.pdf" \
  -o merged.pdf https://forge-node.tail2b516d.ts.net/merge-pdf

Try It -- URL to PDF

Rate Limits

20 conversions per minute, 10 merges per minute. No API key required.

Part of the Forge API Suite

Free APIs: Screenshot API | Transcription API | QR Code API | PDF API