Finding text in a document takes one keystroke
The fastest way to search a document is the keyboard shortcut Ctrl+F on Windows or Cmd+F on Mac. This opens a search box — usually a small bar at the top or side of your screen — where you type the word or phrase you want to find. The program highlights every match in the document and jumps to the first one. This works in nearly every document editor, web browser, and PDF reader.
You do not need to know where the text is or how the document is organized. You do not need to read through pages. Type what you are looking for and the program finds it for you. This is especially useful in long documents, contracts, or instruction manuals where a single detail might be buried on page 47.
The search box stays open while you work, so you can search for multiple words one after another without closing and reopening it. Most programs also let you search backwards through the document or jump to the next match with a single click or keyboard press.
Key Takeaways
- Press Ctrl+F (Windows) or Cmd+F (Mac) to open the search box in almost any document editor, browser, or PDF reader.
- Type the word or phrase you want to find, and the program highlights every match and jumps to the first one.
- Use the navigation buttons or arrow keys to move between matches without closing the search box.
- Most search boxes have options to match capitalization, search whole words only, or use wildcards for partial matches.
- The search function works the same way across different document editors, so once you learn it in one program, you can use it everywhere.
Opening the search box on different devices
On a desktop or laptop computer, Ctrl+F (Windows) or Cmd+F (Mac) opens the search box in almost every program. On a tablet or phone, the method depends on the app. In Google Docs on a phone, tap the three-dot menu and select "Find and replace". In Microsoft Word on a phone, tap the magnifying glass icon at the top. In Apple Pages on an iPad, tap the three-dot menu, then "Find". PDF readers on phones usually have a search icon in the toolbar.
If you cannot find a search option in your app, check the help menu or look for a magnifying glass icon in the toolbar. Some older or simpler apps do not have a search function built in, though this is rare in modern document editors.
Typing what you are looking for
Type the exact word or phrase you want to find in the search box. The search is usually case-insensitive by default, meaning it finds "the", "The", and "THE" all the same way. If you want to find only the exact capitalization, look for a button labeled "Match case" or "Aa" in the search box and turn it on.
If you are searching for a phrase with multiple words, type the whole phrase. Searching for "rental information" will find that exact phrase but not documents that say "information with rental payments". If you want to find documents that contain both words anywhere in the text, search for one word at a time.
Some search boxes also have a "Match whole words only" option, useful when you want to find "rent" but not "rental" or "rented". This button usually looks like "ab" or has a label next to it. Turn it on before you search if you need this level of precision.
Moving between matches in your document
After you type your search term, the program highlights the first match and jumps to it. To move to the next match, press Enter, click the down arrow button in the search box, or press the down arrow key on your keyboard. To move backwards to the previous match, click the up arrow button or press Shift+Enter.
Most search boxes show you how many matches exist — for example, "3 of 47" means you are on the third match out of 47 total. This tells you whether the word appears once or many times in the document. If the search shows "0 of 0", the word does not appear anywhere.
You can keep the search box open while you read or edit the document. The highlights stay visible so you can see all the places where your search term appears. Close the search box by pressing Escape or clicking the X button.
Using advanced search options
Most document editors offer a "Find and Replace" function, usually opened with Ctrl+H (Windows) or Cmd+H (Mac). This lets you search for a word and automatically replace it with a different word throughout the entire document. Type the word you want to find in the first box, the replacement word in the second box, then click "Replace All" to change every match at once.
Use "Replace All" carefully — if you replace the wrong word, you may have to undo the change by pressing Ctrl+Z or Cmd+Z when ready. Some editors let you review each replacement one at a time by clicking "Replace" instead of "Replace All", which is safer if you are unsure.
Some advanced search options include searching for patterns using wildcards or regular expressions. A wildcard like an asterisk (*) can stand in for any characters. For example, searching for "rent*" might find "rent", "rental", "rented", and "renting" all at once. This feature is usually hidden in an "Advanced" or "More options" menu and is most useful for people working with very large documents or data.
Why search is faster than scrolling
In a 50-page document, scrolling to find one word could take several minutes. Searching takes seconds. The search function is also more reliable — your eyes can skip over a word while scrolling, but the search function will not miss it.
Search is especially useful when you are checking whether a document contains a specific phrase before you sign it, share it, or submit it. For example, you might search for "non-disclosure" to see if a contract includes that clause, or search for your own name to see how many times you are mentioned in a document.
What to do if the search does not find what you expect
If you search for a word and get "0 of 0", the word either does not appear in the document or you typed it differently than it appears. Check your spelling. If you are searching for "information" but the document uses "aid" instead, the search will not find it. Try searching for a shorter, more common word that you know is in the document to make sure the search function itself is working.
If the document is a scanned image or a photograph of text rather than actual text, the search function will not work. This is called an image-based PDF. You will need to use optical character recognition (OCR) software to convert the image to searchable text first. Many modern PDF readers do this automatically, but older ones do not.
If you are searching in a web browser and the page is very long or loads content as you scroll, the search might only find text that has already loaded. Scroll to the bottom of the page first to load all the content, then search again.
Frequently Asked Questions
Can I search for part of a word?
Yes. If you search for "rent", the program will find "rent", "rental", "rented", "renting", and any other word containing those letters in that order. If you want to find only the word "rent" by itself and not "rental", turn on the "Match whole words only" option before you search.
Does search work in PDFs?
Yes, if the PDF contains actual text. Scanned PDFs that are images of pages do not support search unless your PDF reader has built-in OCR. Adobe Reader, Preview on Mac, and most modern browsers can search text-based PDFs. Try searching for a common word to test whether your PDF is searchable.
What if I want to find text that appears on multiple pages?
The search function finds every instance across the entire document, no matter how many pages. It shows you the total count and lets you jump between each match. This is much faster than manually checking each page.
Can I search for special characters like dollar signs or question marks?
Yes, type the character in the search box just as you would type a letter. Some characters like asterisks (*) or periods (.) have special meanings in advanced search modes, but in basic search they work as literal characters. If you are using advanced search with wildcards or regular expressions, check your program's help menu for how to search for special characters.
Does the search work the same way in Google Docs, Word, and other editors?
The basic function is the same — Ctrl+F or Cmd+F opens a search box, you type your word, and it highlights matches. The exact appearance of the search box and the names of the buttons vary slightly between programs, but the core idea is identical. Once you learn it in one editor, you can use it in any other.