HTML Viewer

How it works
Indent
Valid HTML

Input HTML

No problems found. This is valid HTML.

About HTML Viewer

Sometimes you just want to see what a piece of HTML looks like: an email template, a snippet from a ticket, or a saved page. Paste it and the Preview tab renders it right away, and you can open the preview full screen.

The preview runs in a sandboxed frame with scripts turned off, so untrusted HTML cannot run code or reach this page. Switch to the HTML tab to see the same code neatly formatted.

How to use it

  1. Paste your HTML into the Input panel, or Open an .html file.
  2. The Output panel shows the rendered page on the Preview tab.
  3. Click Full screen for a larger view, and press Esc to close it.
  4. Use the HTML tab to see formatted code, and Problems to find unclosed tags.

Frequently asked questions

Does JavaScript in my HTML run in the preview?

No. The preview is sandboxed with scripts disabled, so only the HTML and CSS are rendered.

Why do images or styles not show up?

Relative links such as images/logo.png have no site to load from here. Use full https:// URLs or inline styles to see them.

Is the HTML uploaded to render it?

No. Rendering happens entirely in your browser.

Related tools