Convert an HTML File to PDF in Three Steps
- Open it. Press Open a file and choose the
.htmlfile, drop it on the converter, or press Paste to paste code. The page shows as it will print. - Check it. Change what you need in the code, and the page redraws as you type.
- Save it. Press Save as PDF. Your browser's print window opens with the page alone, without the converter around it. On a computer, choose Save as PDF as the destination. On an iPhone, tap Share in that window, then Save to Files.
Why the PDF Keeps the Page's Colors
Printed straight from a browser, most pages lose their background colors and background pictures, because browsers leave them out to save ink. A price card, a colored header or a dark page comes out white, with pale text on it.
This converter keeps them. It also keeps a picture, a table row or a code block from being cut across two sheets, and keeps a heading with the text under it. A page that has its own print styles (an @page rule, an @media print block, or Tailwind's print: classes) is printed exactly as those styles say, the way a proposal or an invoice made for paper expects.
A Page With Its Pictures and Stylesheet
A page that loads style.css, a logo or fonts from beside it needs those files to look right. Converters that take one file print it without them. Press Open a folder, or open a .zip of the folder with Open a file, also on a phone, and the page prints with its stylesheets, pictures and fonts.
A Page From Claude or ChatGPT
Copy the page your AI wrote and press Paste. A React component, the kind that starts with import lines, runs too: the converter builds it in your browser, then Save as PDF prints what it draws. The JSX viewer explains what it can load.
Where Your File Goes
It stays on your device. The file is read there, drawn in a sealed frame that can't reach solta.now or your accounts, and printed by your browser. That matters for a contract, a report or a page with client names in it.
The other converters on Google's first page in the US, as of 21 November 2026, as each one's own page says:
- Smallpdf deletes uploaded files an hour after processing, and limits free use.
- Sejda deletes uploaded files after 2 hours, and allows 3 free tasks an hour.
- CloudConvert starts free with 10 conversions a day.
- PDFCrowd puts its branding on the free PDFs.
- iLovePDF takes a web address or pasted code, and no file.
What the Print Window Decides
- Where the pages break: a long page runs over as many sheets as it needs.
- Paper size, margins and scale, which you can change there.
- The date and an address at the top and foot of each sheet, which Chrome and Edge add. Uncheck Headers and footers, under More settings, to leave them out.
- A header fixed to the top of the screen prints on every sheet in Chrome. To keep it on the first one only, add
@media print { html { print-color-adjust: exact } header { position: static } }to the page. A print block of the page’s own turns this converter’s print look off, so this one keeps the colors too.
A Link Instead of an Attachment
A PDF suits a file to keep, sign or print. To send the page itself, the Get a link button, under it, publishes it at its own address, which opens on any phone without an account, with its buttons and forms working. A PDF you already have becomes a link with PDF to link, and the HTML viewer opens a page to look at it.
Questions
Is my HTML file uploaded to make the PDF?
No. Your browser's own print window makes the PDF, on your phone or computer, and the file stays there. Nothing is sent to Solta unless you press Get a link.
Why does my PDF come out without its background colors?
A browser printing a page leaves out its backgrounds unless the page asks to keep them, to save ink. This converter asks for you, so colored boxes, banners and dark pages come out as they look. A page with print styles of its own is printed the way those styles say.
Can I convert HTML to PDF on an iPhone?
Yes. Save the file to the Files app, press Open a file and choose it, then press Save as PDF. In the print window, tap Share, then Save to Files. On Android, choose Save as PDF in the print window.
Can I choose the page size and margins?
Yes, in the print window: paper size, margins, scale and portrait or landscape. A page that sets them itself with an @page rule keeps its own.
Is the text in the PDF real text?
Yes. Text stays text you can select, copy and search, because the browser prints it the way it draws it. It isn't a picture of the page.
Is there a limit?
A file can be up to 10 MB, the same as a link on Solta. There is no daily limit, and Solta puts nothing of its own on the PDF.
Can I convert a web page by its address?
The converter opens files and code, and doesn't fetch other sites. Open the page in your browser and print it there, or save the page as an .html file and open that.

