Skip to main content

HTML to PDF

Convert HTML content, HTML files, or web pages to PDF format

Pro
Input Source
Choose how you want to provide HTML content

Enter your HTML content directly in the text area above

PDF Settings
Configure PDF output options

Include background graphics and colors

CSS selector to wait for before generating PDF (useful for dynamic content)

Maximum time to wait for the selector or page load

Show custom header and footer on each page

Use @page CSS rules for page size instead of the settings above

How it works

  • HTML String: Paste your HTML code directly and convert it to PDF
  • HTML File: Upload an HTML file from your computer
  • Web URL: Enter a URL to convert a live web page to PDF

All methods support custom page sizes, orientations, margins, and other PDF settings.