PrintFriendly

HTML to PDF Converter

Turn a web page, an HTML file or HTML code into a PDF. Paste a link to get the page without its ads and menus, or upload your HTML to keep it exactly as it looks.

  • Web pages come out clean, without ads or menus.
  • HTML files and code keep their own layout and styles.
  • Free, with no account needed.

The page opens without its ads and menus. Remove anything else you don't want, then save it as a PDF.

Making PDFs from HTML in your own app? Try the PrintFriendly API.

Why Convert HTML to PDF with PrintFriendly

One place for every kind of HTML: a link to a live web page, a file you saved or exported, or code you wrote yourself.

No Account Needed

Convert and download your PDF without signing up or giving an email address.

Your Layout, Kept

An HTML file or pasted code keeps its own fonts, colors and styles, print styles included, so the PDF looks the way the page does in a browser.

Clean Web Pages

A link opens without its ads and menus. Remove anything else you don't need, then save the page as a PDF.

Works on Any Device

Use it in any browser on a computer, phone or tablet. There's nothing to install.

Frequently Asked Questions

Check out these commonly asked questions and answers about our service. Please feel free to contact us if you have any additional questions.

  • How do I convert HTML to PDF?
    Choose HTML file to upload a .html or .htm file, or HTML code to paste your code. Pick Letter or A4, and your PDF downloads as soon as it's ready. To save a live web page, paste its link under Web page instead.
  • How do I save a web page as a PDF?
    Paste the page's link under Web page and select Go. The page opens without its ads and menus. Remove anything else you don't want, then select PDF to download it.
  • What's the difference between pasting a link and uploading a file?
    A link is cleaned up first, so you get the article without the ads, menus and other clutter around it. An HTML file or code is converted as it is, with its own layout, which suits invoices, reports, emails and pages you built yourself.
  • Why are some images missing from my PDF?
    Images print when your HTML points to them by their full web address, starting with https://. Images kept in a folder next to your file can't come along with it, so they're left out. For a web page you saved, paste its link instead.
  • Does JavaScript in my HTML run?
    No. Scripts don't run, so anything a script would add to the page after it loads won't be in the PDF. If a web page needs JavaScript to show its content, paste its link instead.
  • Will my CSS print styles be used?
    Yes. Your HTML is printed with its print styles, so rules inside @media print apply, and so do the page margins you set with @page. Pages that set no margins get a 15 mm margin.
  • Is there a size limit?
    HTML files and pasted code can be up to 5 MB.
  • Do I need an account?
    No. HTML to PDF is free, and you can download your PDF without signing up.
  • Can I convert HTML to PDF from my own app?
    Yes. The PrintFriendly API turns HTML, or the address of a web page, into a PDF from your own code. The API page has the plans and documentation.