HTML Viewer

Write HTML on the left and watch the page take shape on the right as you type.

Scripts are off by default. Turn on Run scripts to try JavaScript. It runs in a sandbox that cannot reach this site.

How HTML Viewer works

Shows how your HTML looks as a web page. Write or paste HTML on the left and the preview on the right updates a moment after you stop typing. There is no button to click.

Preview runs in a locked sandbox frame that cannot reach this site, your cookies or your data. Scripts are off by default. Turn on Run scripts to try JavaScript in the page.

Input to HTML Viewer

  • Paste or type HTML into the input box, or upload a .html, .htm or .txt file.
  • Full pages and small parts of a page both work. CSS in style tags and inline styles are shown in the preview.
  • Run scripts: turn on to let script tags run inside the sandbox.
  • Files up to 20MB. Everything runs in your browser.

Output from HTML Viewer

  • Live preview of the page as a browser shows it.
  • Click the full screen button to see the preview at full size. Press Escape to close it.
  • Download your HTML as a page.html file.