How to Convert HTML to Plain Text

By Katelyn Kelley

HTML Converted to Text with Copy and Paste (TextEdit).
i Catherine Chant

HTML (Hypertext Markup Language) is used to create Web pages. It is text based but includes "tags" that define how text on a Web page is displayed. But because the HTML codes are hidden by the Web browser, you can copy the viewable text from the browser window and paste it into any application that accepts text, such as the free editor included with Windows (Notepad) or Macintosh OSX (TextEdit). Some Web browsers can also save HTML pages as text without the tags.

Save As Text with Web Browser

Open the HMTL document or Web page you want to convert to text in your Web browser software.

Click the File menu and select "Save As" (or page menu and "Save As" in Internet Explorer).

Firefox Save As Dialog Box.

Choose "Text Pages" from the drop-down format menu and choose a destination for the text file.

TextEdit Reading Web Page Saved as Text.

Click "Save," then exit the browser and locate the text file you saved. You can open this in any application that can read a text file such as NotePad in Windows. Some text editors who read the saved HTML file might display it with no carriage returns or line breaks. If that happens, try the next method.

Copy and Paste to Notepad (Windows) or TextEdit (Macintosh)

Open the HMTL document or Web page you want to convert to text in your Web browser software.

Click and drag over the text you want to convert or press Ctrl+A (Command+A on Macintosh) to select the entire page.

Click the "Edit" menu, then "Copy."

Copy and Paste Into Notepad.

Open the Notepad application (Windows) or the TextEdit application (Macintosh) and click "Paste" under the "Edit" menu. You will now have the text contents of the Web page in the text editor window.

NotePad Save As Dialog Box.

Click the "File" menu, then "Save As" to save the new document as a text file, and you will have successfully converted the Web page HTML to text.

×