Skip to main content

HTML Preview

Paste or write HTML and watch it render live in a sandboxed frame. Open the result full-page, download it as a .html file, or share it with a link. All local — your code never leaves the browser.

Processed locally · 0 bytes uploaded

Code

Preview

Specs

Supported formats
Input: HTML5, CSS & inline JS snippet · Output: Live sandboxed iframe preview
File & batch limits
Single-file prototypes and email templates render instantly inside an isolated browser frame
AI model download
None (0 MB — native sandboxed iframe)
Browsers & devices
Chrome, Edge, Safari & Firefox on desktop and tablet
Offline support
Yes — works offline after page load (unless your snippet fetches external URLs)

FAQ

Is my code uploaded anywhere?

No. Rendering happens entirely in your browser inside a sandboxed iframe. Share links encode the code in the URL fragment (after #), which browsers never send to any server.

Can the previewed page access my Pocketful data?

No. The preview iframe is sandboxed on an isolated origin: its scripts cannot read this site's storage or cookies, open popups, or navigate the top page. It can only affect itself.

Why did auto-preview pause on a large document?

Beyond roughly 300 KB of code, re-rendering on every keystroke would stutter. Auto-render pauses and the Run button takes over — press it whenever you want to refresh the preview.

Can I use external CSS or JavaScript from CDNs?

Yes. Anything a normal web page can load — stylesheets, scripts, fonts, images — works in the preview as long as you are online.

Share this tool: