Sign up free

HTML to PDF Converter

Save a web article as a clean PDF without its menus and adverts, or turn HTML files into paginated PDFs.

or drop files here

Accepts HTML

Or paste a web address

Encrypted upload. Files are deleted automatically after 1 hour.

About HTML to PDF

HTML to PDF is for keeping a copy of an online article, a receipt or a set of instructions, to read later or to file as a record, and for turning an HTML report or an email template into something you can print and attach. Paste the address of a public page into the box under the upload button, or upload .html or .htm files. For a web address, What to keep starts in reader view: you get just the article, without menus, sidebars, cookie banners, comments and adverts, headed by its title, a line such as Saved from example.com on 2026-09-29 and the page's address. As on the page keeps the whole page, with the styles written into it, instead. Emails saved as .eml files have their own converter, Email to PDF, which keeps the sender, date and attachment list.

Before a page is laid out, it's cleaned of the things that usually make a PDF fail, and if its own layout still can't be printed, its article is saved in reader view, so you always get a PDF and the result says when that happened. A long encyclopedia article comes out as dozens of pages with its info box table in place. Choose A4 or Letter, portrait or landscape, and upload several HTML files to get one PDF with a bookmark for each. A PDF for each file is a VIP choice. The pictures of a web page are fetched and placed in the PDF, while an uploaded file keeps only the pictures stored inside it. Scripts don't run, so a page that builds its content with JavaScript may come out empty or partial, and pages behind a login or on a private network can't be reached.

How to use HTML to PDF

  1. 1
    Enter a web address

    Paste a public URL starting with http:// or https:// into the box under the upload button and click Convert.

  2. 2
    Or add HTML files

    Choose or drop one or more .html or .htm files. Pictures stored inside a file come along, but pictures saved beside it on your computer can't.

  3. 3
    Choose what to keep

    Leave What to keep on Automatic (reader view for web addresses), or pick Reader view: just the article or As on the page, set the page size and orientation, and click HTML to PDF.

  4. 4
    Download the PDF

    It's named after the HTML file or the website, and several files come as one PDF with a bookmark each.

Why use Cubfile for this

  • Reader view for articles

    Menus, sidebars, cookie banners, comments and adverts are left out, and the article is headed by where and when it was saved.

  • Always a PDF

    The page is cleaned first, and a layout that can't be printed falls back to reader view instead of failing.

  • Several files, one PDF

    Upload a set of HTML files and get one PDF with a bookmark for each.

  • Readable in any language

    Fonts are replaced with ones that include Chinese characters, so no text turns into empty boxes.

FAQ

HTML to PDF: questions and answers

Can HTML to PDF convert any website?
Public pages, yes. Pages that need a login, addresses on a local or private network and content that only appears after JavaScript runs can't be captured. For those, take screenshots and combine them into one file with PNG to PDF.
What does reader view keep?
The article itself, with its headings, paragraphs, lists, tables, quotes and pictures, set in clean, book-like type under its title, the Saved from line and the address. Menus, sidebars, cookie banners, comments and adverts are left out. Choose As on the page when you need the whole page with its own styles.
Are images included when I convert HTML to PDF?
For a web address, yes. Its pictures are fetched and placed in the PDF, leaving out tiny icons and tracking pixels. An uploaded HTML file keeps only the pictures stored inside it, because pictures saved beside it on your computer aren't uploaded with it.
Is this HTML to PDF converter free, and how many files can I add?
Yes. Free accounts get 2 tasks a day and visitors 2 in total, with HTML files up to 50 MB and 20 files per task. VIP has no task limit, takes files up to 1 GB and 50 per task, and can make a PDF for each file.
Is the page I convert stored anywhere?
The fetched page and the PDF are deleted automatically after one hour. Every task runs in an isolated process, and uploads use HTTPS.
Share HTML to PDF with a friendIt runs in any browser, and they can try it without signing up.

Related tools

JPGPDF JPG to PDFCombine photos and scans into one PDF, in the order you choose.
PDFPNG PDF to PNGRender PDF pages as sharp PNG images at the resolution you need.
PDFDOC PDF to WordTurn PDFs into editable Word files, scans included.
DOCPDF Word to PDFConvert DOCX and DOC to PDF with fonts, tables and page numbers intact.
XLSPDF Excel to PDFPrint spreadsheets to PDF with charts, number formats and column widths.
PDFXLS PDF to ExcelPull tables out of PDFs into Excel, merged cells kept.
PDFJPG PDF to JPGSave each page as a JPG, or pull out the images inside.
PDFPPT PDF to PowerPointTurn every PDF page into an editable slide.