The fastest way to find text on any page or document

To search for text on your PC, press Ctrl+F (Windows) or Command+F (Mac). A search box will appear, usually in the top right or top left corner of your screen. Type the word or phrase you want to find, and the program will highlight every match on the current page or document. Press Enter or click the down arrow to jump to the next result.

This method works in web browsers, word processors, PDFs, email clients, and most other programs. It is the single most useful keyboard shortcut on a computer because it saves you from reading through hundreds of lines manually.

Key Takeaways

  • Press Ctrl+F on Windows or Command+F on Mac to open the search box in nearly any program.
  • Type your search term and use the arrow buttons or Enter key to move between matches.
  • Use Find and Replace (Ctrl+H) to change every instance of a word at once in documents and spreadsheets.
  • Search within a specific folder on your PC using File Explorer's search bar to locate files by name or content.
  • Browser search bars at the top of the window search the entire web, while Ctrl+F searches only the current page.

How to use Find and Replace to change text

If you need to change the same word or phrase multiple times in a document, use Find and Replace instead of Find alone. Press Ctrl+H to open the Find and Replace dialog. Type the text you want to find in the first box and the replacement text in the second box.

Click "Replace All" to change every instance at once, or click "Replace" one at a time if you want to check each match first. This works in Microsoft Word, Google Docs, Excel, Notepad, and most text editors. Be careful with "Replace All" on important documents — if you replace the wrong term, you may need to undo the changes with Ctrl+Z.

Searching for files and folders on your PC

To find a file or folder by name on your computer, open File Explorer (Windows key + E on Windows, or Finder on Mac). Look for the search box in the top right corner. Type the file name or part of it, and your PC will search your entire hard drive or the current folder.

Windows File Explorer also lets you search by file type. Type "kind:document" to find only Word files, "kind:image" for photos, or "kind:video" for video files. You can also search by date modified by typing "datemodified:today" or "datemodified:this week".

On a Mac, use Spotlight search by pressing Command+Space, then type the file name. Spotlight searches your entire Mac when ready and shows results as you type.

Searching within PDF files

PDFs have their own search function. Open a PDF in your browser or PDF reader and press Ctrl+F. The search box will appear, usually on the right side or top of the window. Type the word you want to find, and the PDF will jump to every page where that word appears.

If you are searching a very long PDF with hundreds of pages, the search bar will show you how many matches exist and which page you are currently viewing. This is faster than scrolling through the entire document by hand.

Searching within email and webmail

Gmail, Outlook, and other email services have their own search bars at the top of the inbox. Click the search box and type a sender's name, subject line, or any word from the email body. The service will return all matching emails.

Gmail's search also accepts filters. Type "from:sarah@example.com" to find all emails from a specific person, "subject:invoice" to find emails with "invoice" in the subject line, or "has:attachment" to find only emails with files attached. Outlook uses similar syntax — check your email provider's help page for the exact filter commands.

Searching across your entire PC with Windows Search

Windows 10 and Windows 11 include a built-in search tool that indexes your entire computer. Click the search icon in the taskbar (usually a magnifying glass) or press the Windows key and start typing. Windows will search your files, programs, settings, and web results all at once.

Windows Search works best if you know the file name or the program you are looking for. If you search for "budget" it will find files named "budget.xlsx", "2024 budget.docx", and any program with "budget" in its name. You can also search for settings — type "display settings" to jump straight to the display control panel without clicking through menus.

Tips for faster and more accurate searches

Use quotation marks to search for an exact phrase. If you search for "annual report" with quotes, your PC will find only pages or files containing those two words together in that order, not pages with "annual" on one line and "report" somewhere else.

Search for the beginning of a word if you are not sure of the full spelling. Searching for "photogra" will find "photograph", "photographer", and "photography". Use wildcards in some programs — in Windows File Explorer, type "*.xlsx" to find all Excel files, or "report*" to find all files starting with "report".

If a search returns too many results, add more words to narrow it down. Instead of searching for "invoice", search for "invoice 2024" or "invoice client name". The more specific your search term, the fewer irrelevant results you will see.

Frequently Asked Questions

What is the difference between Ctrl+F and searching in the browser address bar?

Ctrl+F searches only the current page or document you are viewing. The browser address bar (or search bar) searches the entire internet. If you want to find a word on the page in front of you, use Ctrl+F. If you want to search Google or another search engine, use the address bar.

Can I search for text in an image or screenshot?

Not with the standard Ctrl+F function — that only works on text. However, some programs like Microsoft OneNote and Google Lens can read text from images. On Windows 11, you can use the built-in OCR (optical character recognition) by taking a screenshot and using the search function, though results vary depending on image quality.

Why does my search return no results even though I know the word is there?

The search may be case-sensitive in some programs, or the text might be in a format the search cannot read (like text inside an image or a scanned PDF). Try searching for just the first few letters, or check that you spelled the word correctly. In PDFs, if the document is scanned rather than text-based, Ctrl+F may not work at all.

How do I search for special characters or symbols?

Type the symbol directly into the search box just as you would type a letter. Searching for "@" will find all email addresses, and searching for "$" will find all dollar amounts. Some programs treat symbols differently, so if your first search does not work, try escaping the symbol with a backslash, like "\$".

Can I search multiple words at once?

In most programs, typing multiple words separated by spaces will find pages containing all of them, but not necessarily together. To find an exact phrase, put quotation marks around it: "exact phrase here". Some search tools also accept "AND", "OR", and "NOT" operators — check your specific program's search help for details.