thatAPI - HTML to PDF
The HTML to PDF Generator API converts HTML content to PDF documents with full CSS support. Pass a URL or raw HTML and get back a base64-encoded PDF. Key Features: - Page sizes: A4, A3, Letter, Legal - Orientation: portrait or landscape - Custom margins: top, bottom, left, right (CSS units: cm, mm, in, px) - Full CSS support: flexbox, grid, web fonts, tables, images, backgrounds - CSS @page…
thatAPI - HTML to PDF endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
Convert to PDF /v1/html-to-pdf/convert |
Convert HTML or a URL to PDF. Returns base64-encoded PDF, page count, file size, and title. Supports page size, orientation, and custom margins. |