Blog
How to Search Files by Content on Windows
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:
- Open Settings > Privacy & Security > Searching Windows
- Under "Find My Files," select Enhanced to index your entire PC (or add specific folders under Classic)
- Click Advanced Indexing Options > Advanced > File Types
- Check "Index Properties and File Contents" for the file types you want to search inside (.pdf, .docx, .txt, etc.)
- Wait for Windows to rebuild the index (this can take hours)
- Search using File Explorer: type your query in the search bar and add
content:"your search term"
Limitations:
- Setup takes a long time and slows down your PC
- Results are often incomplete or outdated
- Doesn't work with all file types
- Can't search text in images
- Can't find a file if you don't remember the exact words
- Sends queries to Bing unless you disable that setting
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:
- Only works with plain text files (.txt, .csv, .log, source code)
- Can't search inside PDFs, Word documents, or Excel files
- Can't search text in images
- Slow on large folders
- Requires command line knowledge
- Only finds exact words, not what you mean
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:
- Download and install FileScope
- Choose which folders to scan
- Press Ctrl+Space anywhere on your desktop
- Type what you're looking for, in natural language
- 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:
- Searches inside PDFs, Word docs, spreadsheets, images, and text files
- Finds files even when you don't remember the filename
- One shortcut (Ctrl+Space) from anywhere on your desktop
- Your files stay on your PC. No cloud, no accounts
- Results in under a second
Find Any File. Just Describe It.
Find documents, images, and files by name, content, or meaning. Just describe what you're looking for.
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