PDF

Convert an HTML document to PDF (A4/Letter, landscape) with Korean font support. Returns file_base64

post/api/html-to-pdf

Request

  • Base URL: https://toolsthatdontupload.com
  • URL: https://toolsthatdontupload.com/api/html-to-pdf
  • Auth: one of:
    • none
    • API key in header X-API-Key

Request body

htmlstring required

HTML document (max 2 MB). Scripts are removed; external URLs are not loaded.

format'A4' | 'A3' | 'A5' | 'Letter' | 'Legal'
landscapeboolean
filenamestring

Example request

{
  "html": "<h1>견적서</h1><p>합계: 일금 일백만원정</p>"
}

Response

PDF file (application/pdf)

Changes

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