HTML viewer online
Paste HTML below and see it rendered instantly. Scripts run, CSS applies, and nothing is uploaded — it all happens in your browser.
Need to send this to someone?
A preview only exists in your browser. Publishing the same file gives you a real URL that renders the page for anyone you send it to — it stays clickable in Slack, keeps working on a phone, and you can revoke it later.
Questions
Is my HTML uploaded anywhere?+
No. The viewer renders entirely in your browser using a sandboxed iframe. The HTML you paste is never sent to our servers. Only if you choose to publish it does the file leave your machine.
Do scripts and CSS work in the preview?+
Yes. The preview runs JavaScript and applies CSS, so interactive dashboards, charts and animations behave as they would in a normal browser tab. The frame is sandboxed with no access to this page.
Why does my .html file open as a blank page when I send it to someone?+
Email and chat clients usually download an .html attachment rather than rendering it, and some strip the scripts. The recipient ends up looking at raw source or an empty page. Publishing the file to a URL avoids this because their browser loads it as a normal web page.
How do I turn this into a link I can share?+
Publish it. Pagepost gives you a short URL that renders the page for anyone who opens it, stays clickable in Slack and Notion, works on mobile, and can be revoked or set to expire later.
Is there a size limit?+
The in-browser preview is limited only by your machine. Published files are capped at 5 MB, which is far more than a single-file HTML page normally needs.
Working with Markdown instead? Try the Markdown preview. Built the page with an AI assistant? Publish straight from it.