Skip to content

HTML to PDF

Convert HTML files or raw HTML code into professional-quality PDF documents for free. Preserves styles and layout.

2 credits per conversionOutput: .pdfTry on web

Accepted formats

.html

Code example

curl -X POST "https://gurupdf.com/api/v1/convert/html-to-pdf" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "files[]=@/path/to/document.pdf"

Related tools