HTML Viewer — Live HTML Preview
Paste or type HTML (with CSS and optional JavaScript) and see the rendered page update as you type. Switch between phone, tablet and desktop widths to check responsiveness. The preview runs in an isolated sandbox, so the code can’t access this site or your data.
Runs in your browser — your data never leave your deviceLive preview
How to use the HTML Viewer
- Paste your HTML into the editor, or open an .html file.
- Watch the preview update live as you type.
- Switch between phone, tablet and desktop widths.
- Turn on JavaScript only if you trust the code, then download the file when you’re done.
Features
- Live preview as you type
- Phone, tablet and desktop preview widths
- Sandboxed: previewed code can’t read this site’s data
- Optional JavaScript (off by default for safety)
- Open .html files and download your edits
Supported formats
Input: HTML with inline CSS/JS, or .html file · Output: rendered preview, .html download
Privacy
This tool runs entirely in your web browser using your device’s own processing power. Your data are not uploaded to NovaTools or to anyone else, and nothing is stored on a server. You can even disconnect from the internet after the page loads and keep working.
Good to know
- Images, fonts or scripts linked from other websites are loaded from those websites when the preview shows them.
- Relative links to local files (like style.css) won’t load; inline your CSS or use full URLs.
Frequently asked questions
Is it safe to preview HTML from someone else?
The preview runs in a sandboxed frame with no access to this website or your browser storage, and JavaScript is off by default. Only enable scripts for code you trust.
Why don’t my CSS files load?
The viewer can’t see files on your computer that the HTML links to. Paste the CSS inside a <style> tag, or link it with a full https:// URL.
Does anything get uploaded?
No. Your code stays in your browser. Only resources your HTML itself links to (for example an image URL) are fetched from their own servers.