render

HTML to PDF

Render an HTML document to a real PDF with headless Chrome (full CSS support). Returns a hosted download URL valid for 24 hours. Free demo: 3 renders per day without a key. With an API key a render costs 25 units from the account's shared monthly balance, the same balance spent by REST calls (1 unit) and AI generations (10 units). Any plan can be extended with a pack from EUR 5.

post/api/v1/render/html-to-pdf

Request

  • Base URL: https://toolforte.com
  • URL: https://toolforte.com/api/v1/render/html-to-pdf
  • Auth: one of:
    • HTTP bearer
    • none

Request body

htmlstring required

Full HTML document to render (max 1MB)

format'A4' | 'Letter'
landscapeboolean

Response

Hosted PDF download URL

Changes

No recorded changes to this operation across all 1 revision of this API.