The fastest way to search within a document
Use Ctrl+F on Windows or Cmd+F on Mac to open the search box in almost any document or webpage. Type the word or phrase you want to find, and the program will highlight every match and jump to the first one. This works in Microsoft Word, Google Docs, PDFs, web browsers, and most other programs that display text.
The search box usually appears at the top or bottom of your screen as a small bar with a text field. Once you type your search term, you can press Enter or click the down arrow to move to the next match. Most programs show you how many matches exist — for example, "3 of 47" — so you know whether you found what you're looking for.
Key Takeaways
- Press Ctrl+F (Windows) or Cmd+F (Mac) to open the search box in nearly any document, and type the word you want to find.
- The search highlights every match in the document and shows you how many times that word appears.
- Use the arrow buttons or Enter key to move between matches one at a time.
- Most programs offer a "Replace" option so you can change one word to another throughout the entire document at once.
- Search is case-insensitive by default in most programs, meaning it finds "the", "The", and "THE" as the same word.
How to navigate between search results
After you type your search term and press Enter, the program jumps to the first match and highlights it in color. Click the down arrow button (or press Enter again) to move to the next match. Click the up arrow to go back to the previous match. Some programs also let you press F3 or Shift+F3 to move forward and backward without clicking.
The counter in the search box tells you which match you're on. If it says "5 of 23", you're looking at the fifth occurrence of your search term, and there are 23 total in the document. This helps you know whether you've found what you need or whether you should keep searching.
Using Find and Replace to change words throughout a document
Most programs let you replace text as you search. Press Ctrl+H on Windows or Cmd+Option+F on Mac to open the Find and Replace dialog. Type the word you want to find in the first field and the word you want to replace it with in the second field.
You can replace one match at a time by clicking "Replace", or change every match in the document at once by clicking "Replace All". Be careful with Replace All — if you search for a short word like "the", you might accidentally change parts of longer words. For example, replacing "the" with "a" would turn "weather" into "weaer". Most programs let you undo this with Ctrl+Z if you make a mistake.
Advanced search options in different programs
Microsoft Word's Find pane (Ctrl+F) includes options to search for whole words only, match case (so "The" and "the" are different), and find words with specific formatting like bold or italic. Click "Options" or the three dots to see these choices. Google Docs has fewer options in the basic search, but you can use quotation marks around a phrase to find exact matches — for example, searching for "climate change" will skip documents that mention climate and change separately.
PDF readers like Adobe Acrobat and most web browsers use the same Ctrl+F shortcut, though they have fewer options than Word or Docs. Some PDF programs let you search across multiple files at once, which is useful if you're looking for a term in a folder of documents. Check your program's menu or help section to see what search features are available.
Why your search might not find what you're looking for
If you search for a word and the program says "0 matches", the word might be spelled differently than you expect, or it might not be in the document at all. Try searching for just part of the word — search for "color" instead of "coloring" to catch both versions. If you're searching for a name or term with multiple spellings, search for each version separately.
Some documents contain scanned images of text rather than actual text you can search. If you open a PDF that's really a photograph of a page, the search won't work because the program can't read the text in the image. You can tell this happened if the search finds nothing even though you can see the word on the page. Some programs offer optical character recognition (OCR) to convert image text to searchable text, but this feature is usually only in professional PDF software.
Searching across multiple documents at once
If you need to find a word in many documents, most programs let you search a whole folder. In Microsoft Word, go to File > Open and use the search box at the top right to look across all files in a folder. Google Drive has a search box at the top that searches across all your documents, sheets, and slides at once — type your search term and it shows you which files contain it.
On Windows, you can also search your entire computer by opening File Explorer, typing your search term in the box at the top right, and choosing to search in a specific folder. On Mac, use Spotlight (Cmd+Space) to search your computer, or open Finder and use the search box in the top right corner. These system-wide searches work best when you're looking for a file name rather than text inside files.
Keyboard shortcuts for faster searching
| Action | Windows | Mac |
|---|---|---|
| Open Find | Ctrl+F | Cmd+F |
| Open Find and Replace | Ctrl+H | Cmd+Option+F |
| Find next match | Enter or F3 | Enter or Cmd+G |
| Find previous match | Shift+F3 | Cmd+Shift+G |
| Close search box | Escape | Escape |
These shortcuts work in most programs, though some have slight variations. If a shortcut doesn't work in your program, check the Edit menu — the search option is usually listed there with the keyboard shortcut shown next to it.
Frequently Asked Questions
Can I search for part of a word?
Yes. If you search for "ing", the program will find every word ending in "ing" — running, walking, searching, and so on. This is useful when you're not sure of the exact spelling or when you want to find all related words at once. If you want to find only the word "ing" by itself, check the "Whole words only" option in your program's advanced search settings.
How do I search for special characters like question marks or asterisks?
In most programs, you can search for special characters by typing them directly into the search box. However, some programs treat asterisks (*) and question marks (?) as wildcards that match any character. If your search isn't working, try putting the special character in quotation marks, or check your program's help menu for instructions on searching for symbols.
Does search work the same way in Google Docs as it does in Microsoft Word?
The basic search (Ctrl+F) works the same way in both programs — type your term and navigate between matches. Google Docs has fewer advanced options like "match case" or "whole words only" in the basic search box. If you need those features in Google Docs, you may need to use a browser extension or switch to Word for that particular task.
What's the difference between searching and using Find and Replace?
Find (Ctrl+F) lets you locate text but doesn't change it. Find and Replace (Ctrl+H) lets you both find text and swap it for something else throughout the document. Use Find when you just want to locate something, and Find and Replace when you want to change multiple instances of a word or phrase at once.
Can I search for line breaks or paragraph marks?
In Microsoft Word, you can search for paragraph marks by typing ^p in the search field, or line breaks by typing ^l. Google Docs doesn't have this feature in the basic search. If you need to find or replace formatting like paragraph breaks, Word's Find and Replace dialog is your best option.