Export data to a text file by saving it You can convert an Excel worksheet to a text file by using the Save As command. Go to File > Save As. The Save As dialog box appears. In the Save as type box, choose the text file format for the worksheet.