: Right-click on any web page, select View Page Source , then use Ctrl + S (Windows) or Cmd + S (Mac) to save the file. You can manually change the extension to .txt during the save process.
If you want to save the HTML or scripts of a website as a .txt file for analysis or offline viewing: Download Source txt
In data science or software development, "Download Source txt" often refers to a script fetching a remote text file to use as a data source. : : Right-click on any web page, select View