About this tool
Test snippets, email templates and prototypes instantly without setting up a project.
How to use the HTML Preview (Live Editor)
- Edit the HTML.
- The preview updates as you type.
- Download or open the result in a new tab.
How it works
The preview is a sandboxed iframe (srcdoc) with no access to this site’s cookies, storage or the parent page. Scripts can be disabled entirely.
Frequently asked questions
Is it safe to run pasted code?
The iframe is sandboxed from this site, but only run code you trust.