How to Search for Text in Files on Windows

This wikiHow teaches you how to search for specific text inside any document on your Windows PC. Press . This opens the Windows Search box.

Method 1 of 2:

Searching for Documents Containing Certain Text

  1. Picture 1 of How to Search for Text in Files on Windows
    Press Win+S. This opens the Windows Search box.
  2. Picture 2 of How to Search for Text in Files on Windows
    Type indexing options. A list of matching results will appear.
  3. Picture 3 of How to Search for Text in Files on Windows
    Click Indexing Options. It should be the first result in the list (and it may be the only result).
  4. Picture 4 of How to Search for Text in Files on Windows
    Click Advanced. It's the button at the bottom of the window. Depending on your settings, you may also be asked to confirm the action or enter your administrator password.
  5. Picture 5 of How to Search for Text in Files on Windows
    Click the File Types tab. It's near the top of the window. A list of file types on your computer will appear.
  6. Picture 6 of How to Search for Text in Files on Windows
    Select Index Properties and File Contents. It's the second radio button beneath the list of file types.
  7. Picture 7 of How to Search for Text in Files on Windows
    Click OK. Windows will now begin to index the text within your documents instead of just their titles. Now that you've made this change, you can search for a file by typing some of the words it contains.
  8. Picture 8 of How to Search for Text in Files on Windows
    Press Win+S. This opens the search box. Now you'll try searching for a file based on some of its text.
    1. You can also search using the File Explorer (which you can launch by pressing Win+E). Just type your search criteria into the search bar at the top-right corner of the window.
  9. Picture 9 of How to Search for Text in Files on Windows
    Type your search criteria and press Enter. Windows will return a list of files that contain the text you entered.
    1. This tool will only return exact matches. Make sure all spaces and symbols are in the correct places, and that you've made no spelling mistakes.
  10. Picture 10 of How to Search for Text in Files on Windows
    Double-click the file to open it. The file should open in its default application, such as Microsoft Word or Notepad.
    1. See this method to learn how to search the currently-open document for a string of text.
Method 2 of 2:

Searching for Text in an Open Document

  1. Picture 11 of How to Search for Text in Files on Windows
    Open your document in its default application. This method should work for the majority of text/word processing applications, including Microsoft Word and Notepad.
  2. Picture 12 of How to Search for Text in Files on Windows
    Press Ctrl+F. This opens the Find or Find and Replace dialog.
  3. Picture 13 of How to Search for Text in Files on Windows
    Enter the text you want to find. Be specific—this tool will only return exact matches. Make sure all spaces and symbols are in the correct places, and that you've made no spelling mistakes.
  4. Picture 14 of How to Search for Text in Files on Windows
    Press Enter. The application should now display the text you searched for highlighted in a different color. If no matching text is found, you'll see a message that says something like 'The search item was not found.'
Update 04 March 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile