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
- Right Click on any .txt file,
- Click on Properties,
- Click on the button Change... beside Open With:,
- Now Click on More apps... and select Notepad++,
- If you do not see it in the list click on: "Look for another app in PC",
- You will find Notepad++ App installed in either of Program Files or Program Files (x86) based on 32-64 bit version.
- Select notepad++.exe application
- Now all the .txt files will open in Notepad++

Open txt files in Notepad++ by default
Have Questions? Post them here!
More Posts related to NotepadPlusPlus,
- Notepad++ Editor alternatives for macOS
- How to add or remove bookmark on a line in Notepad++
- Notepad++ do not show CRLF characters
- Reduce the size of Tabs on Notepad++
- Delete blank lines in a file using Notepad++
- Fix: Notepad++ bottom status bar not visible
- Notepad++ Hex Editor
- How to show End of Line Characters in File using Notepad++
- [Tutorial] Write And Run Python Code In Notepad++ Editor
- How to install XML Tools Plugin Notepad++
- Customizing Notepad++ New Document Line Encoding: CR/LF/CR LF
- How to remove blank lines from a file using Notepad++
- Column Mode Editing in Notepad++
- Convert text to random case using Notepad++
- How to recover unsaved notepad file Windows 10
- How to delete all text after a character or string in Notepad++
- Setting up Cloud feature with Notepad++
- Install Notepad++ silently using Windows Powershell
- Using Document Map in Notepad++
- Enabling Notepad++ Dark Theme
- [Fix] Notepad++ tab not visible (hidden)
- Where are Notepad++ macros stored?
- Multiple line editing in Notepad++
- Alternatives for Notepad++ on Mac in 2021
- [Nopepad++] How to add text at end of each line
More Posts:
- Error: Failed to validate the signature of the actionable message card - Power Automate Flow - PowerAutomate
- Spring Boot: JDBCTemplate BatchUpdate Update Query Example - Java
- How to Preview HTML, CSS, JavaScript in Notepad++ - NotepadPlusPlus
- Is Facebook is down? Is it just for me? - Facebook
- Adding Jackson dependency to Java Gradle Project - Gradle
- Set Falling Show on Website for Christmas using Pure CSS Code - CSS
- How to create a Array (not using list) in Python - Python
- Fix: Jupyter Notebook says Not Trusted - Python