To change encoding of file from ANSI to UTF-8 in Windows Notepad you can follow the below steps.
- Open the file with Notepad.
- Now go to File > Save as or press Control + Shift + S

- Now under Encoding dropdown, select UTF-8.

- 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!

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