Skip to content

HTML to PDF — save a web page, HTML file or code as PDF

Save a web page as PDF from its address, or convert an HTML file or pasted code. Choose A4 or Letter, orientation, margins and backgrounds.

Public websites only. Our server opens the page without your cookies or logins, so pages behind a sign-in will show their login screen.

Uploaded over an encrypted connection, converted on our server and deleted immediately after.

How to use HTML to PDF

  1. Enter a web page address (URL), choose an HTML file or paste HTML code.

  2. Pick the page size, orientation, margins and whether to include backgrounds.

  3. Click Convert to PDF — the page is rendered on our secure server.

  4. Download the PDF.

What you get

  • Three inputs: website URL, HTML file or pasted HTML code
  • A4 or US Letter, portrait or landscape
  • Margins: none, small (10 mm) or normal (20 mm)
  • Optional background colors and images
  • Rendered by a real Chrome browser on our server; files deleted right after
On this page
  1. URL vs HTML file vs pasted code
  2. Pages behind a login
  3. Save a web page as PDF on iPhone, Android and Chrome
  4. After converting
  5. How your page and files are handled
  6. Questions & answers

Questions & answers

How do I save a web page as a PDF?

Paste the page address into the Website URL box, choose the page size and margins, click Convert to PDF and download the file. Our server opens that address, loads it like a browser and turns it into a PDF. For pages you are signed in to, use your browser's Print → Save as PDF instead.

Can I convert pages that need a login?

No. Our server cannot use your login, so pages behind a sign-in or paywall show their login screen instead. Open the page in your own browser while signed in and use Print → Save as PDF, or save it as an HTML file and convert the file here (images with relative paths may be missing).

Why does the PDF look different from the page?

The PDF is printed, not screenshotted, so the site's print styles apply: menus and ads are often hidden and the layout adapts to A4 or Letter width. Images that load only when you scroll may be missing, and cookie banners can appear. Try landscape, turn backgrounds on or off, or use your browser's Print → Save as PDF for comparison.

Is there an API?

No. HTML to PDF is a free tool for converting pages one at a time in the browser; there is no public API for automated or bulk conversion. If you need to convert many pages programmatically, a dedicated HTML-to-PDF API service or a headless browser library in your own code is the right choice.

How large can an HTML file be?

Uploaded HTML files and pasted code can be up to 1.5 MB. Images, fonts and stylesheets are not counted, because they must be loaded from full web addresses (https://…); local files referenced by relative paths are not available to our server.

Are files stored?

No. HTML files and code are uploaded over HTTPS, converted and deleted immediately after the conversion, and the finished PDF is deleted from our server immediately after the conversion as well. When you convert a URL, the website sees a visit from our server, not from you.

Does it work on my phone or tablet?

Yes. PDFEditPoint is built mobile-first and works in Safari, Chrome, Edge and Firefox on iPhone, iPad, Android, Windows, macOS and Linux — no app to install.

How long do you keep my files?

Not at all. HTML to PDF uploads your file over an encrypted HTTPS connection, converts it on our server and deletes it immediately after the conversion (at the latest within one hour if a conversion fails). We only log the time, the tool used and your IP address to prevent abuse. Files you choose to save to an account are deleted automatically after your plan's storage period — 7 days on the Free plan.

Is there a limit?

Free use has a fair daily limit to keep the service fast for everyone. Creating a free account raises it, and the Pro plan raises it much further.

Last reviewed by the PDFEditPoint Editorial Team.