---
title: "HTML to PDF: free, no upload | Docsi"
description: "Convert an HTML file to PDF: headings, paragraphs, lists, tables and code become readable A4 pages. A document converter, not a browser print. Try it here."
url: https://docsi.si/tools/html-to-pdf/
updated: 2026-11-19
---

[Docsi](https://docsi.si/) / [Tools](https://docsi.si/tools/) / [Documents](https://docsi.si/tools/#documents)

# HTML to PDF

Turn an HTML file into a tidy, readable PDF. Docsi reads the page's structure, headings, paragraphs, lists, tables, quotes, preformatted code and embedded images, and sets it as a plain document on A4 pages. It does not imitate a browser: styles and scripts are ignored, which is what makes it good for exported notes, documentation and saved articles. The file is read in your browser and never uploaded.

Documents

Up to 2 GB a file.

**Runs on**: Your device

**Files uploaded**: None

**Price**: Free

**Account**: Not needed

**Works offline**: Yes

**Updated**: 19 November 2026

## How to convert HTML to PDF

1. **Add your HTML file above** Drop it on the box or choose it from your device. It is opened locally and is not uploaded.
2. **Set the options** Adjust margin, orientation, paper, or keep the defaults.
3. **Download the result** It appears on this page when the work is done. Nothing to install, no account, no watermark.

## Why convert HTML to PDF

**Archiving exported notes or docs**: Many apps export to HTML. Converting the export gives you a paginated document you can file, print or search, without the app or its stylesheet.

**Printing an email or report saved as HTML**: Reports from older systems and saved emails often come as .html files. As a PDF they print cleanly, without navigation bars or scripts.

**Reading documentation offline**: A single-page HTML manual turns into a PDF you can annotate and keep with your other documents.

## HTML and PDF, briefly

**HTML**: HTML marks up text with tags such as h1, p, ul and table. How it looks comes from CSS, often in separate files, and images are usually separate files too, linked by address.

**PDF**: A PDF has pages of a fixed size, so long HTML is broken into pages and every line has a set place.

## What carries over, and what does not

**Structure and emphasis**: Six levels of headings, paragraphs, block quotes, bulleted and numbered lists, bold, italic, underline, inline code, preformatted blocks, horizontal rules and line breaks are all laid out. Common entities such as &nbsp; and &mdash; are decoded.

**Tables and links**: Tables are drawn as a grid with equal column widths. Links are shown blue and underlined, but they are not clickable in the PDF.

**Images only when they are inside the file**: Pictures embedded as data URIs appear. Images that point to another file or a web address are left out, because nothing is fetched.

**Styling is ignored**: CSS, scripts, web fonts and page layout (columns, sidebars, colors) are not applied. Text uses built-in PDF fonts, and letters outside the Western European set print as question marks.

## Tips for a better result

**Want it to look like the website? Use Web page to PDF**: This tool converts the HTML file's content. To keep a live page's look, use Web page to PDF with its address, or print the page from your browser.

**Embed the pictures before converting**: If images matter, save the page in a form that embeds them, such as a single-file HTML export, so they travel inside the file as data URIs.

**Set the paper and margins**: Output defaults to A4. Pick Letter or another size under Paper, or change the Margin if the text runs too close to the edge for your printer.

## Options

**Margin**: Space around the text, in points (72 to the inch, so 36 is half an inch). Left empty, each kind of document keeps the margin that suits it.

**Orientation**: Which way round the pages sit.

- portrait
- landscape
- auto Keep whatever the document or the converter chose (default).

**Paper**: Paper size for the result.

- a3
- a4
- a5
- letter
- legal
- auto Keep whatever the document itself says, or A4 for plain text (default).

## What it costs and what it takes

Nothing. No account, no watermark, no trial and no daily limit.

- **Files up to 2 GB** As big as a browser tab can open. On a phone, past about 200 MB it may run out of memory; a computer copes better.
- **Up to 2,000 files at a time** They are worked through one after another, on your device.
- **Up to 20,000 pages a document** Long documents take longer, and nothing is uploaded while they do.

## Why it runs on your device

Contracts, payslips, IDs and invoices should not sit on somebody else's server. Docsi's engine is compiled to WebAssembly and runs inside your browser tab, so the file stays where it is, there is no upload wait, and the tool keeps working offline.

In the app you can also type what you want: “to pdf”, “convert to pdf”, “make it a pdf”, “as pdf”, “as a pdf”.

## Questions

### Why does the PDF not look like the web page?

The converter is not a browser. It reads the HTML tags and ignores CSS and JavaScript, so you get a clean document with the page's text and structure rather than its design.

### Why are my images missing from the HTML to PDF result?

Only images stored inside the HTML file as data URIs are included. Images loaded from a separate file or from the internet are skipped, since the tool fetches nothing.

### Can I convert a URL to PDF here?

No, this page takes an .html or .htm file from your device. For an address, use Web page to PDF, which loads the page from your own device and saves it.

### Are my files uploaded?

No. HTML to PDF conversion runs inside your browser using WebAssembly, so the file never leaves your device. You can turn off your internet connection after the page loads and it still works.

### Is it free?

Yes, with no watermark, no account and no limit on how often you use it.

### Does it work on a phone or tablet?

Yes, in any modern browser. Very large files are limited by the memory of the device, so a laptop handles them better than a phone.

## Related tools

[Convert to PDF Word, Excel, slides and more.](https://docsi.si/tools/convert-to-pdf/)[EPUB to PDF EPUB in, PDF out.](https://docsi.si/tools/epub-to-pdf/)[Markdown to PDF Markdown in, PDF out.](https://docsi.si/tools/markdown-to-pdf/)[CSV to PDF CSV in, PDF out.](https://docsi.si/tools/csv-to-pdf/)[Text to handwriting Notes on notebook paper, as a PDF.](https://docsi.si/tools/text-to-handwriting/)[Lined, graph and dot paper Make printable paper as a PDF.](https://docsi.si/tools/lined-paper/)[What this document says Read a document into facts on this device.](https://docsi.si/tools/what-this-document-says/)[Calculate over cells Evaluate a formula over a sheet.](https://docsi.si/tools/spreadsheet-calculator/)

## HTML to PDF, and 153 more tools.

[See all tools](https://docsi.si/tools/)[Open the app](https://docsi.si/app/)
