Windows search text in files and folders with Notepad++

One of the many useful abilities of Notepad++, is to search multiple text files for a text string and find in files and folders - including subfolder and windows hidden files and folders - and even to find and replace in notepad this search text in all files.


Notepad++ find in files directory

One of the many useful abilities of Notepad++, is to search multiple text files for a text string and find in files and folders - including subfolder and windows hidden files and folders - and even to find and replace in notepad this search text in all files.

Download Notepad++ program to search file contents

It is even more powerful than windows 7 search in files built in function - and even find files faster than windows 8 search file contents and windows 7 explorer search.

Search for a word in all files in a folder

To do so, open the Search menu => Find in Files..., press CTRL + SHIFT + F, or go to Search with CTRL + F and open the Find in Files tab.

Search text in files windows 7

Once there, enter your search string in files (for example 8080) in the Find what field. Then, click on the ... button at the right side of the Directory field.

Select the file folder directory in which you'd like to search for files containing text.

Windows search within files

Enter your folder and search options. On top of the standard Notepad++ search options, you might want to check the In all sub-folders and / or In hidden folders options, to make sure the search is done on all subfolder and also hidden file folder.

Click on Find All once you have set up your search criteria.

How to find hidden folders

You will be returned the list files and directories containing result : how many results in how many files, and, for each file matching your search criteria, the file location, and the line number of each result.

Double click on the filename to show / hide the detail, and double click on the line result to open the file, showing the result line with search highlighted.

This is also a way how to find hidden files on windows, if you know some text they might contain.

Frequently Asked Questions

How to find files in Notepad++?
To do this, open the menu Search - Find in files ..., press CTRL + SHIFT + F or go to Search with CTRL + F and open the Find in files tab.

Windows search text in files and folders with Notepad++


YB Digital
About the author - YB Digital
Yoann is an International Business Consultant, facilitator and coordinator. He worked more than 10 years in global business, supply chain, financial, SAP ERP projects, Web and SEO optimization for various industries, such as logistics, cosmetics, consumer goods, beauty care, or fashion, in more than 30 countries around the globe.



Comments (0)

Leave a comment