This is a text-based web browser tool.

lynx

Dump Contents of HTML Page

lynx -dump myfile.html > myfile.txt