Skip to Content

HTML to PDF

Convert web pages and HTML content to PDF documents.

Converting a URL

  1. Click ConvertHTML to PDF
  2. Enter the web page URL
  3. Configure settings
  4. Click Convert

Page Settings

Page Size

  • Letter (8.5” x 11”)
  • A4 (210mm x 297mm)
  • Legal (8.5” x 14”)
  • Custom dimensions

Orientation

  • Portrait: Vertical
  • Landscape: Horizontal (better for wide content)

Margins

Set margins for each side:

  • Top, Bottom, Left, Right
  • Use consistent margins for professional look

Scale

Adjust how content fits the page:

  • Auto: Best fit
  • Custom: Percentage (50% - 200%)

Conversion Options

Headers & Footers

Add headers/footers to the PDF:

  • Page URL
  • Page title
  • Page numbers
  • Date

Background

  • Include backgrounds: Capture CSS backgrounds
  • Exclude backgrounds: White background only

Images

  • Include images: Full rendering
  • Exclude images: Text only
  • Use print CSS: If available
  • Use screen CSS: As displayed in browser

Handling Dynamic Content

Wait for Load

For pages with JavaScript:

  1. Enable Wait for JavaScript
  2. Set timeout (default: 5 seconds)
  3. Content loads before capture

Login Required

For authenticated pages:

  1. Log in manually in browser
  2. Export cookies
  3. Use cookies in conversion

Multiple Pages

Single URL

Creates one PDF from the page.

Multiple URLs

  1. Enter multiple URLs (one per line)
  2. Choose:
    • Combined: All pages in one PDF
    • Separate: Individual PDFs

Limitations

  • JavaScript-heavy sites may not render perfectly
  • Some dynamic content may not capture
  • Login-required pages need authentication
  • Very long pages may be split

Tips

  • Use print preview to check before converting
  • Try landscape for wide tables
  • Adjust scale for better fit
  • Test with different page sizes

Next Steps

Last updated on