HTML Viewer

Type or paste HTML on the left; the preview updates as you type. Scripts are switched off in the preview for safety.

Runs in your browser — nothing is uploaded

Preview

Width

How to use HTML Viewer

  1. Paste HTML (with any CSS) or open an .html file.
  2. Watch the preview update as you edit.
  3. Switch the width to check the layout on phones and tablets.

Formula & assumptions

  • Runs entirely in your browser — your code is never uploaded.

Questions

Does JavaScript run in the preview?

No. The preview is sandboxed and scripts are blocked, so pasted code can’t do anything harmful. HTML and CSS render normally.

Why don’t my images or fonts show?

Relative paths like “images/logo.png” point to files on your computer that the page can’t reach. Use full https:// URLs or data URIs.

Is my HTML uploaded?

No — it stays in your browser and is shown in an isolated frame.