Skip to content
FileDagadu

Convert HTML to PDF

Turn an HTML file or pasted code into a PDF in your browser. Headings, lists, tables, links and embedded pictures are kept.

Loading HTML to PDF…

How to use HTML to PDF

  1. 1Upload an HTML file, or paste your HTML code.
  2. 2Choose paper size and margins.
  3. 3Check the preview and click Download PDF.

Why use FileDagadu

  • Runs entirely in your browser — nothing is uploaded to a server
  • No account, signup, or watermark required
  • Works on desktop, tablet and mobile
  • Free with no daily usage limit

Frequently asked questions

Can I paste HTML instead of uploading a file?

Yes. Use the “Paste HTML code” tab, and the PDF updates as you type.

Which HTML and CSS features work?

Headings, paragraphs, lists, tables, links, bold and italic, colours, font sizes, text alignment and pictures embedded as data: images. CSS in a <style> tag is applied for these. Flexbox, grid, floats, web fonts and scripts are not supported.

Why are my pictures missing?

Pictures linked from other files or websites cannot be loaded. Embed them in the HTML as data: images, or they appear as a text label.

Is it the same as printing a web page to PDF?

No. This builds a text-based PDF from the HTML structure, which is small and searchable, but it does not draw the page exactly as a browser does.

Is my HTML uploaded to a server?

No. The conversion runs in your browser.

Guides & tips

Related tools