HTML to PDF converter
Turn an HTML file, markup you paste in, or a public web page into a PDF. Styles, tables and images are rendered, then split across pages.
HTML to PDF converter in four steps
- 1
Add your HTML
Drop an .html file, paste markup, or give a public URL.
- 2
Set the page
Size, orientation and margins, as you would in a print dialog.
- 3
Convert
The page is rendered and paginated on the server.
- 4
Download
Your PDF saves straight to your device.
Everything you need, nothing you don't
Three ways in
Upload an HTML file, paste markup, or enter a web address.
Standard HTML and CSS
Tables, fonts, colours, images and page breaks.
Page setup
Page size, orientation and margins.
Keep backgrounds
Print background colours and images if you want them.
Safe by design
Scripts are removed and private network addresses are blocked.
Deleted automatically
Files are removed from the server automatically.
This conversion runs on defencebyte’s secure server: your file is deleted as soon as it’s converted, and the result after 30 minutes or when you click “Delete now”. How privacy works
Frequently asked questions
Can I convert a page that needs a login?
No. The server fetches the URL anonymously, so anything behind a login or paywall comes back as an error or a sign-in page. Save the page in your browser (Ctrl+S, “Web page, complete”) and upload the saved .html file instead.
Is JavaScript run?
No — scripts are removed for safety, so you get the static page. Anything drawn by JavaScript (some charts, apps, cookie walls) will be missing.
Which CSS is supported?
Most of CSS 2.1 plus common CSS 3 (fonts, colours, borders, backgrounds, tables). Layouts built with flexbox or grid are simplified and may reflow. For simple documents, invoices and reports this works very well.
Can I set a header or footer?
Add an @page rule to your HTML and it is honoured where supported.
Are my files kept?
No. Files are sent over an encrypted connection to defencebyte’s conversion server. The original is deleted as soon as it has been converted, and the result is deleted automatically after 30 minutes — or as soon as you click Delete now.