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:
- How to check if a port is in use using terminal [Linux or macOS] - MacOS
- [Solution] com.amazonaws.dynamodb.v20120810 MissingAuthenticationToken Key Id or X.509 certificate - AWS
- Informal written computer correspondence acronyms list and meanings - 2022
- Android [SDK Manager] The system cannot find the path specified - Android-Studio
- Convert JSON String to Java GSON Object Example - Java
- How to rerun last command in Zsh shell - HowTos
- How to check the size of a Docker Container - Docker
- Have you noticed MacOS Ventura About this Mac look like Mac OS X - Mac-OS-X