Use the Find function to locate text when ready
Every document editor has a Find function that searches for a word or phrase and jumps you to each match. You open it with Ctrl+F on Windows or Cmd+F on Mac, type what you are looking for, and the editor highlights every instance on the page. This takes seconds instead of scrolling through a ten-page document by hand.
The Find function works the same way across nearly all editors — Microsoft Word, Google Docs, LibreOffice, Apple Pages, and most others follow this pattern. Once you know how to use it in one, you can use it in all of them. It is one of the most useful shortcuts you will learn.
Key Takeaways
- Press Ctrl+F (Windows) or Cmd+F (Mac) to open the Find box, then type the word or phrase you want to locate.
- The editor highlights all matches and shows you how many times the word appears in your document.
- Use the arrow buttons or Enter key to move between matches one at a time.
- Find and Replace lets you change every instance of a word at once, which saves time when you need to update names, dates, or repeated phrases.
- Search options like "Match case" and "Whole words only" help you narrow results when a straightforward search returns too many matches.
Opening Find and typing your search
Press Ctrl+F on a Windows computer or Cmd+F on a Mac. A small box appears at the top or side of your document — the exact location depends on which editor you use, but it always has a text field where you type. Type the word or phrase you want to find. You do not need to press Enter; most editors start highlighting matches as soon as you type.
If you are searching for a phrase with multiple words, type the whole thing. For example, typing "quarterly earnings report" will find that exact phrase, not just documents that contain all three words scattered throughout. The editor shows you how many matches it found, usually in the form "1 of 5" or "5 matches found."
Moving between matches and closing the search
Once the editor highlights your matches, use the up and down arrow buttons in the Find box to jump from one match to the next. You can also press Enter to go to the next match, or Shift+Enter to go to the previous one. The editor scrolls your document automatically so each match appears on screen.
When you are done searching, press Escape or click the X button to close the Find box. Your document stays open and you stay at whatever position the search left you in. If you want to search for something else, open Find again — you do not have to close and reopen.
Using Find and Replace to change multiple instances at once
If you need to change a word throughout your document — for example, updating a person's name or correcting a repeated misspelling — use Find and Replace instead of Find alone. Open it with Ctrl+H on Windows or Cmd+Option+F on Mac (the shortcut varies slightly by editor, so check your editor's menu if that does not work).
The Find and Replace box has two fields: one for the word you want to find, and one for what you want to replace it with. Type the old text in the first field and the new text in the second. You can then click "Replace All" to change every instance at once, or click "Replace" one at a time if you want to check each match before changing it. Replace All is much faster when you are confident the change is correct.
Be careful with Replace All on very common words. If you search for "the" and replace it with "that," you will change every instance of "the" in your entire document, which is almost never what you want. Start with a Find search to see how many matches exist before you use Replace All.
Narrowing your search with options
Most editors offer search options that help you find exactly what you need when a straightforward search returns too many results. The most useful options are Match case and Whole words only.
Match case means the search only finds the word with the exact capitalization you typed. If you search for "John" with Match case on, it will not find "john" or "JOHN." This is useful when you are looking for a proper name and want to avoid matches in the middle of sentences.
Whole words only means the search only finds your word when it stands alone, not when it is part of a longer word. If you search for "cat" with Whole words only on, it will find "cat" but not "catalog" or "category." This prevents accidental matches that are not what you are looking for.
To access these options, look for a button labeled "Options," "More," or a gear icon in the Find box. The exact location and name depend on your editor, but they are always nearby.
Searching across multiple documents
The Find function searches only the document you have open. If you need to search across multiple files — for example, finding a phrase in all your project notes — you will need to use your operating system's file search instead. On Windows, use File Explorer's search box. On Mac, use Spotlight (press Cmd+Space and type your search).
These system-level searches look inside document files and show you which files contain your phrase. You can then open each file individually and use Find within that document to locate the exact spot. This is slower than searching a single document, but it is the standard way to search across files.
What to do when Find does not work as expected
If you search for a word and the editor says it found zero matches, but you are certain the word is in your document, the problem is usually one of three things. First, check your spelling — a typo in the search box will return no results. Second, check whether you have accidentally turned on Match case and typed in the wrong capitalization. Third, make sure you are searching the right document; it is straightforward to open the wrong file by mistake.
If Find is highlighting text you did not expect, you probably have Whole words only turned off, which means it is matching your search term inside longer words. Turn that option on to narrow your results. If you are still getting unexpected matches, try adding more context to your search — instead of searching for "set," search for "set the table" to avoid matching "sunset" or "offset."
Frequently Asked Questions
Can I search for a phrase with a line break in the middle?
Most editors do not support searching across line breaks in the basic Find function. If you need to find text that wraps to a new line, try searching for just the first few words without the line break. If that returns too many results, use Find and Replace with regular expressions, which is an advanced feature available in some editors like LibreOffice and Google Docs.
What if I want to find a word but ignore it in headers or footnotes?
The standard Find function searches your entire document, including headers, footers, and footnotes. Most editors do not have a built-in way to exclude these areas from search. Your best option is to search normally, then skip matches you do not need by using the arrow buttons to move to the next one.
Does Find work the same way in Google Docs as it does in Microsoft Word?
The basic Find function works almost identically — Ctrl+F or Cmd+F opens the search box, and you type to search. Google Docs offers slightly fewer options than Word, but the core feature is the same. Find and Replace also works in both, though the keyboard shortcut differs slightly.
Can I search for special characters like asterisks or question marks?
Yes, but you may need to escape them first. In most editors, typing an asterisk or question mark directly will search for that character. If the editor treats them as wildcards instead, look for a "Regular expressions" option in the search settings and turn it off, or put a backslash before the character you want to find.