.html, .htm · 100% private

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.

Drop your HTML file here
or click to browse your device
file
Preview
Drop a file on the panel above to begin
Files never leave your device No sign-up, no account Free forever

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 nameHyperText Markup Language
File extensions.html, .htm
MIME typetext/html
Developed byW3C and WHATWG (invented by Tim Berners-Lee)
Introduced1993

How to open a HTML file online

  1. 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.
  2. See it instantly. Your browser reads the file locally and shows the preview in a second or two.
  3. 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.

Good to know: You see the markup, not the rendered page. To see the styled page, open the file in a browser. Be cautious with HTML from unknown senders, since it can contain phishing forms.

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.

HTML viewer questions

Will the HTML run when I preview it?
No. It is shown as text only, so scripts do not execute.
What is the difference between .htm and .html?
None. .htm is a legacy three-letter extension from older systems.
Can I see the rendered page?
Open the file directly in your browser for the rendered page.
Why check HTML as text first?
HTML attachments are a common phishing method. Reading the source shows where forms submit and which links are used.

Guides about HTML and related files