HTML viewer and live editor
Paste or open HTML and see it render live as you type, at phone, tablet or full width, with one-click formatting and scripts off unless you turn them on.
Questions
Is it safe to preview HTML I did not write?
The preview runs in a sandboxed frame. Scripts are off by default, so only the markup and CSS render. If you turn scripts on, they run inside that sandbox, which cannot read this site or your other tabs, but only do it for code you trust.
Why do images or styles from my computer not show?
The preview only sees the HTML text. Links to files on your computer, like images/photo.jpg, are not available to it. Links to files on the web, and CSS inside a style tag, work.
What does Format do?
It reflows the HTML with Prettier, including style and script blocks, so nesting is easy to read. It runs in your browser and changes only spacing and line breaks.