HTML to PDF online converter

Convert HTML to PDF Online

Convert HTML to PDF online in your browser — turn any public URL to PDF, paste your own HTML, or upload an HTML file. This HTML to PDF online converter lets you set page size, orientation, margins, scale and media type, then preview and download the result. It can also put a whole web page on a single PDF page with no page breaks, and scroll through it first so that lazy-loaded images appear. The free demo works without an API key.

HTML to PDF conversion settings

Puts the whole document on one page, as tall as its content, with no page breaks. How single pages work

Scrolls through the page first, so images that load on scroll are in the PDF. It can add up to 12 seconds. How lazy loading works

The demo allows 10 conversions per hour. To convert more or to generate PDFs from your own code, create a free account.

Your PDF preview will appear here after you convert.

Need more than the demo?

This converter is a free demo of the html2pdf.app API. The API accepts the same settings without the demo limits, so you can generate PDFs from your own app or scripts. Usage is counted in credits from your plan.

  1. Create a free account

    The Free plan includes 100 credits every month.

  2. Copy your API key

    Your key is ready on the home page of the dashboard.

  3. Test, then automate

    Try settings in the API playground, then call the API from your code with our code examples.