HTML preview

Paste HTML and see it render in a sandboxed frame — nothing runs outside the box, nothing is sent anywhere.

Paste HTML and see it render in a sandboxed iframe — scripts allowed, but no same-origin access, top navigation, or popups.

Sandbox: `allow-scripts` only — the preview cannot reach this page's storage or navigate it. External URLs inside the markup may still load.

Everything runs in this browser.

How to use

  1. Paste HTML into the editor.
  2. Toggle the sandbox mode if scripts should run.
  3. Read the rendered frame.

What it supports

Up to 2 MB of HTML in an iframe sandboxed with allow-scripts opt-in only; the frame has no same-origin or network privileges granted by this page.

Related tools

Related guides