Skip to main content
Generate PDF documents from any web page.

Basic PDF

Paper Size, Margins and Headers

/pdf accepts print options on top of the shared capture options:
See all PDF options.

Download PDF Directly

Get the raw PDF file instead of a JSON response:

PDF Features

  • Vector text - Text is selectable and searchable
  • Links preserved - Clickable links work in the PDF
  • Print-ready - Suitable for printing
  • Accurate rendering - Matches browser display

Use Cases

  • Invoices - Generate printable invoices from web apps
  • Reports - Convert dashboards to PDF reports
  • Documentation - Export docs for offline reading
  • Archives - Long-term document preservation

Best Practices

For best PDF results:
  1. Wait for content - Use networkidle for dynamic pages
  2. Increase timeout - Complex pages need more time
  3. Test print styles - Check @media print CSS