How to Convert an HTML Document to a Text Document (2024)

Updated: 07/31/2022 by Computer Hope

How to Convert an HTML Document to a Text Document (1)

A web page is made up of plain text and HTML (HyperText Markup Language) programming code used to load pictures and basic formatting of text (e.g., bold, italics, and color). To preserve the spacing and formatting on a web page, it is often saved with a .HTM or .HTML file extension. However, there may be a need to save the text on the web page as a text document or file. Below are several methods for converting, or saving, an HTML web page as a text document.

  • Copy and paste web page text in a text document.
  • Save HTML web page as a text document (losing HTML code).
  • Convert HTML file to a text file (preserving HTML code and text).

Copy and paste web page text in a text document

To save the text on a web page as a text document, follow the steps below.

  1. Access the web page containing the text you want to save as a text document.
  2. Highlight the text on the web page that you want to save in a text document.
  3. Copy the highlighted text.
  4. Open a text-based application, like Notepad.
  5. In the text application, paste the text you copied.
  6. Save the file, creating the text document.

Save HTML web page as a text document (losing HTML code)

To save the text, and any formatting of the text, as a text document, follow the steps below.

Note

Microsoft Word must be installed on your computer to utilize the steps below.

  1. Access the web page you want to save as a text document.
  2. Save the web page as a web page file (.HTM or .HTML file extension). See the details below on how to save the file in Internet Explorer, Google Chrome, and Mozilla Firefox.

Internet Explorer

  • Press the Alt to make the File/Edit/View menu visible. Click the File menu and select Save as.
  • Select the location where you want to save the web page file and make sure the Webpage, complete option is selected in the Save as type drop-down list.
  • Click the Save button.

How to Convert an HTML Document to a Text Document (2)

Google Chrome

  • Right-click the web page and select the Save as option.
  • Select the location where you want to save the web page file and make sure the Webpage, complete option is selected in the Save as type drop-down list.
  • Click the Save button.

Mozilla Firefox

  • Right-click the web page and select the Save Page As option.
  • Select the location where you want to save the web page file and make sure the Webpage, complete option is selected in the Save as type drop-down list.
  • Click the Save button.

Note

In Firefox, instead of selecting the Webpage, complete Save as type option, you can select the Text Files option to save the web page directly to a text document.

  1. Open the Microsoft Word application.
  2. Click the File tab, then click the Open option.
  3. Next to the File name field, in the file type drop-down list, select the All Web Pages option.
  4. Browse to find the web page file you saved from above. Select the file and click the Open button.

How to Convert an HTML Document to a Text Document (3)

  1. Click the File tab again, then click the Save as option.
  2. In the Save as type drop-down list, select the Plain Text (*.txt) option. Additionally, you may need to change the file extension in the File name field to be txt, if it does not automatically change.
  3. Click the Save button to save as a text document.

How to Convert an HTML Document to a Text Document (4)

Convert HTML file to a text file (preserving HTML code and text)

To save a web page as a text document, and preserve the HTML code that provides formatting of the text, follow the steps below.

Note

While the resulting file is a text file, it contains HTML programming code with the text.

  1. Access the web page you want to save as a text document.
  2. Save the web page as a web page file (.HTM or .HTML file extension). See the details below on how to save the file in Internet Explorer, Google Chrome, and Mozilla Firefox.

Internet Explorer

  • Press the Alt to make the File/Edit/View menu visible. Click the File menu and select Save as.
  • Select the location where you want to save the web page file and make sure the Webpage, complete option is selected in the Save as type drop-down list.
  • Click the Save button.

How to Convert an HTML Document to a Text Document (5)

Google Chrome

  • Right-click the web page and select the Save as option.
  • Select the location where you want to save the web page file and make sure the Webpage, complete option is selected in the Save as type drop-down list.
  • Click the Save button.

Mozilla Firefox

  • Right-click the web page and select the Save Page As option.
  • Select the location where you want to save the web page file and make sure the Webpage, complete option is selected in the Save as type drop-down list.
  • Click the Save button.

Note

In Firefox, do not select the Text Files Save as type option, as it only saves the text on the web page and does not preserve the HTML code.

  1. Right-click the saved web page file and select the Open with option.
  2. In the Open with menu, select the Choose another app option.
  3. Find and select the Notepad program in the list of applications, then click the OK button.
  4. Once Notepad is open with the HTML code, click File, then Save as, choose the location where you want to save the file, then click the Save button to save as a text document.
  • See the HTML and text pages for further information and related links.
  • HTML and web design help and support.
How to Convert an HTML Document to a Text Document (2024)
Top Articles
M1 Finance review: A top-notch self-directed investing platform for all investors
How to transfer accounts out of M1? | M1 Help Center
Monthly Forecast Accuweather
Unblocked Games Premium Worlds Hardest Game
Google Jobs Denver
Mndot Road Closures
Mikayla Campinos Videos: A Deep Dive Into The Rising Star
Weather Annapolis 10 Day
Luciipurrrr_
24 Best Things To Do in Great Yarmouth Norfolk
Me Cojo A Mama Borracha
G Switch Unblocked Tyrone
NBA 2k23 MyTEAM guide: Every Trophy Case Agenda for all 30 teams
U Arizona Phonebook
Www.publicsurplus.com Motor Pool
Noaa Duluth Mn
Laveen Modern Dentistry And Orthodontics Laveen Village Az
Clare Briggs Guzman
Titanic Soap2Day
Garnish For Shrimp Taco Nyt
Toothio Login
Chicago Based Pizza Chain Familiarly
Random Bibleizer
4.231 Rounded To The Nearest Hundred
Rgb Bird Flop
10 Best Quotes From Venom (2018)
Craig Woolard Net Worth
Bursar.okstate.edu
Elanco Rebates.com 2022
Southern Democrat vs. MAGA Republican: Why NC governor race is a defining contest for 2024
Bt33Nhn
6143 N Fresno St
Minecraft Jar Google Drive
Joe's Truck Accessories Summerville South Carolina
Maybe Meant To Be Chapter 43
Nacho Libre Baptized Gif
Google Jobs Denver
Hotels Near New Life Plastic Surgery
Banana Republic Rewards Login
Ise-Vm-K9 Eol
Oriellys Tooele
Cocorahs South Dakota
Candise Yang Acupuncture
Gabrielle Abbate Obituary
Ts In Baton Rouge
Kaamel Hasaun Wikipedia
Nope 123Movies Full
Plumfund Reviews
Strange World Showtimes Near Atlas Cinemas Great Lakes Stadium 16
Marion City Wide Garage Sale 2023
Public Broadcasting Service Clg Wiki
Gainswave Review Forum
Latest Posts
Article information

Author: Edmund Hettinger DC

Last Updated:

Views: 6681

Rating: 4.8 / 5 (78 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Edmund Hettinger DC

Birthday: 1994-08-17

Address: 2033 Gerhold Pine, Port Jocelyn, VA 12101-5654

Phone: +8524399971620

Job: Central Manufacturing Supervisor

Hobby: Jogging, Metalworking, Tai chi, Shopping, Puzzles, Rock climbing, Crocheting

Introduction: My name is Edmund Hettinger DC, I am a adventurous, colorful, gifted, determined, precious, open, colorful person who loves writing and wants to share my knowledge and understanding with you.