How to Change Encoding of File from ANSI to UTF-8 in Windows Notepad

To change encoding of file from ANSI to UTF-8 in Windows Notepad you can follow the below steps.

  1. Open the file with Notepad.
  2. Now go to File > Save as or press Control + Shift + S
    Save as on Notepad on Windows
  3. Now under Encoding dropdown, select UTF-8.
    Notepad file save as UTF-8 instead of ANSI
  4. Click Save (you will see a prompt file already exits! Do you want to replace it? Click Yes)

Now the file encoding will be changed to UTF-8.


File Encoding Options in Windows Notepad App

UTF-16 LE
UTF-16 BE
UTF-8
UTF-8 with BOM

This is not an AI-generated article but is demonstrated by a human on a Windows 11 PC.

Please support independent contributors like Code2care by donating a coffee.

Buy me a coffee!

Buy Code2care a Coffee!

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!