View an HTML file online.
Choose an HTML file and see the page it makes, rendered the way a browser would render it.
Loading the tool…
Key points
- Open a .html or .htm file and see the page it renders.
- Embedded styles and scripts run, and libraries loaded from a CDN still fetch.
- The file is read in your browser and is never uploaded.
- The render is sandboxed, so the file cannot reach anything outside it.
An HTML file sitting on your desktop is just text until something renders it. Double-clicking opens a browser tab, which is fine for a file you wrote and less appealing for one that arrived by email. The viewer above reads the file inside this page and draws it in a sandboxed frame, so you see the finished layout without handing an unfamiliar file your browser session. Choosing a file reads it locally. Nothing is uploaded and nothing is logged.
Embedded CSS and JavaScript run, because a page with its styling stripped out is not the page you were trying to look at. What the frame cannot do is reach the rest of this one. It has no access to cookies, to the page around it, or to any NudgeHost account. When you are writing markup rather than opening someone else's, you can test HTML in your browser instead and edit it live.
Looking at a file answers what it contains. Getting it to someone else is a different job, and you can host an HTML file to turn the same file into a link that renders for anyone who opens it. all of NudgeHost's file viewers cover the other formats that tend to arrive as attachments.
The viewer is free and needs no signup. Hosting is the paid side of NudgeHost rather than the tools, and you can drop a file to get started when a file needs an address as well as a render.
Drop a file here and get a shareable link in seconds.
Try it freeFrequently asked questions
Does my file get uploaded?
No. The viewer reads the file in your browser and renders it there. The file is never sent to a server and nothing about it is logged.
Do styles and scripts run?
Yes. Embedded CSS applies and JavaScript executes, so the page behaves the way it was built to. The frame is sandboxed, so modal dialogs like alert() are suppressed and the file cannot redirect the page around it.
Why don't my images and stylesheets load?
Files referenced by a relative path, like styles.css or img/logo.png, have nothing to resolve against once the page is read out of its folder. Anything linked by a full https:// address, including CDN libraries, loads normally. A folder of files that belong together is better hosted as a ZIP, which serves the whole project with its paths intact.
Is it safe to open a file someone sent me?
The render is sandboxed on a separate origin with no access to this page, its cookies, or your NudgeHost account, which contains what the file can do here. Knowing where an unfamiliar file came from is still worth doing before you run it anywhere else.
Get file-sharing tips that actually help.
One email a month. No spam, no fluff.
Related tools
Other things you can do on NudgeHost.
Ready to view your file online?
Free forever, no credit card needed. The whole thing takes a few seconds.
Get started free