How to know file encoding in Microsoft Windows Notepad?

If you want to know the file encoding (UTF-8, ANSI e.t.c) using Microsoft Window's Notepad Application you can do it by following below simple steps,

  1. Open your file in Notepad Application.
  2. Go to View and click on Status Bar if that's not selected.
  3. Now at the bottom right you should see the encoding of the file.

Let's see an demonstration, as you can see the file that I opened uses ANSI encoding and follows Windows CRLF,

Know File Encoding Using Windows Notepad Application
Know File Encoding Using Windows Notepad Application
Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
πŸŽ‰ We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -