x

How to Save a Text File as an HTML

by Scott Stanchak

You can convert a text file to HTML without using special software. Such a conversion can be done with a pre-installed program on your PC or Mac. The conversion process is essentially like saving a file for the first time. All you'll have to do is add a file extension to it.

Step 1

Right-click on the text file you want to save as HTML.

Step 2

Select "Open With" and then "Notepad." If you're using a Mac, the program will be called TextEdit.

Step 3

Click "File" and "Save As" in the program's navigation bar.

Step 4

Choose the location you would like to save your new HTML file. Give your file a title in the text field "File name." Don't leave any spaces and remember to add ".html" (without quotes) at the end of the title. In the drop-down box labeled "Save as type" select "All Files." Select "Save."

Minimize Notepad's window. Locate the HTML file you just saved. Right-click on it, select "Open with" and choose the browser of your choice. The file will open as an HTML document.

Items you will need

  • Notepad (PC) or TextEdit (Mac) software

Video of the Day

Brought to you by Techwalla
Brought to you by Techwalla

About the Author

Scott Stanchak has been a professional journalist since June 2000, specializing in sports and technology. He has contributed to FoxNews.com, NBA.com, USABasketball.com, Time Warner, AT&T and Clear Channel, among other media outlets. Stanchak graduated with a bachelor's degree in communication arts from Ramapo College in New Jersey.

More Articles

Photo Credits

  • website layout image by 6922Designer from Fotolia.com