HTML to PDF

HTML to PDF

Convert HTML files to PDF with full styling preserved.

Upload .html files or paste code
CSS styles preserved
Images rendered
Clean PDF output
+

Tap to add HTML file

How to convert HTML to PDF

1
Pick your input mode: paste a URL, upload an .html file from your device or cloud (Google Drive, Dropbox, OneDrive), or paste raw HTML code directly.
2
A live preview appears in the sidebar so you can see the layout before converting. Customise page orientation (portrait or landscape) and margins from the sidebar to match the look you want.
3
Click Convert to PDF. Fonts, images, CSS styling, and links are all preserved in the final document.
4
Download your PDF, save it back to the cloud, or send it straight into another tool like Merge or Sign.

Why use our HTML to PDF converter

Three input modes
Paste a URL, upload an .html file, or paste raw HTML code - whichever is closest to your source.
URL to PDF
Drop in any public webpage URL and we render it cleanly, including CSS, images, and web fonts.
.html file upload
Convert local HTML files complete with their styling - useful for offline mockups and exported templates.
Raw HTML paste
Developer-friendly: paste HTML and CSS directly to test markup or generate documents from code snippets.
Live preview
See your output in the sidebar before converting, so you can spot issues without burning a job.
Orientation and margins
Pick portrait or landscape, set tight or generous margins - matches how you want the document to print.
Batch processing
With a free account, run up to 4 jobs at once (200 MB total). Each becomes its own clean PDF.
Cloud import
Pull .html files from Google Drive, Dropbox, or OneDrive without a local download step.
Workflow chaining
Send the resulting PDF straight into Merge, Compress, Sign, or any other tool without re-uploading.
Free, no watermark
No watermark on the PDF, no signup needed for single jobs, no per-day cap on conversions.

Frequently asked questions

What input modes does the converter support?
Three: paste a URL, upload an .html file (from your device or from Google Drive, Dropbox, OneDrive), or paste raw HTML code directly into the box.
Will CSS styling come through in the PDF?
Yes. External and inline CSS, web fonts, colours, layout, and most CSS3 features are preserved in the output PDF.
Can I convert any public URL?
Yes, as long as the page is publicly accessible. Pages behind a login or that require complex JavaScript flows may not render fully - in that case, use the raw HTML paste mode instead.
What about pages behind a login?
We cannot sign in to private accounts. The workaround is to save the rendered page as an .html file from your browser, then upload that file or paste its HTML directly.
Can I customise orientation and margins?
Yes. The sidebar lets you switch between portrait and landscape, and choose between default, narrow, or wide margins before converting.
Does JavaScript run before the page is captured?
Yes. The page is rendered with JavaScript executed before snapshotting, so dynamic content that loads on page open is included.
Can I convert multiple URLs or files at once?
Yes. Batch processing is available with a free account - up to 3 jobs at once, 80 MB total. Single jobs work without signing in.
Can I import .html files from Google Drive, Dropbox, or OneDrive?
Yes. Use the cloud buttons in the file upload mode to pull files in directly. No need to download them to your device first.
Are my files and URLs kept private?
Yes. Uploads happen over HTTPS, URLs and files are not shared, and content is deleted from our servers shortly after the conversion finishes.
Does it work on mobile?
Yes. The converter runs in any modern browser on phone, tablet, or desktop. There is no app to install.

Use our other tools

EditlyEditlyMerge PDFMerge PDFSplit PDFSplit PDFCompress PDFCompress PDFSign PDFSign PDFScan PDFScan PDFPassport PhotoPassport PhotoQR & BarcodeQR & BarcodeWeb Page to PDFWeb Page to PDF