HTML to PDF. Convert HTML in your browser
Paste HTML and turn it into a clean, multi-page PDF. Full CSS support, A4 / Letter / Legal page sizes, portrait or landscape. 100% secure, nothing uploaded, nothing stored. No sign-up, no watermark.
- 100% secure and private
- Nothing stored, ever
- A4 / Letter / Legal
- Works offline
PDF options
Page size
Orientation
Margin: 0pt (0mm)
Processed on your device. Your HTML is never uploaded. How we keep it private
- 100% Secure
- No Upload
- No Storage
- No Sign-up
- Works Offline
- No Watermark
All PDF tools
17 free PDF tools: merge, split, compress, convert, rotate, sign, protect and more. Nothing uploaded, ever.
PDF to Word
Convert PDF to editable Word .docx
Merge PDF
Combine multiple PDFs into one file
Image to PDF
JPG, PNG, WebP photos into a PDF
Word to PDF
Turn Word .docx into a clean PDF
Split PDF
Split a PDF by page, range or every N
Compress PDF
Reduce PDF size for email and forms
PDF to JPG
Every PDF page as a high-quality JPG
PDF to Excel
Extract tables into editable .xlsx
PDF to PowerPoint
Turn PDF pages into .pptx slides
Rotate PDF
Rotate pages 90, 180 or 270 degrees
Unlock PDF
Remove the password from a PDF you own
Protect PDF
Add a password to any PDF
Extract Images
Pull every embedded image out
OCR PDF
Read scanned PDFs into editable text
Watermark PDF
Add text watermarks to pages
Sign PDF
Draw or type your signature on a PDF
HTML to PDF
You are hereTurn a web page or HTML into a PDF
How it works
- 1
Paste your HTML
Paste from View Source, a code editor, or write your own. Or try the URL tab.
- 2
Choose page options
A4, Letter or Legal. Portrait or landscape. Adjustable margins.
- 3
Download PDF
Click Convert. Get a clean multi-page PDF. No watermark, no extra branding.
Everything you get for free
100% secure, nothing uploaded
Rendering happens in your browser using html2canvas and jsPDF. Your HTML source never touches a server.
Paste HTML or write your own
Paste from View Source, a code editor, or write your own HTML. Perfect for invoices, reports, receipts and simple documents.
Full CSS support
Inline styles, embedded style tags, flexbox and grid all render. Custom fonts, colors and layouts come through.
Page size and orientation
A4, Letter or Legal. Portrait or landscape. Adjustable margins from 0 to 25mm.
No sign-up, no email, no watermark
Open the page, paste HTML, download. No account, no confirmation email, no watermark on any page.
Works offline
Once the page has cached the libraries, you can switch off WiFi and convert HTML locally.
What people use it for
Invoice from an email
Paste HTML invoice markup and get a printable PDF ready to send.
Report from a web view
Copy a page you built in a browser and save it as PDF for sharing.
Newsletter proof
Turn email HTML into a PDF proof for review before sending.
Certificate and badges
Render HTML certificates or badges to PDF for printing or download.
Template conversion
Turn a document template you have as HTML into a PDF deliverable.
Simple contracts
Paste a contract written in HTML and export a clean, signable PDF.
Questions people ask
Is my HTML uploaded anywhere?
No. Rendering happens entirely in your browser using html2canvas and jsPDF. Nothing is sent to any server.
Is it really 100% secure?
Yes. There is no upload step, no server processing, no temporary storage. Open your browser network tab while you convert. You will not see your HTML being sent anywhere.
Can I convert a URL?
You can try, but almost all websites block cross-origin fetches from the browser (CORS). If fetching fails, open the page, right-click, View Page Source, copy the HTML, and paste it in the "Paste HTML" tab. That always works.
What CSS is supported?
Inline styles, embedded <style> blocks, flexbox, grid, custom fonts, colors, borders and gradients. Very new CSS features may render differently depending on your browser engine.
Does it handle images in the HTML?
Yes, if they are loaded. Remote images (http and https URLs) must be CORS-friendly. Base64-embedded images always work.
Will it paginate automatically?
Yes. The full page is rendered to one tall canvas, then split into page-sized slices. Content flows naturally across pages.
Does the PDF have selectable text?
No. We rasterize the HTML, so text becomes pixels. If you need selectable text, use the original HTML source instead.
Is there a file size limit?
No. iLovePDF caps free users at 5MB. We impose no limit. The practical limit is your device memory.
Does it work on iPhone and Android?
Yes. Safari on iOS and Chrome on Android both work. No app needed.
Does it work offline?
Yes. Once the page has cached the libraries, you can switch off WiFi and convert HTML locally.
Can I add headers and footers?
Not in this version. Page numbers, headers and footers are on our roadmap.
Can I convert multiple HTML documents at once?
Not in this version, one document at a time.
100% secure, nothing stored
Rendering happens entirely in your browser. There is no upload step, no temporary server-side storage, no database, no retention. Open your browser network tab while you use the tool. You will not see your HTML being sent anywhere. Privacy section.