Download Article Download Article

HTM files are most commonly known as HTML files, which are the files that contain HTML. If you open an HTM file in a text editor like Notepad or TextEdit, you’ll only see lines of text and symbols. But when you open HTM files in a web browser like Safari, Edge, or Chrome, you'll see the web page created by the code. This wikiHow will show you how to open HTM files using apps that are already on your Windows or macOS computer.

Things You Should Know

  • Right click the file you want to open. Click Open with and choose a web browser. The file will open in view only mode.
  • To edit, open Notepad (PC) or TextEdit (Mac). Click File > Open and choose your HTM file.
  • You can also use third party applications such as Dreamweaver, Eclipse, and Bluefish to open, edit, and preview HTML files.
Method 1
Method 1 of 2:

Opening for Viewing

Download Article
  1. Web browsers like Chrome, Safari, and Microsoft Edge display HTML coding as websites rather than opening them for editing. You can use this method to view the file as a webpage.
  2. A menu will expand.
    Advertisement
  3. A list of apps on your computer will appear.
  4. Some common options are Edge, Safari, Chrome, and Firefox. Once you select a browser, it will open to display the webpage as it’s coded.
  5. Advertisement
Method 2
Method 2 of 2:

Opening for Editing

Download Article
  1. These text editors come with your computer and can be used to edit HTM files. You’ll find the app on either your Start menu or in the Applications folder.
  2. You’ll see this either at the top of the program window or at the top of your screen.
  3. A file browser will pop up.
  4. This opens the HTML file for editing.
    • After editing the file, you can save your changes by clicking the File menu and selecting Save.
    • See the "Using Chrome or Safari" method to learn how to view your changes in a web browser.
  5. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips


Submit a Tip
All tip submissions are carefully reviewed before being published
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Advertisement

About This Article

Darlene Antonelli, MA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene Antonelli is a Technology Writer and Editor for wikiHow. Darlene has experience teaching college courses, writing technology-related articles, and working hands-on in the technology field. She earned an MA in Writing from Rowan University in 2012 and wrote her thesis on online communities and the personalities curated in such communities. This article has been viewed 128,343 times.
How helpful is this?
Co-authors: 8
Updated: February 13, 2024
Views: 128,343
Categories: HTML
Article SummaryX

1. Open Notepad (Windows) or TextEdit (Mac).
2. Click the File tab.
3. Click Open.
4. Navigate to and double-click your HTM file.

Did this summary help you?

Thanks to all authors for creating a page that has been read 128,343 times.

Is this article up to date?

Advertisement