Windows 10 / 11 · 3 min read

How to open an HTML file on Windows

By Yigit Ihlamur3 min read

Got a .html file in your Downloads folder and no idea what to do with it? Windows 10 and 11 give you a few native options, and there's one cleaner path if you need to share it. Picking by outcome.

Just want to see how it renders?

Double-click the file in File Explorer. Windows hands it to your default browser (usually Edge, sometimes Chrome or Firefox). The page opens at a file:// URL and renders.

If Windows opens it in Notepad instead, that means Notepad is set as the default for .html. Right-click the file, choose Open with → Microsoft Edge (or another browser). Tick "Always use this app" if you want the change permanent.

Want to send it to a colleague?

Sharing a Windows .html file over email or Teams is awkward. Recipients get a security warning, have to "Save as", and then double-click on their machine. Half won't bother.

Faster: drop the file onto the box below. Vela Docs renders it in your browser, gives you a sharable link, and your colleague clicks one URL.

Drop a file or click to upload
Up to 1 MB · stays in your browser

Want to edit before sending?

  • VS Code (free): standard for developers. The Live Preview extension renders side-by-side. Big install if you don't already write code.
  • Vela Docs (web, free, no install): click Edit mode, click on any text in the rendered page, type. Download cleans .html when you're done.
  • Notepad++: free, classic Windows alternative. Renders only the source; you'll need a browser tab for preview.

Common Windows gotchas

  • SmartScreen blocks the file. Windows Defender SmartScreen warns about files downloaded from the internet. If the sender is trusted, click"More info" then "Run anyway". Or render in Vela Docs to skip the warning entirely.
  • Edge keeps switching back to default. Some Windows updates reset .html to Edge. Reset viaSettings → Apps → Default apps.
  • Scripts don't run on file://: some browsers block fetch / XHR from local files. Vela Docs renders on https so this isn't an issue.

One short takeaway

For viewing: double-click. For sharing or editing without making the recipient jump through hoops: Vela Docs. Both free, both no-install.

Related reading: