Searching for and finding one or more specific words in a file can depend on the software program used to open and view the file’s contents. Many programs contain an Edit, Options, or Search menu, which includes a Find feature used to search for one or more words that the file may contain. Other programs may have a Ribbon menu at the top of the program window, and the Find option is available in that Ribbon menu. Below is a list of popular programs and how to find text in the files they open.
Finding text in a Word document
In Microsoft Word, older versions featured the Edit menu, and the Find option is found in that menu. Newer versions of Word feature a Ribbon, and the Find option is found on the Home tab, on the far right side.
In many applications, you can use the Ctrl+F shortcut keys to open the Find option. On an Apple running macOS, you can use Command+F to open the find option.
- Finding text in a Word document.
- Finding text in an Excel spreadsheet.
- Finding text in an Internet browser.
- Finding text in Notepad and WordPad.
- Finding text in all other programs.
The Ctrl+F and Command+F keyboard shortcut keys also work in Microsoft Word.
In the find pane on the left side of the window, search the document for text. For advanced options, click the down arrow next to the Find for an Advanced Find.
To get even more find options in the Find and Replace, click the More button (if shown) to get more options that should resemble the picture below.
If you want to replace the found text, click the Replace option, located below Find. For additional details about finding and replacing text in a document, see: How to find and replace text within a text file.
With the more advanced options, you can perform additional searches that use wildcards, match the case, and the other options shown in the above picture.
Finding text in an Excel spreadsheet
In Microsoft Excel, older versions featured the Edit menu, and the Find option is found in that menu. Newer versions of Excel feature a Ribbon, and the Find & Select option is on the Home tab, on the far right side.
The Ctrl+F and Command+F keyboard shortcut keys also work in Microsoft Excel and other spreadsheet programs.
Once the Find or Find and Replace box opens, you can specify the text to search for in your spreadsheet.
Finding special characters
In Excel, the question mark (?) and asterisk (*) are treated as wildcards. To find text containing a question mark or asterisk, the character must be changed into a literal character by adding a tilde. For example, to find cells containing a question mark, look for “~?” instead of “?” in the find box.
Finding text in an Internet browser
The Ctrl+F and Command+F keyboard shortcut keys also work in all Internet browsers. After entering the shortcut keys, a find box appears in the top-right corner, bottom, or center, depending on your browser. Entering the text you want to find highlights the text or moves the window to the text on the page you are currently reading.
- How to find information on the Internet.
Finding text in Notepad and WordPad
In Notepad and early versions of Windows WordPad, you can also locate the Find under the Edit file menu option. In new versions of WordPad that use the Ribbon, you can find the Find option on the far right side of the Home tab on the Ribbon. Once the shortcut key opens Find, or you click the Find option in the Ribbon, you can enter the text you want to find in the file.
The Ctrl+F and Command+F keyboard shortcut keys also work in Microsoft Notepad and Microsoft WordPad.
The shortcut keys and Find option do not work in Notepad or WordPad until there’s text on the page you are viewing.
Finding text in all other programs
Text editing programs often feature an Edit or Search menu, and the Find option is found in that menu. Some Internet browsers have the Edit menu, while others have a general Options menu, with the Find option located in either of those menus.
As previously mentioned, the Ctrl+F and Command+F keyboard shortcut keys work in most applications. If you have not already tried this shortcut key, we recommend trying it before following any of the below suggestions.
If you do not see the File, Edit, or View menus, because your program does not have a menu bar, you can try pressing Alt to reveal the menu bar. When it appears, you can select the menu you want.
After opening the Find option, type in one or more words you want to search for and find in the file. After typing the text, the first occurrence of that text may automatically be highlighted. You may need to press Enter to display the first occurrence of the text. If there are multiple occurrences of the text, pressing Enter or clicking a Down arrow button on the Find window should display the next occurrence. Continue pressing Enter or the down arrow to cycle through each occurrence in the file.
Related information
- How to find and replace text within a text file.
- See our find definition for additional information and related links.
- Text help and support.