Preview (sandboxed)
Runs entirely in your browser. Nothing you enter is sent anywhere.
How to use HTML Viewer
- Paste or write HTML (and CSS or JavaScript inside it) in the editor.
- The sandboxed preview refreshes shortly after you stop typing.
- Resize your window to test how the page behaves on different widths.
Frequently asked questions
Why is the preview sandboxed?
The preview runs in an iframe with a unique origin, so scripts inside it cannot read this site's cookies, storage or page.
Can the preview load external files?
Yes, images and stylesheets from the web load normally. Nothing is stored on our side.
Does my code leave my device?
No. The code is placed straight into the preview frame in your browser.