
HTML file viewer: open an .html file online
Open a local .html file in the browser and, when you want, turn it into a link you can send.
No account neededA single .html file from your device.
How to open an HTML file
How do I open HTML file attachments in a browser?
Your browser is a built-in HTML file opener. Double-click the saved .html file or drag it into an open browser window. An address starting with file:/// means the browser is reading the copy on your device.
Why won’t my HTML file render?
Show filename extensions and check the file ends in .html. Compare its size with the original to spot a truncated download. If the text appears but interactive features fail, check the browser console for errors about blocked requests to local files.
How do I preview the file and share a link?
Upload an .html file up to 5 MB or paste its source into this HTML file viewer. Check the rendered preview, then publish to a dedicated htmlurl.page subdomain without creating an account. The link lasts 7 days by default and you can choose up to 90 days. You can add a password and use the edit token to update the same link.
Who it is for
For anyone who received an .html file and just needs to read or forward it.
Before you start
What program opens an HTML file?
Why won't my HTML file open in Chrome?
How do I view an HTML file without uploading it anywhere?
Can I share an HTML file as a link instead of sending the file?
Does opening an HTML file run its JavaScript?
Is this HTML file viewer free, and do I need an account?
Pick the tool that matches what you have

HTML folder to link
Publish a folder with index.html, CSS and images. ZIP files work here too.
Open tool →
HTML code to link
Paste HTML and get a shareable URL in one click.
Open tool →
HTML preview
Render and check at four widths before you publish.
Open tool →
ZIP to link
Drop a ZIP of a whole site and keep relative paths.
Open tool →
HTML viewer
Open a local .html file online and share it as a link.
Open tool →
AI HTML hosting
Give an agent one call and get a URL back.
Open tool →
Free HTML website hosting
Free HTML website hosting for static sites. Paste HTML or upload a file, folder or ZIP to publish on your own subdomain without signing up.
Open tool →