HTML to PDF Converter Online, Free

Turn an .html file into a clean PDF with real, selectable text. Headings and tables carry over onto plain A4 pages, with no fee and no signup.

Your files never leave your device

What makes it onto the page

HTML

Tagged web code

PDF

Clean text pages

Comes across well

  • Headings, in three bold sizes
  • Paragraphs and bullet lists
  • Tables with borders and a repeating header
  • Text you can select and search

Worth a check

  • CSS styles and web fonts: not applied
  • Images and links: left out, link text stays
  • Numbered and nested lists: become one level of bullets
  • Emoji and non-Western scripts: conversion stops

How each part of your HTML appears in the PDF

The converter keeps your content and its structure, and swaps the page design for a simple, readable layout.

In your HTMLIn the PDFGood to know
Headings (h1 to h6)Bold headingsh1 is largest, then h2. Levels h3 to h6 share the third size.
Paragraphs and quotes12 pt body textBold and italic words print as plain text. A line break inside a paragraph is dropped.
ListsBullet pointsNumbered lists get bullets too. Nested items join the line above them.
TablesBordered gridA header row repeats on each new page. Cells merged across columns stay merged. Cells merged down rows do not.
Images, links and stylesLeft outLink text stays as plain words. Script or style code placed in the page body prints as text.

Every PDF uses A4 portrait pages with margins of about 1.8 cm (0.7 inch), Helvetica for text and Courier for code.

How to convert HTML to PDF online

  1. Add your HTML file

    Drop one .html or .htm file on the box above, or click to pick it.

  2. Check the source preview

    The editor shows the first 600 characters of your file's code, so you can confirm you picked the right one.

  3. Click Convert

    LuraPDF reads the text and tags in your file and lays them out in reading order. A new page starts when the text fills one.

  4. Download the PDF

    Click Download. Your PDF has the same name as your HTML file, with no watermark.

Turn HTML into a clean, readable PDF

An HTML file is code: text wrapped in tags, plus styles and scripts. LuraPDF keeps the part people read. That content is placed on tidy A4 pages, and the styling is left behind.

It suits saved articles and reports exported as HTML. Writing new content? Markdown to PDF turns a Markdown file into a PDF with the same clean layout.

The text of a web page turned into a PDF page

When it helps

Keep a reading copy

Save an article as HTML from your browser, then convert it into a plain PDF you can read offline or print.

Share an exported report

Many apps export reports as HTML tables. Convert one into a PDF with bordered tables that anyone can open.

File records and policies

Store HTML policies, notices or terms as PDF so the wording is fixed and easy to file.

Review web copy

See a page's words without the design, so editors can check spelling and flow before launch.

What the converter keeps

  • Scripts never run. The converter reads only the text and tags in your file. It ignores CSS styles and never runs script code.
  • Tables with borders. Tables become bordered grids. A header row is shaded and repeats at the top of each new page.
  • Pages laid out for you. Long files flow onto as many A4 pages as they need. Margins and fonts are set for you.
  • Free, no signup. Files up to 100 MB convert without an account or a daily limit, and the PDF carries no watermark.

HTML to PDF: LuraPDF and other options

FeatureLuraPDFUpload-based websitesDesktop apps
PrivacyFile stays on your deviceFile goes to a remote serverLocal, after you install
CostFree, no usage limitsFree plans often have limitsUsually paid
Page design and imagesText and tables onlyOften keptOften kept
SignupNoneOften needed to downloadLicense or account

Frequently asked questions

How do I convert an HTML file to PDF for free?

Drop your .html or .htm file on the box at the top of this page, click Convert, then click Download. Files can be up to 100 MB.

Does the PDF keep my CSS styles and layout?

No. The converter ignores CSS. Every PDF uses the same clean layout: black Helvetica text on A4 pages.

Can I convert a web page URL to PDF?

Not directly. There is no box for a web address. Save the page as an HTML file from your browser, then drop that file here. Menu and footer text prints too, so delete it from the file if you only want the article.

Are images kept in the PDF?

No. Pictures and charts are left out, and so is their alt text. The PDF holds text and tables only.

What is the best way to convert HTML to PDF?

To keep the words and tables in a clean, readable file, use this converter. To keep the exact look of a page, open it in your browser, choose Print and save it as a PDF.

Can I paste HTML code instead of uploading a file?

No. Paste the code into any text editor, save it with an .html ending, then drop that file here.

Which languages and characters work?

English and Western European text works, including accented letters and the euro sign. Cyrillic, Greek, Arabic, Chinese and Japanese stop the conversion with an error. So do some Central European letters, like ł and ř, and symbols such as arrows or emoji.

Ready to convert HTML to PDF?

Drop your .html or .htm file in the box above and click Convert.

Choose files