How to Convert HTML or a Saved Web Page to PDF
A PDF keeps a web page exactly as it was on the day you saved it. That is useful for receipts, tickets, newsletters and pages you want to read offline. PDFMasala shows the page in your browser and turns it into a PDF.
Convert an HTML file, step by step
- Open HTML to PDF and drop your .html file.
- Saved web page? Select the .html file together with the files from its folder, so the styles and pictures load.
- Check the live preview and choose the paper size, or one long page.
- Create the PDF and download it.
Convert pasted HTML code
- Choose "Paste HTML Code".
- Paste the code. The preview shows the result straight away.
- Choose the paper size and create the PDF.
Tips
- For text you can select and copy in the PDF, use "Print / Save as PDF". The normal button makes an exact picture of each page.
- Missing pictures? They are separate files. Select them together with the HTML file.
- For saved pages, try the clean-up options to block ads and remove pop-ups before converting.
Frequently asked questions
Is my file uploaded?
No. The HTML is shown and converted inside your own browser.
Which paper sizes can I use?
A4, Letter and other sizes, or one long continuous page.
More guides
- How to Rename Many PDF Files at Once
- How to Compare Two PDFs and See What Changed
- How to Compress a PDF to 200 KB for Exam Forms
- How to Compress a PDF and Reduce Its File Size
- How to Convert a Bank Statement PDF to Excel
- How to Edit and Sign a PDF Online for Free
- How to Make a Scanned PDF Clearer
- How to Convert Excel to PDF
- How to Extract and Search Text in a PDF
- How to Fill in a PDF Form
- How to Flatten a PDF
- How to Convert a PDF to Grayscale or Black and White
- How to Convert Images (JPG, PNG) to PDF
- How to Convert a Photo or Screenshot of a Table to Excel
- How to Listen to a PDF: Have It Read Aloud
- How to Merge PDF Files into One
- How to Make a Scanned PDF Searchable (OCR)
- How to Reorder, Rotate and Delete PDF Pages
- How to Add Page Numbers to a PDF
- How to Change the Title, Author and Keywords of a PDF
- How to Fill an Excel Sheet from PDFs
- How to Convert PDF to Excel
- How to Convert PDF Pages to JPG or PNG Images
- How to Convert PDF to PowerPoint
- How to Convert PDF to Word (DOCX)
- How to Convert PowerPoint to PDF
- Why PDFMasala Never Uploads Your Files
- How to Password Protect a PDF
- How to Redact a PDF and Hide Private Details
- How to Repair a PDF That Will Not Open
- How to Split a PDF into Separate Files
- How to Split a Word Document by Pages
- How to Translate a PDF into Bengali, Hindi or English
- How to Crop a PDF and Remove Blank Pages
- How to Remove a Password from a PDF
- How to Validate and Verify PDF Digital Signatures
- How to Add a Watermark and Page Numbers to a PDF
- How to Convert Word to PDF