Convert any webpage, URL, or HTML code to a pixel-perfect PDF
WhiskFile HTML to PDF is a free online tool to convert any webpage, URL, or HTML code to a pixel-perfect PDF. Files are processed entirely in your browser — nothing is uploaded to any server.
Quick Answer
Convert any webpage, URL, or HTML code to a pixel-perfect PDF. WhiskFile's HTML to PDF is free, works in your browser, and requires no account. Your files never leave your device — all processing happens locally.
Choose input mode
Select Website URL to convert a live webpage, HTML Code to paste raw HTML, or Upload HTML to convert a local .html file.
Enter content
Type or paste the URL, HTML code, or select your HTML file. URLs are automatically prefixed with https:// if needed.
Open PDF options
Click PDF Options to customize page size (A4, Letter, Legal, A3, A5, Tabloid), orientation (portrait or landscape), and margins (0-40mm).
Set headers and footers
Optionally add custom HTML headers and footers. Use the pageNumber and totalPages CSS classes for automatic page numbering.
Convert to PDF
Click Convert to PDF. The page is rendered with full JavaScript and CSS using Chromium, including lazy images and web fonts.
Download
Download your converted PDF. The file is stored temporarily and auto-deleted for privacy.
Max file size: 50 MB (free) · 500 MB (paid). Processing time: ~15s on average. Upload one file at a time.
HTML to PDF runs entirely in your browser — no software to install. Works on any device with a modern browser.
Windows & Mac
Chrome, Firefox, Edge, Safari
iPhone & Android
Safari, Chrome mobile
iPad & Tablets
Full touch support
Unlike server-based tools that upload your documents, WhiskFile processes everything locally in your browser. Your files never leave your device — not even temporarily.
No upload required
Files are processed in your browser — nothing is sent to any server
100% private
No server storage, no data collection, no third-party access
Works offline
Once loaded, works without an internet connection
“Converting presentations to PDF for clients is seamless. The formatting stays perfect every time.”
Lisa Thompson
Marketing Manager
“I convert Excel reports to PDF daily. WhiskFile keeps my tables and charts looking exactly right.”
Alex Rivera
Data Analyst
Help us improve by sharing your experience with HTML to PDF.
Client-side processing
This tool now runs entirely in your browser — files never leave your device.
Result preview & sharing
Preview your processed file before downloading, and share results via a secure link.
Any publicly accessible HTTP/HTTPS URL. Private, localhost, or login-gated pages cannot be accessed for security reasons.
Yes. Pages are fully rendered with JavaScript using a headless Chromium browser before PDF generation, so dynamic content, SPAs, and frameworks like React render correctly.
Yes. Use the HTML Code tab to paste raw HTML, or upload an .html file. Both support embedded CSS and inline styles.
Yes. Choose from A3, A4, A5, Letter, Legal, or Tabloid. Set portrait or landscape orientation. Adjust margins from 0mm to 40mm.
Yes. Use the header/footer template fields with the pageNumber and totalPages CSS classes for dynamic numbering.
Yes, by default. You can toggle this off if you prefer a print-friendly version without backgrounds.
Yes. The converter auto-scrolls the page to trigger lazy-loaded images and IntersectionObserver content before generating the PDF.
Yes. Common cookie consent and GDPR banners are automatically dismissed or hidden so they don't appear in your PDF.
Yes. The converter waits for all custom web fonts (Google Fonts, Adobe Fonts, etc.) to finish loading before generating the PDF.
Yes. Use the scale slider from 10% to 200% to shrink or enlarge the page content in the PDF output.
No. There are no limits on the number of pages in the output PDF. Long webpages are automatically paginated.
Most conversions complete in 5-15 seconds. Complex pages with heavy JavaScript or many images may take up to 45 seconds.
Yes. URLs are validated against SSRF attacks (private networks are blocked). Your converted PDF is stored temporarily and auto-deleted.
Yes. HTML to PDF on WhiskFile is completely free with no account required. Free users get 7 tasks per day with files up to 50 MB. There are no watermarks on any plan. Pro plans ($4.99/month) unlock unlimited tasks, 500 MB files, batch processing, and API access.
Yes. HTML to PDF works on any device with a modern browser — iPhone, Android, iPad, tablets, Chromebooks, and desktop computers. No app download required. The interface adapts to your screen size automatically.
HTML to PDF accepts URL, HTML files as input and produces PDF output. The maximum file size is 50 MB on the free plan (500 MB for Pro users). There are no page count limits.
See how WhiskFile compares to other PDF tools on features, pricing, and privacy.
Chromebook & Linux
Any modern browser