Files

How to find a file by what is inside it, on Windows and Mac

You remember what the letter said, not what it was called. Windows and Mac can both look inside your files for you, once you know where to ask.

6 October 20266 min read

Read in: English · Español · Português · Deutsch · Français · Italiano

Most files end up with whatever name the browser or the scanner gave them: scan_0042.pdf, document (3).docx, IMG_2041.jpg. Weeks later you need the electricity bill from March, and the name tells you nothing. What you do remember is what was in it.

Searching by content is the way out, and it is already built into your computer. Here is how to use it, and what to do when it comes back empty.

On Windows 10 and 11

Search inside files from File Explorer

  1. Open File Explorer with Win + E and go to the folder you think the file is in. Downloads and Documents are the usual places. Starting in a folder is much faster than searching the whole PC.
  2. Click the search box at the top right and type content: followed by a word you remember, for example content:electricity. Without content:, Windows mostly matches names.
  3. Press Enter and let the search finish. Open the likely results to check, because the same word can turn up in more than one file.

If nothing comes back, check the index

Windows reads your files ahead of time and keeps what it finds in an index. If a folder is not in the index, or the index only keeps names for that kind of file, a content search finds nothing even when the file is right there.

  1. Open the Start menu, type Indexing Options and open it.
  2. Click Modify and make sure the folder you search in is ticked. Add it if it is not.
  3. Click Advanced, open the File Types tab, pick the extension (for example docx) and choose Index Properties and File Contents.

On Windows 11 you can also open Settings › Privacy & security › Searching Windows and choose Enhanced, which indexes the whole PC instead of only your libraries. On Windows 10 the same choice is under Settings › Search › Searching Windows. The first pass can take a while on a full disk.

A scanned PDF that never shows up is the most common case. A scan is often only a picture of a page, with no words in it to find. Running it through text recognition (OCR) fixes that.

On a Mac

Spotlight

Press Cmd + Space and type a few words you remember. Spotlight looks inside documents, PDFs and mail as well as at names, so something like electricity march often finds the bill straight away. Hold Cmd with a result selected to see which folder it lives in.

Finder

  1. Open the folder in Finder and press Cmd + F.
  2. Type your word and press Return. Finder searches inside files as well as names. Pick Name matches from the suggestions only when you want names alone.
  3. Under the search bar, choose This Mac or the folder's name to set where it looks.

Spotlight keeps its own index too. If a folder or drive never shows up, look at the Spotlight privacy list in System Settings (System Preferences on older versions of macOS), where places can be left out of search.

Asking Key to find it

Searching by hand works when you remember the right word and the file sits somewhere the index looks. Key comes at it from the other end. You say what you are after, the way you would say it to a person, and it opens the likely folders, reads the documents to be sure it has the right one, and tells you what it found.

KeyVoice

Find the electricity bill from March and put it on my Desktop

opened Downloadsread 3 PDFs to find the right onemoved bill-march.pdf to Desktop

Found it in Downloads and moved it to your Desktop. It is the March bill, 318 KB.

Checked: read the file back off the disk

Because it reads what is inside, it does not matter that the file is called scan_0042.pdf. If two files both match, it asks which one you meant instead of guessing.

Habits that make the next search easy

  • Rename important files the day they arrive. 2026-03 electricity bill.pdf beats scan_0042.pdf every time.
  • Keep one folder for bills and statements instead of leaving them in Downloads. There is a guide to tidying Downloads if it has got out of hand.
  • Turn on text recognition in your scanner app, so every scan has words inside it to search.

Try Key free

Speak to it or type to it. It opens your apps, finds your files and changes your settings, then tells you what it did.

Free, no card. Windows 10 or 11, macOS 11 or newer.

More guides