How to Search for Text in Files on Windows

Method 1 of 2:

Searching for Documents Containing Certain Text

  1. How to Search for Text in Files on Windows Picture 1
    Press Win+S. This opens the Windows Search box.
  2. How to Search for Text in Files on Windows Picture 2
    Type indexing options. A list of matching results will appear.
  3. How to Search for Text in Files on Windows Picture 3
    Click Indexing Options. It should be the first result in the list (and it may be the only result).
  4. How to Search for Text in Files on Windows Picture 4
    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. How to Search for Text in Files on Windows Picture 5
    Click the File Types tab. It's near the top of the window. A list of file types on your computer will appear.
  6. How to Search for Text in Files on Windows Picture 6
    Select Index Properties and File Contents. It's the second radio button beneath the list of file types.
  7. How to Search for Text in Files on Windows Picture 7
    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. How to Search for Text in Files on Windows Picture 8
    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. How to Search for Text in Files on Windows Picture 9
    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. How to Search for Text in Files on Windows Picture 10
    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. How to Search for Text in Files on Windows Picture 11
    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. How to Search for Text in Files on Windows Picture 12
    Press Ctrl+F. This opens the Find or Find and Replace dialog.
  3. How to Search for Text in Files on Windows Picture 13
    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. How to Search for Text in Files on Windows Picture 14
    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.'
4 ★ | 1 Vote

May be interested

  • How to Repair Defective or Missing System Files in WindowsPhoto of How to Repair Defective or Missing System Files in Windows
    many windows problems are caused by damaged or missing system files. damaged or missing system files may stem from malware, failed updates, botched installations, and more. system file checker is a component of windows which can...
  • How to Open MSG Files on MacPhoto of How to Open MSG Files on Mac
    this wikihow teaches you how to open and view all the message contents in an msg file, using a mac. msg files can contain an email, contact, appointment or task created in microsoft outlook on windows. you can use the mail client in the...
  • How to Play WebM FilesPhoto of How to Play WebM Files
    this wikihow will show you how to play files with the webm file extension. a webm file is most likely a compressed video file found online. since webm is such a popular video format online, many programs will open it, like google chrome,...
  • How to Hide a File or Folder from Search Results in Microsoft WindowsPhoto of How to Hide a File or Folder from Search Results in Microsoft Windows
    this wikihow article will teach you the steps to hiding a file or folder (de-indexing it) from your pc's search results in microsoft windows. open file explorer. click the file explorer taskbar icon which resembles a file folder.
  • How to Delete Undeletable Files in WindowsPhoto of How to Delete Undeletable Files in Windows
    sometimes you are faced with an error when you try to delete a file permanently. it may be spyware, malware, ad-ware or any trojan. in some situations, the file is being used by the essential windows programs such as windows explorer,...
  • How to Delete Files Directly Without Sending Them to Recycle BinPhoto of How to Delete Files Directly Without Sending Them to Recycle Bin
    this wikihow article will teach you the simple and easy steps to directly delete files without sending them to the recycle bin. deleting files on the spot is a quick and convenient way to delete files without having to go into the recycle...