HTML Viewer & Live Preview

Free HTML viewer online: paste HTML, CSS and JavaScript and get a live HTML preview as you type. Check it at desktop and mobile widths in a secure sandbox, open it in a new tab, and turn it into a shareable link in one click. Nothing is uploaded until you share.

Runs in your browser Nothing uploaded until you share Free, no signup

The preview updates as you type · Ctrl + Enter refreshes it · Your code runs in a sandbox and stays in this browser until you share it

HTML Viewer & Live Preview: questions

Is my HTML uploaded?
No. The HTML preview renders in a sandboxed frame inside your browser, so nothing is sent to a server while you edit. Your code is only uploaded if you click "Get a shareable link".
Can I share the preview?
Yes. Click "Get a shareable link" and your page is published to its own URL that opens on any phone or computer — no signup needed. Unclaimed links stay live for an hour; claim yours with a free account to keep it, then add a password or see who opened it.
Does it run JavaScript?
Yes. Scripts, forms, alerts and pop-ups all work in the preview. The frame is sandboxed with its own origin, so the code you paste cannot read your cookies or touch the rest of this page.
Can I see how my page looks on a phone?
Switch the preview to Mobile to render it at a 390px phone width, or open it in a new tab to check it full screen.
Can I view an HTML file from my computer?
Yes. Click "Open file…" or drag an .html file onto the editor. The file is read locally in your browser and never uploaded unless you choose to share it.