HTML Viewer

Paste HTML source; it is previewed live and instantly in an isolated, sandboxed frame. The content is processed entirely in your browser and is not sent to a server. For safety, scripts are not executed — only HTML and CSS are rendered.

HTML Source
Paste your HTML markup. The preview updates as you type.

Live Preview

Enter HTML in the field on the left; the preview appears here.

The preview loads inside a sandbox="" iframe: scripts, forms and access to the parent page are blocked. Only HTML and CSS are evaluated.

Frequently Asked Questions

Is the HTML I paste sent to a server?

No. The HTML is previewed entirely in your browser by writing it to an iframe's srcdoc; it is not sent to a server and is not stored anywhere. When you close the page, no trace remains.

Why does JavaScript not run in the preview?

The preview loads in an iframe with the sandbox="" attribute. This deliberately blocks running scripts, submitting forms and accessing the parent page. That makes pasting unknown HTML safe — the tool is a viewer, not a code runner.

What is this tool useful for?

For quickly seeing email templates, HTML snippets, CSS layouts and static components. You edit the markup and see the result instantly, without setting up a full project.

Are external CSS files and images loaded?

Styles and images given with absolute (https://) URLs load as far as the browser's and page's security policies allow. Relative paths (./style.css) do not work because the preview has no base address — inlining styles in a <style> block is the most reliable approach.

Why is the preview always on a white background?

The preview frame is an isolated document, unaffected by the site's light/dark theme. So your HTML appears with its own styles and the browser defaults (white background) — the result closest to how it will look in real deployment.