HTML to PDF Converter Online, Free

Turn an .html file into a clean PDF with real, selectable text. Headings, lists and tables come across on plain A4 pages. No upload, no signup, no watermark.

Your files never leave your device

What comes across from HTML to PDF

HTML

Tagged web code

PDF

Clean text pages

Comes across well

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

Worth a check

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

How each part of your HTML appears in the PDF

The converter keeps your content and its structure. The page design is replaced with 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. Starting from a website? Save the page as an HTML file from your browser first.

  2. Skip the setup

    There are no settings to choose. Every PDF uses A4 pages, even margins and standard fonts.

  3. 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.

  4. Click Convert

    LuraPDF reads the text and tags in your file and lays them out in reading order. New pages are added as the text fills each one.

  5. 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. Converting HTML to PDF with LuraPDF keeps the part people read. Headings, paragraphs, lists and tables are placed on tidy A4 pages, and the styling is left behind.

That makes it a good fit for saved articles, help pages and reports exported as HTML. Your file stays on your device the whole time. 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 people convert HTML to PDF

Most HTML to PDF jobs start with a file that needs to be read, shared or kept. Here are common examples.

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.

Save help pages

Turn saved help and documentation pages into PDFs you can search and read without a connection.

Print class handouts

Convert lesson text and reading lists saved as HTML into handouts that print cleanly on A4.

Review web copy

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

What the HTML to PDF converter keeps

  • Stays on your device. Your HTML file is converted inside your browser. It is never uploaded, logged or stored.
  • Headings, paragraphs and lists. Headings print in bold at three sizes. Paragraphs, quotes and list items follow in the same order as your file.
  • Tables with borders. Tables become bordered grids. A header row is shaded and repeats at the top of each new page.
  • Real text, not a picture. The PDF holds real text. You can select it, copy it and search it in any PDF reader.
  • 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. No account, no daily limit and no watermark. Files can be up to 100 MB.

Why save HTML as a PDF

A web page changes or disappears. A PDF stays the same. Here is what the converted file gives you.

  • One file that opens the same way on any phone or computer.
  • Text you can search, select and copy, because it is real text.
  • A plain layout that is easy to read, with no colours, background images or animations.
  • Tables that stay readable across pages, with the header repeated.
  • A file that prints on A4 without fiddling with print settings.
  • No watermark, no account and no page cap.

How HTML to PDF conversion works

LuraPDF reads the tags in your HTML file inside your browser. It picks out headings, paragraphs, quotes, list items and tables, in the order they appear. Styles are ignored and scripts never run.

Each piece of text is then typed onto A4 pages in standard fonts. Headings are bold and larger, and tables get borders. When a page fills up, a new one starts. The finished PDF downloads straight to your device.

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. It's free, with no signup and no watermark. Files can be up to 100 MB.

Does the PDF keep my CSS styles and layout?

No. The converter keeps your text and its structure, not the design. Colours, fonts, columns and spacing from CSS are not applied. 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. You get the page text, headings and tables, without the design or images.

Are images kept in the PDF?

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

Are links clickable in the PDF?

No. The words of each link stay in the text, but the web address is not kept. If a link matters, write the full address into the text before you convert.

What is the best way to convert HTML to PDF?

It depends on what you need. 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, curly quotes 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, check marks and emoji.

What page size and margins does the PDF use?

A4 in portrait, with margins of about 1.8 cm (0.7 inch) on every side. Body text is 12 pt. These settings are fixed, so there is no Letter size or landscape option.

Is there a watermark or a page limit?

Neither. The PDF has no watermark, and long files simply get more pages. The only limit is a file size of 100 MB.

Tips for a cleaner HTML to PDF result

A few small fixes to the HTML file make the PDF read better.

  • Starting from a website? Save the page as an HTML file. Menu and footer text prints too, so delete it from the file if you only want the article.
  • Keep text inside paragraph and heading tags. Loose text in a div that mixes in bold words or links is split onto separate lines.
  • Remove script and style blocks from the page body before converting. Their code would print as text.
  • Replace arrows, check marks and emoji with plain words. Those characters stop the conversion.
  • Code blocks print in a fixed-width font, but their line breaks are joined. Check code samples in the PDF before you share it.
  • Converting several pages? Convert each HTML file, then join the PDFs into one with Merge PDF.

Ready to convert HTML to PDF?

Free and private. No upload, no signup, no watermark. Drop your HTML file in the box above to start.

Choose files