Playground

Try it in the browser

Real calls against the live API. Bring your own key — requests are billed to your wallet like any other call.

Rendered by Chromium with print background on. Same options as POST /v1/pdf.

Stored only in your browser.

Generate to preview the file here.

Prefer curl?

The exact request the playground makes, with your current source:

curl -X POST https://api.relaypdf.com/v1/pdf \
  -H "Authorization: Bearer pdf_live_…" \
  -H "Content-Type: application/json" \
  -d '{
    "html": "<h1>Invoice #1042</h1> <p>Acme Corp — March 2025</p> <table> <tr><th>Ite …",
    "filename": "invoice.pdf"
  }' \
  --output invoice.pdf