ScreenshottyScreenshotty
FeaturesDocumentationPricingBlog
URL to PDF

Convert Webpages to PDF

Invoices, reports, archives, and snapshots — render any URL or raw HTML to PDF with the same engine Chrome uses to print.

PDF generation is one of the most common reasons teams reach for a rendering API: archiving pages for compliance, generating invoices and receipts from HTML templates, or letting users export content. Screenshotty renders the page in headless Chrome and returns the PDF with format=application/pdf.

Because you can POST raw HTML as well as URLs, the same endpoint covers both "snapshot this live page" and "render this template I just built" workflows.

Try the free Website to PDF tool
cURL
curl -X POST "https://api.screenshotty.link/api/v1/screenshot" \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/invoice/123",
"format": "application/pdf",
"full_page": true
}' \
--output invoice.pdf

Everything You Need, Built In

URL or raw HTML

Point at a live URL or POST your own HTML and CSS — ideal for invoice and report templates.

Full-page documents

full_page=true captures the entire scrollable page into the document, handling lazy-loaded content.

Async with webhooks

Generate PDFs in bulk and receive a webhook callback when each document is ready — no polling.

Consistent rendering

Web fonts, flexbox, and modern CSS render exactly as in Chrome — no wkhtmltopdf quirks.

Frequently Asked Questions

How do I convert a URL to PDF with an API?

POST the target url with format=application/pdf to https://api.screenshotty.link/api/v1/screenshot. The page is rendered in headless Chrome and returned as a PDF. Get a free API key at screenshotty.link — 100 screenshots per month, no credit card required.

Can I generate PDFs from my own HTML instead of a URL?

Yes. POST an html field instead of url — the API renders your markup (including external CSS and web fonts) and returns the PDF. This is the standard pattern for invoices and reports.

Is there a free tier?

Yes. Screenshotty includes 100 screenshots per month for free with no credit card required. Paid plans start at $9/month for 2,500 screenshots, with pay-as-you-go overage at $0.004 per screenshot.

Does it render JavaScript-heavy pages?

Yes. Every capture runs in a real headless Chrome browser, so single-page apps, lazy-loaded images, and dynamic content render exactly as they do for a real visitor. You can also wait for a specific ready event or add a custom delay with wait_ms.

Start Capturing in Minutes

100 free screenshots per month. No credit card required.

ScreenshottyScreenshotty

Most cost-effective Screenshot API

Product

  • Features
  • Pricing
  • Documentation
  • Blog
  • Compare
  • Alternatives

Free Tools

  • Website Screenshot Tool
  • Website Responsivity Check
  • Website Text Extractor
  • Website to PDF Converter
  • Website Markdown Converter
  • All Free Tools

Developers

  • Python Screenshot API
  • Node.js Screenshot API
  • PHP Screenshot API
  • Full Page Screenshots
  • URL to PDF API
  • API Parameters
  • MCP Server

Legal

  • Privacy Policy
  • Terms of Service

© 2026 Screenshotty. All rights reserved.