Windows File Explorer Search Filters Explained
Windows File Explorer search filters let you narrow down file searches by type, date, size, and other properties directly from the search box. You can use them to quickly find a specific document, photo, or video without browsing through folders. This article explains the main filters, how to combine them, and how to troubleshoot common issues.
What Are File Explorer Search Filters?
Search filters are special keywords you type into the search box in File Explorer (Windows 10 and 11) to restrict results based on file metadata. Instead of just matching file names, filters query properties like the file extension, date modified, file size, and even content inside the file (if indexing is enabled). For example, typing type:png shows only PNG images, while datemodified:this week limits results to files changed in the last seven days.
These filters work in the regular File Explorer search box, not just in the Start menu. They are part of the Windows Search service, which maintains an index of file locations and properties for fast lookups.
Common Filters and What They Do
Here are the most useful filters you can type directly into the search box (without quotes):
- type: — matches the file extension or a kind. Example:
type:docxfinds Word documents;type:imagefinds common image files. - datemodified: — filters by last modified date. Use
datemodified:2024-01-15for a specific date, or relative terms likedatemodified:this weekordatemodified:last month. - size: — filters by file size. Use
size:>10MBfor files larger than 10 MB, orsize:smallfor files under 100 KB (Windows defines small, medium, large, and huge categories). - kind: — matches a file category, like
kind:emailorkind:music. - author: — finds files created by a specific person (from document metadata). Example:
author:John. - name: — searches the file name only (useful when combined with other filters). Example:
name:report. - folder: — restricts the search to a specific subfolder. Example:
folder:projects.
You can also use operators like AND, OR, and NOT (in uppercase) to combine filters. For example, type:jpg AND size:>5MB finds large JPEGs.
How to Use Filters in File Explorer
Using filters is straightforward:
- Open File Explorer (Win + E) and navigate to the folder you want to search.
- Click in the search box (top right).
- Type your filter and press Enter.
- If you want to add more filters, click the “Search” tab in the ribbon and pick from the drop-down menus (like “Date modified” or “Size”) — this automatically inserts the correct syntax.
You can also use the “Search” tab to add a filter without remembering the syntax. For example, clicking “Date modified” lets you choose a preset like “Last week” or a custom range.
Search Syntax and Wildcards
Windows search supports wildcards and boolean operators:
- * — matches any number of characters. Example:
*.pdffinds all PDFs. - ? — matches a single character. Example:
report?.docxfinds report1.docx, report2.docx, etc. - AND — both conditions must be true (default if you just put a space).
- OR — either condition is true.
- NOT — excludes results that match the condition.
For example, type:jpg OR type:png finds both image formats, while type:jpg NOT size:>10MB finds JPEGs smaller than 10 MB.
Why Some Files Don’t Appear (Indexing Issues)
Search filters rely on the Windows Search index. If a folder is not indexed, searches may be slower and some property filters (like content search) may not work. To check indexing:
- Open Control Panel > Indexing Options.
- Click “Modify” to add or remove indexed locations.
- Make sure the folder you are searching is included.
If a file still doesn’t appear, it might be because its properties are not indexed (e.g., a custom file type). You can also rebuild the index if it’s corrupted: go to Indexing Options > Advanced > Rebuild.
Common Mistakes and How to Avoid Them
- Spacing issues:
date modified:2024won’t work; you needdatemodified:2024(no space). - Using quotes for exact phrases: If you want to search for a phrase, put it in quotes:
"quarterly report". - Forgetting the colon:
type pdfis treated as a name search, not a type filter. - Case sensitivity: Filters are not case-sensitive, but operators like AND/OR/NOT must be uppercase.
Alternatives to Built-in Filters
If the built-in filters feel limited, you can use third-party search tools like Everything (by voidtools) or Listary. These tools index your entire drive and offer instant search with more advanced filtering. However, they are separate applications and may not integrate directly with File Explorer.
Another alternative is to use the Advanced Query Syntax (AQS) documentation from Microsoft, which lists every supported filter property. But for most users, the built-in filters are sufficient.
Frequently Asked Questions
Why is my search filter not working?
Check that you typed the filter correctly (no spaces before the colon) and that the folder is indexed. If you’re searching from a network drive, indexing may be off by default — enable it in Indexing Options.
Can I search inside file contents?
Yes, if the file type is indexed for content search. By default, Windows indexes text in files like .txt, .docx, and .pdf. Use content:keyword to search inside files. If it doesn’t work, the file type may not be set to index content — go to Indexing Options > Advanced > File Types and enable content indexing for that extension.
How do I search by file extension only?
Use ext:pdf or type:pdf. The ext: filter is more precise for extensions, while type: can also match file kinds.
Can I combine multiple filters?
Yes, just separate them with spaces (which acts as AND) or use explicit operators. For example: type:jpg datemodified:2024-01 size:>1MB.
Why do some files not show up even when I use the right filter?
Possible reasons: the file is hidden, the folder is not indexed, or the filter property is not populated for that file (e.g., author is empty). Try clearing the filter and searching by name to see if the file is there.
Does the search work on external drives?
It works, but external drives are often not indexed by default. You can either enable indexing for that drive or accept slower searches. For a one-time search, you can also use the “This PC” search, but it may take longer.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.