Make Notepad++ the default App for .txt file extensions

On Windows Operating System but default all .txt extension files (.txt) are opened in Notepad Application, but Notepad lacks advanced features if you want to manipulate the text in the file - such as - Find and Replace using Regular Expressions, Syntax Highlighting, Indentation, XML, JSON validation and so much more. So if you are a programmer or a Computer Science student I am sure you would like to open text files in Notepad++.

Steps: Make Notepad++ an Default Application for .txt file

  1. Right Click on any .txt file,

  2. Click on Properties,

  3. Click on the button Change... beside Open With:,

  4. Now Click on More apps... and select Notepad++,

  5. If you do not see it in the list click on: "Look for another app in PC",

  6. You will find Notepad++ App installed in either of Program Files or Program Files (x86) based on 32-64 bit version.

  7. Select notepad++.exe application

  8. Now all the .txt files will open in Notepad++

Open txt files in Notepad++ by default
Open txt files in Notepad++ by default

Have Questions? Post them here!
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 -