Finding text in a document takes one keystroke
The fastest way to search within a document is to press Ctrl+F on Windows or Cmd+F on Mac. A search box will appear, usually at the top or bottom of your screen. Type the word or phrase you're looking for, and the program will highlight every match in the document and jump to the first one. This works in nearly every document editor, web browser, and PDF reader.
If you're using a phone or tablet, the method depends on your app. In Google Docs on mobile, tap the three-line menu icon, then select "Find and replace". In Microsoft Word on iPad or Android, tap the magnifying glass icon at the top. On an iPhone or Android phone viewing a PDF, swipe down from the top to reveal the search bar.
The search box stays open while you work, so you can keep searching for the same term without reopening it. Press Enter or click the down arrow to jump to the next match. Most programs also show you how many matches exist — useful when you're trying to count how many times a word appears.
Key Takeaways
- Press Ctrl+F (Windows) or Cmd+F (Mac) to open the search box in almost any document or browser.
- Type your search term and the program highlights all matches and jumps to the first one automatically.
- Use the arrow buttons or Enter key to move between matches without closing the search box.
- Most programs show a count of total matches, helping you see how many times a word appears in the document.
- On phones and tablets, look for a magnifying glass icon or a menu option labeled "Find" or "Find and replace".
How to narrow your search with capitals and whole words
When you search for "read", most programs will also highlight "reading", "reader", and "already" — any word containing those letters. If you only want the exact word "read", look for a button labeled "Match whole words" or "Whole words only". This option is usually represented by a box with letters inside it, or you can click the button directly in the search panel.
Searching is case-sensitive in some programs and not in others. Google Docs ignores capital letters by default, so searching for "john" finds "John", "JOHN", and "john" all the same. Microsoft Word also ignores capitals unless you turn on "Match case". If you need to find only the capitalized version of a word, look for a "Match case" checkbox or button in the search panel and enable it.
These options are most useful when you're working with a long document and need to find a specific instance. For example, if you're editing a contract and need to find every instance of the word "may" but not "maybe", turning on "Whole words" saves you from scrolling past irrelevant matches.
Using Find and Replace to change text across the whole document
Find and Replace does two things at once: it finds every instance of a word or phrase, then replaces it with something else. Open it by pressing Ctrl+H on Windows or Cmd+Option+F on Mac. A panel will appear with two boxes — one for what you're searching for, one for what you want to replace it with.
Type your search term in the first box and your replacement in the second. You can then choose to replace one match at a time by clicking "Replace", or replace every match in the document at once by clicking "Replace All". Most programs will tell you how many replacements were made. Use "Replace All" carefully — if you make a mistake, press Ctrl+Z (or Cmd+Z on Mac) when ready to undo.
This feature is especially useful for fixing repeated mistakes. If you've spelled someone's name wrong throughout a document, or used the wrong term in multiple places, Find and Replace fixes it everywhere at once. You can also use it to reformat — for example, replacing "Mr. Smith" with "Smith" across the document, or changing "email" to "e-mail" everywhere it appears.
Advanced search options in different programs
Google Docs offers a "More options" button in the search panel that lets you search by formatting. You can find all text that's bold, italic, underlined, or a specific color. This is helpful when you're trying to locate all the headings in a document (often formatted differently) or all the text you've marked for revision.
Microsoft Word's Find and Replace panel includes a "More" button that reveals options for searching by font, size, style, and formatting. You can also search for special characters like paragraph marks or tabs by clicking "Special". This is useful when you're cleaning up a document and need to find all the places where you've pressed Enter twice in a row, or where you've used a tab instead of proper spacing.
Adobe Reader (for PDFs) has a simpler search, but you can search across multiple PDF files at once if you have them open in the same window. Some PDF editors let you search by annotation type — finding all comments, highlights, or strikethroughs you've made.
Why search doesn't always find what you're looking for
The most common reason a search fails is a typo in your search term. If you're looking for "accommodate" but type "accomodate", the search will find nothing. Double-check your spelling, or try searching for just part of the word — searching for "accom" will find "accommodate" even if you misspelled it.
Invisible characters can also hide text from search. If you copy and paste text from a website or email, it sometimes includes extra spaces, line breaks, or formatting that isn't visible on screen. If searching for a phrase doesn't work, try searching for just one word from that phrase, or break it into smaller pieces.
In some programs, search doesn't look inside text boxes, headers, footers, or comments unless you enable those options. If you know a word is in the document but the search isn't finding it, check the search settings to make sure you're searching in all the places the text might be hidden.
Keyboard shortcuts for faster searching
Once the search box is open, you don't need to touch your mouse. Press Enter or the down arrow key to jump to the next match. Press Shift+Enter or the up arrow key to jump to the previous match. This lets you move through results quickly without clicking buttons.
In most programs, pressing Escape closes the search box. If you want to search for the same term again later, open the search box and your previous search will still be there — you can press Enter to find the next match without retyping anything.
Some programs let you press Ctrl+G (or Cmd+G on Mac) to find the next match without opening the search box again. This is faster if you're moving through results one at a time and don't need to see the search panel.
Searching in different document types
Plain text files (.txt) and formatted documents (.docx, .odt) both support the standard Ctrl+F search. PDFs work the same way, though some older PDFs that are actually scanned images won't let you search at all — the text isn't readable to the program, only the image is.
Spreadsheets like Excel and Google Sheets also use Ctrl+F, but the search works differently. It searches cell contents, not formulas. If a cell contains a formula that produces the number "100", searching for "100" will find it. Searching for the formula itself requires opening the Find and Replace panel and enabling "Search in formulas".
Presentations (PowerPoint, Google Slides) search across all slides at once. When you find a match, the program jumps to that slide and highlights the text. This is useful for finding a specific quote or name across a long presentation without clicking through every slide manually.
Frequently Asked Questions
Can I search for part of a word?
Yes. If you search for "walk", you'll find "walk", "walking", "walked", and "walker" all at once. If you only want the exact word "walk", turn on the "Whole words" option. To find just the beginning of a word, search for that part — "walk" finds all the variations listed above.
What's the difference between Find and Find and Replace?
Find (Ctrl+F) only locates text and highlights it. Find and Replace (Ctrl+H) lets you change the text once you've found it. Use Find when you just need to locate something. Use Find and Replace when you need to change it throughout the document.
Why does my search find words I didn't mean to search for?
The search is finding your term inside other words. For example, searching for "read" finds "bread" and "thread". Turn on "Match whole words" to find only the exact word you typed, not words that contain it as part of a larger word.
Can I search for text with specific formatting, like bold or italic?
Yes, but only in some programs. Google Docs and Microsoft Word both let you search by formatting through their "More options" or "More" buttons. PDF readers and plain text editors usually don't have this feature.
Does searching work the same way on my phone?
The basic idea is the same — you open a search box and type what you're looking for — but the button location changes. Look for a magnifying glass icon or a menu option labeled "Find". On some apps, you may need to open the menu (three lines or three dots) to find the search option.