# HTML Preview Type or paste HTML and watch it render instantly in a safe, sandboxed frame — a quick scratchpad for snippets, emails and layout tests. Nothing leaves your browser. ### How it works Your markup is rendered live in a **sandboxed ``** using its `srcdoc` attribute — it never touches the network or this page's data. Scripts are allowed so interactive demos work, but the sandbox withholds `allow-same-origin`, so the preview cannot read cookies, storage or anything belonging to the site. Nothing is uploaded; the HTML stays on your device. ## Related tools - [Markdown Editor](markdown.html) — OCXLY Tools - [Anything to Markdown Converter](tomarkdown.html) — OCXLY - [Markdown TOC Generator](markdown-toc-generator.html) — Table of Contents --- *Source: [ocxly.com/html-preview.html](https://ocxly.com/html-preview.html) — OCXLY, free 100% client-side privacy-first tools. Free live HTML preview — render HTML instantly in a sandboxed iframe, entirely in your browser.*