How to search inside files on Windows

Updated 15 August 2026

You know the information is in a file somewhere. A phrase from a contract, a number from an invoice, a paragraph from old notes. You just don’t know which file. This guide covers every way to search the contents of your files on Windows rather than their names, whether you call it searching within files, finding text in files, or searching file contents.

Short answer: Windows can search inside files, but only in indexed locations, only for file types it has a content filter for, and only for the exact words you type. Use content:"your phrase" in File Explorer, turn on Enhanced indexing to cover your whole PC, and use a meaning-based search tool when you remember what a file was about rather than what it literally said.

1. Search file contents with File Explorer

Windows can search inside files, but by default only in indexed locations, which are your Documents, Pictures, Music and Desktop folders. If the file lives anywhere else, such as a projects folder on another drive, your Downloads folder, or an external disk, the search box mostly matches file names only.

The catch is that it matches the exact words you type. Search for “salary” and a payslip that says “compensation”, or “Gehalt”, will not come up. That is not a bug, it is what literal keyword search is.

2. Enhanced indexing, for files outside your libraries

On the same settings page you can switch from Classic to Enhanced, which indexes your entire PC instead of a few libraries. If your files live on a second drive or in a folder tree of your own, this is usually the single change that makes content search start working. Two things to know before you turn it on:

3. What Windows Search can and cannot read

Windows extracts text from a file using a small plug-in for that file type, called a content filter. If a file type has no filter, Windows can still find the file by name but has no idea what is inside it. Checked on Windows 11 Pro 25H2:

File typeCan Windows read the text?Notes
PDF (with a text layer)YesWindows 11 ships a PDF content filter.
PDF (scanned page)NoThe page is an image. Reading it needs OCR, which the indexer does not do.
Word, Excel, PowerPointYesContent filters are built in.
Plain text, .md, .csv, .logYesRead directly.
Screenshots and photosNoAny text is part of the image.
Most source code filesUsually yesRead as plain text, though some extensions are skipped.
Email in OutlookYesIndexed through Outlook rather than the file itself.
Audio and videoNoOnly metadata such as title and artist, never spoken words.

This is why “Windows cannot search my PDFs” is usually half true. Text PDFs work. The ones that fail are almost always scans, and no amount of re-indexing will fix those, because there is no text there to find.

4. Search by meaning, when you don’t remember the words

Everything above matches your exact words. There is a different approach that matches what you mean, called semantic file search. You describe what you are looking for, and the results include files that say the same thing differently.

That is what BeaconFind does. You press Ctrl+K, type “the apartment contract with the deposit amount”, and it finds the file even if it is called scan0047.pdf and never uses the word “deposit”. It reads 70+ file types, understands 50+ languages so an English search can find a German document, and it reads text out of screenshots and scanned PDFs, which is the exact gap in the table above.

BeaconFind search overlay showing the query 'lease agreement with the deposit' matching a PDF on its contents, with the matching words highlighted and a CONTENT badge.
A content match, not a filename match: the words are found inside the PDF, and the badge shows which part of the file matched.

Your files, their contents and your searches stay on your PC. The app does contact our server for two things, a licence check and an update check, and both can be blocked by a firewall without affecting search.

Try meaning-based search on your own files. Free for 14 days, no account, no card.

Download BeaconFind

Which method should you use?

Your situationUse this
You know the exact words, file is in DocumentsFile Explorer with content:
Your files live across several drives or foldersTurn on Enhanced indexing first
The document is a scan or a screenshotYou need OCR, which Windows Search does not do
The document is in another languageMeaning-based search, or search in that language
You remember the topic, not the wordingSemantic search
You have forgotten the file name entirelyFind a file without its name

Frequently asked questions

Can Windows search inside PDF files?

Yes. Windows 11 ships a PDF content filter, so File Explorer can find words inside a PDF as long as the PDF has a real text layer. A scanned page is a picture of text and has no text layer, so there is nothing for Windows to read, and those PDFs stay invisible to it.

Can Windows search inside Word documents and Excel files?

Yes. Word, Excel and PowerPoint files all have content filters built into Windows, so their text is searchable once the file sits in an indexed location.

How do I search for text inside files in File Explorer?

Open the folder, click the search box at the top right, and type content: followed by your phrase in quotes, for example content:"termination notice". Without the content: operator, File Explorer may match file names only.

Why can't Windows find text I know is in a file?

Three common reasons: the file is outside an indexed location, the file type has no content filter installed, or the words you typed are not the words in the document. Windows Search matches text literally, so it cannot connect a search for salary to a document that says compensation.

Can Windows search inside screenshots or scanned documents?

No. Windows Search reads text, and in a screenshot or a scan the text is part of an image. Reading that requires OCR, which the Windows indexer does not do.

Does searching file contents slow down my PC?

Indexing costs some CPU and battery while it runs, mostly during the first pass, which can take hours on a full drive. Once the index is built, searching itself is fast and the ongoing cost is small.

Related guides