Sandboxed HTML Preview
Preview HTML in a sandboxed frame without script execution.
Read the guideRun the tool
The calculation runs in your browser. This tool does not send your input to JVR Software.
More information
Back to the toolWhat it is and when to use it
Sandboxed HTML Preview shows how a self-contained HTML snippet looks in a browser frame. Use it to inspect simple forms, heading order or structural markup while drafting. It does not run scripts or give the preview access to the parent page.
How it works
The page prepares an HTML snippet and renders it inside an iframe with a sandbox. The sandbox limits script execution and interaction with the enclosing page. A frame can still load referenced external images or styles, which is why a self-contained sample is the best choice for private work.
How to use it
- Paste markup you are authorised to inspect.
- Run the preview and compare the visual result with the markup shown by the tool.
- Try a self-contained section with inline formatting before adding assets that depend on your production website.
Worked example
Paste <h1>Opening hours</h1><p>Monday to Friday, 09:00 to 17:00.</p>. You should see a heading and a paragraph. If a component needs JavaScript to expand a menu, that interaction is outside this preview.
Reading the result
Preview appearance can differ from the production site because the iframe has its own styles and origin. A missing stylesheet or image can result from blocked paths, credentials or network rules. Test accessible labelling and keyboard interactions separately on the actual website.
Common mistakes and limits
This tool is not an HTML sanitiser for material you plan to publish. A sandboxed preview can look fine while the same HTML behaves differently outside the sandbox. Do not reuse untrusted markup without reviewing it in the context where it will be served.
