Skip to content
OddsockLocal
Local
Source text

Formatting

5 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste the HTML or choose an HTML file.
  2. Pick the paper size. A4 is the opening choice.
  3. Add one local .ttf or .otf if the text uses characters Helvetica lacks.
  4. Download the PDF.

What is HTML to PDF?

HTML to PDF reads the markup as text, not as a browser page. Script, style and comments are removed. Lists become lines that start with a bullet. Table cells in a row are separated by spaces. What remains is wrapped in Helvetica at 11 points onto the paper size you pick, A4 unless you choose Letter, Legal, A3 or A5. A long page of HTML, such as the notes for three chapters pasted as headings and paragraphs, flows onto as many sheets as the lines need. There is no CSS, no web font, and no positioned box.

Read more

Characters the standard font cannot draw, including many scripts beyond basic Latin, stop the run unless you also supply a local .ttf or .otf that contains them. Images in the HTML are not fetched and not drawn. A 12-page scan is the wrong input. This page wants markup. If you already have the twelve pages as a PDF, the other tools edit that PDF. The result here is a new document with ordinary text, and it has whatever page count the wrapping produced, not a count you typed.

Use cases

  • A developer turning a sanitized HTML note for three chapters into a printable PDF.
  • A student pasting a simple HTML outline onto A4 without a browser’s margins and fonts.
  • A clerk converting an HTML table of names into lines they can archive.
  • A writer checking that a script tag in the source does not appear in the PDF.
  • Someone with a .ttf who needs a character Helvetica cannot print.

Three chapter headings in simple HTML, on A4

HTML with three h1 lines, Chapter 1, Chapter 2 and Chapter 3, plus a short paragraph under each. Paper size A4.

A PDF in Helvetica. Each heading is its own line at the same size as the paragraphs. Scripts and style blocks are absent. The page count follows the amount of text.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

No. Styles are stripped. The PDF is wrapped 11-point Helvetica on the paper size you chose.