HTML Preview & PDF
Paste or open HTML, see it instantly in a secure preview, then save it as a PDF with selectable text.
2.6 KB of 2 MB · Tab indents · Press Esc then Tab to move on
Opens your browser's print window. Choose “Save as PDF” there, so text stays selectable and searchable, and links stay clickable.
Your HTML stays on your device.
Your HTML stays on your deviceNo signup
How it works
- Paste HTML or open an .html file.
- Check the live preview at desktop, tablet or mobile width.
- Pick paper size, orientation and margins, and check the print preview.
- Click Save as PDF, then choose “Save as PDF” in your browser's print window.
Privacy
Your HTML is rendered inside your browser in an isolated preview. It isn't uploaded to our server. If you turn on external images & styles, your browser loads those files from the websites named in your code.
Supported formats
Paste HTML or open one .html / .htm file up to 2 MB. Full documents and fragments both work. Linked local files (like ./style.css) aren't available from a single file; put CSS inline and images as data URLs. External images, styles and fonts load only if you allow them. External scripts never load.
Frequently asked questions
Can I preview HTML instantly?
Yes. Paste HTML or open an HTML file and OneDo Hub renders it inside an isolated browser preview that updates as you type.
Does it support CSS?
Yes. Standard browser HTML and CSS are supported, including flexbox, grid, variables, media queries, tables and inline SVG.
Does JavaScript run?
Not by default. You can turn on “Allow scripts in preview” to run inline scripts inside the isolated preview, where they can't reach this page, your storage or the network. Scripts are always removed from the PDF copy.
Why does Save as PDF open the print window?
OneDo Hub uses your browser's native print engine so text stays searchable and layouts stay close to real browser rendering, instead of being turned into screenshots. Choose “Save as PDF” as the destination.
Are external images and fonts supported?
Yes, if you turn on “Allow external images & styles”. They're blocked by default so pasted HTML can't silently contact other websites. External scripts are never loaded.
Is my HTML uploaded?
No. Preview and print preparation run in your browser.
Related tools
Word to PDF
Turn a DOCX into a PDF with tables, images and page sizes kept.
Merge PDF
Combine multiple PDFs into one file.
Compress PDF
Reduce PDF file size, or hit a target like 500 KB.