All tools

HTML to PDF

Turn any public webpage into a PDF.

The page must allow cross-origin requests. Static pages and public documentation work best.

About HTML to PDF

Web pages change and disappear. Saving one as a PDF freezes the wording, the date and the layout, which matters for terms and conditions, published prices, booking confirmations and anything you may later need to prove was there.

Give the tool a public URL and it fetches the page and lays it out as a paginated PDF you can file or forward.

How to use HTML to PDF

  1. Step 1

    Paste the URL

    Enter the full address of a publicly reachable page.

  2. Step 2

    Fetch and render

    The page is retrieved and laid out onto PDF pages.

  3. Step 3

    Download

    Save the archived document.

When it helps

  • Archiving terms, policies or price pages as they appeared on a given day.
  • Saving an online receipt or confirmation that has no download button.
  • Turning documentation pages into an offline reading pack.
  • Keeping a record of a job posting or listing before it expires.

Good to know

  • The page must be public and allow cross-origin requests. Pages behind a login, paywall or bot protection cannot be fetched.
  • Highly interactive pages, infinite scroll feeds and canvas-based apps do not translate well to a fixed page.
  • Static articles, documentation and policy pages give the best results.

HTML to PDF: frequently asked questions

What actually happens during a file conversion

Lossless, lossy and structural conversion

Conversions fall into three families. A lossless change rewrites the container while keeping every bit of image data — PNG to a PDF wrapper, for instance. A lossy change re-encodes pixels and discards detail the eye is unlikely to notice, which is how JPEG and WebP achieve their size advantage. A structural change reinterprets the document model itself, as when a page description becomes editable paragraphs.

Only the third family can genuinely go wrong, because it involves inference rather than copying. Knowing which family your conversion belongs to sets a realistic expectation for the result before you start.

Why layout shifts when a PDF becomes a document

A PDF stores glyph positions, not paragraphs. Reconstructing a Word document means grouping thousands of positioned characters back into lines, lines into paragraphs, and aligned blocks into tables — an inference from geometry. Straightforward reports reconstruct almost perfectly; multi-column magazine layouts, floating text boxes and hand-drawn table borders are where guesses become visible.

The practical workflow is to convert, then spend two minutes fixing headings and table edges, which is still far quicker than retyping. Where a document must stay pixel-identical, keep the PDF and edit it directly instead.

Colour, resolution and DPI in image conversions

PDF pages are resolution-independent vector descriptions, so exporting one as an image requires choosing a rendering resolution. 150 DPI suits screen reading, 300 DPI is the usual print standard, and going far beyond that mostly inflates the file. Going the other way, an image placed into a PDF keeps its pixel count; its printed size is simply that count divided by the DPI you assign.

Colour space is the second variable. Screens work in RGB while commercial presses expect CMYK, and the conversion between them cannot represent every colour in either direction. Vivid RGB blues and greens are the ones that most noticeably dull when a file is prepared for print.

Common problems and fixes

Converted text is missing or comes out as gibberish
The source is a scan, so the page contains a picture of text and no character data. Run OCR first to generate a real text layer, then convert.
Tables lose their structure
Tables drawn with alignment rather than ruled borders give the converter nothing to detect. Expect to reapply table formatting, or export to plain text and rebuild the grid.
The output image looks soft or pixelated
Raise the export resolution before converting. Enlarging the exported image afterwards cannot recover detail that was never rendered.

Terms worth knowing

DPI
Dots per inch — how many pixels are rendered for each inch of page. 300 DPI is the common print baseline.
Lossy compression
Encoding that permanently discards some image data to reduce file size, as used by JPEG and WebP.
Text layer
Invisible, selectable characters positioned over a scanned page image so it can be searched and copied.

Related PDF tools

Continue your workflow with other free convert PDF tools or browse all PDF tools.

Popular guides