Open HTML files online
Drop a HTML file to preview it instantly in your browser. Free and private: your file is never uploaded, and no account is needed.
What is a HTML file?
HTML files describe the structure of a web page using tags such as headings, paragraphs, links and images. Browsers read the tags and render them as the page you see.
Saved web pages, email templates and documentation exports are often shared as .html or .htm files.
| Full name | HyperText Markup Language |
|---|---|
| File extensions | .html, .htm |
| MIME type | text/html |
| Developed by | W3C and WHATWG (invented by Tim Berners-Lee) |
| Introduced | 1993 |
How to open a HTML file online
- Drop the file. Drag your .html, .htm file onto the panel at the top of this page, or click it to pick the file from your device.
- See it instantly. Your browser reads the file locally and shows the preview in a second or two.
- View full screen or download. Use the full screen button for a distraction-free view, or download a copy. Close the page when you are finished and nothing is kept.
How Drop and Open displays HTML files
Drop and Open shows HTML as source code in a text block. It does not run the page, so scripts, trackers and remote requests inside the file do not execute. This makes it a safe way to read what an unfamiliar HTML file contains.
What HTML files are used for
- Saved web pages
- Email templates
- Generated reports
- Documentation exports
Tips for working with HTML files
- Look for <script> tags and external URLs when checking a suspicious file.
- Save HTML emails as .html to archive them.
- Use the browser developer tools to inspect rendered pages.
Is it private to open a HTML file here?
Yes. Drop and Open runs entirely in your browser. When you choose a file, the browser reads it into local memory and displays it. There is no upload, no account, and no server-side copy. You can check this by opening your browser's developer tools, watching the Network tab and dropping a file. Learn more in our guide to client-side and server-side viewers.