Open Notepad , type your text, go to File > Save As , and ensure the extension is .txt .
Open TextEdit , go to Format > Make Plain Text , and then save.
Most browsers will try to a text file in a new tab instead of downloading it. Use this method to force a download: Right-click the download link or the file icon.