How to check if a .txt file is in ASCII or UTF-8 format in Windows environment? September 26, 2023 by Tarik Open the file in Notepad. Click ‘Save As…’. In the ‘Encoding:’ combo box you will see the current file format.