How to Search Files by Content on Windows

May 26, 2026 · 6 min read

You know the text is in a file somewhere on your PC. Maybe it's a phrase from a contract, a number from a report, or a name from a spreadsheet. The problem is you don't remember the filename. You need to search inside the files.

Windows doesn't make this easy by default. Here are three methods to search files by content on Windows, from the built-in option to the most powerful.

The Problem with Windows Search

Windows Search can technically search inside files, but it's disabled for most file types by default. Even when you turn it on, results are often incomplete or missing entirely.

If you've ever typed a phrase into the Windows Search bar and gotten zero results, even though you know the text exists in a file on your desktop, you've hit this exact problem.

Method 1: Windows Search (Built-in)

You can tell Windows to search inside files, but it takes some setup and doesn't always work well.

Steps:

  1. Open Settings > Privacy & Security > Searching Windows
  2. Under "Find My Files," select Enhanced to index your entire PC (or add specific folders under Classic)
  3. Click Advanced Indexing Options > Advanced > File Types
  4. Check "Index Properties and File Contents" for the file types you want to search inside (.pdf, .docx, .txt, etc.)
  5. Wait for Windows to rebuild the index (this can take hours)
  6. Search using File Explorer: type your query in the search bar and add content:"your search term"

Limitations:

Method 2: PowerShell / findstr (Command Line)

If you're comfortable with the command line, PowerShell and findstr can search inside text files.

Using findstr:

findstr /s /i "search term" C:\Users\YourName\Documents\*.*

This searches all files in your Documents folder (and subfolders) for "search term," case-insensitive.

Using PowerShell:

Get-ChildItem -Path "C:\Users\YourName\Documents" -Recurse -File |
  Select-String -Pattern "search term" |
  Select-Object Path, LineNumber, Line

This gives you the file path, line number, and matching line for each result.

Limitations:

Method 3: FileScope (AI-Powered Content Search)

FileScope is a Windows app that lets you find files by describing what you're looking for. It searches inside PDFs, Word documents, Excel spreadsheets, text files, and even text inside images.

Steps:

  1. Download and install FileScope
  2. Choose which folders to scan
  3. Press Ctrl+Space anywhere on your desktop
  4. Type what you're looking for, in natural language
  5. Open the file directly from the results

FileScope understands what you mean, not just what you type. If you type "last quarter revenue numbers," it will find your Q4 financial report even if those exact words aren't in the filename. It also finds text inside screenshots, scanned receipts, and photos of whiteboards.

Advantages:

Find Any File. Just Describe It.

Find documents, images, and files by name, content, or meaning. Just describe what you're looking for.

Get FileScope — $19 Lifetime Access

Comparison

Feature Windows Search PowerShell / findstr FileScope
Plain text files Yes Yes Yes
PDF content Partial (with iFilter) No Yes
Word / Excel content Partial No Yes
OCR (images) No No Yes
Search by meaning No No Yes
Speed Slow Slow on large dirs Under 1 second
Ease of use Moderate Requires CLI knowledge Very easy
Privacy Sends data to Bing Local 100% local
Price Free Free $19 one-time

Conclusion

If you just need to search inside plain text files occasionally, findstr or PowerShell will work. But if you need to search inside PDFs, documents, and images, or you want to find a file without remembering its exact name, FileScope is the easiest way to do it on Windows.

Just describe what you're looking for. FileScope finds it. Everything runs locally on your PC.

Find Any File. Just Describe It.

Find files by what you remember, not what you named them.

Get FileScope — $19 Lifetime Access

You know what's in the file.
Not what you named it.

Press Ctrl+Space and describe what you need. FileScope finds any file by name, content, or meaning.

Get FileScope — $19 Lifetime Access