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

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail:

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap