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,
- [Solution] Notepad++ Compare option unavailable
- How to delete all text after a character or string in Notepad++
- Notepad++ hex editor Examples
- Add Custom header and footer to Windows Notepad file
- Unable to edit file in Notepad++
- Locate Notepad++ unsaved files backup location
- Add Text at Start and End of Each Line Notepad++
- [Tutorial] How to Customize Notepad++ Toolbar
- How to hide lines in Notepad++
- How to close all tabs of Notepad++?
- Notepad++ Save Failed - Please check if this file is opened in another program.
- How to connect to an FTP or SFTP location using Notepad++
- How to add or remove bookmark on a line in Notepad++
- Enabling Notepad++ Dark Theme
- Notepad++ Reload - This file has been modified by another program. Do you want to reload it?
- Prettify JSON in Notepad++
- Portable Notepad++ for windows
- Alternatives for Notepad++ on Mac in 2021
- Indent XML Formatting In Notepad++
- Go to Line Number option in Windows Notepad
- Word count in Notepad++
- Show Notepad++ tabs in multiple lines instead of scroll on tab bar
- [Nopepad++] How to add text at end of each line
- How to open a new tab in Notepad++
- How to open Notepad?
More Posts:
- How to close all tabs of Notepad++? - NotepadPlusPlus
- Spotlight Search Mac Keyboard Shortcut - MacOS
- How to detect Browser and Operating System Name and Version using JavaScript - JavaScript
- How to Update Chrome Browser on Mac? - Chrome
- Android Emulator window was out of view and was recentered - Android-Studio
- CSS: Apply opacity only for div background and not text - CSS
- 100+ Hashtags for BST ARMY - BTS
- Android Error Generating Final Archive - Debug Certificate Expired - Android