If youâve ever typed âmac search for file typeâ because you canât find that one PDF, video, or ZIP on your Mac, youâre in the right place. This guide covers every reliable method on macOS to search by file type using Finder, Spotlight, Smart Folders, and Terminal. Weâll also show a faster, keyboard-first workflow with FileMinutes, an app designed to filter by type, search in specific folders, browse results with arrow keys and more.
Command+F â add filter Kind is PDF or File extension is pdf.Command+Space â type kind:pdf report.Command+F â set your filters â Save as Smart Folder for reuse.mdfind "kMDItemContentTypeTree == 'public.image'" or find ~/Downloads -name "*.pdf"..pdf, .xlsx and file categories like .image, .document.Finderâs search supports both âKindâ and âFile extensionâ filters. âKindâ is broader (e.g., Images include PNG, JPG, HEIC), while âFile extensionâ targets .pdf, .txt, .zip, etc.
Steps (macOS 12+):
Command+F to enter search mode.+ button to add a filter.Kind or OtherâŚ.
File extension and set is to pdf (or txt, csv, zip).+ button for more filters (Name contains, Created date, Tags, etc.).

Pro tips:
Command+Shift+. if needed.System files attribute via Other⌠and set it to are included.Name contains for quick targeting; for precise extension matches, prefer File extension is âŚ.Spotlight is fast for quick, typed queries anywhere on your Mac.
How to use:
Command+Space to open Spotlight.kind: operator:
kind:pdfkind:imagekind:folderkind:video 2024.
Useful kinds:
kind:pdf, kind:image, kind:folder, kind:document, kind:music, kind:movieYou can still search by filename:
kind:pdf "tax return"Smart Folders let you create saved searches, great for âall PDFs from last 30 daysâ or âall images in Downloads.â
Create a Smart Folder:
Command+F.
Example ideas:
If you prefer the command line or need advanced precision, two tools are essential.
A) find (search by name/extension on the filesystem)
# Find PDFs in Downloadsfind ~/Downloads -type f -iname "*.pdf"
# Find multiple extensionsfind ~/Projects -type f \( -iname "*.docx" -o -iname "*.pdf" \)
# Only folders named "assets"find ~ -type d -iname "assets"B) mdfind (uses Spotlight metadata; great for âkindâ/UTI)
# All images (any common format)mdfind "kMDItemContentTypeTree == 'public.image'"
# PDFs system-widemdfind "kMDItemContentType == 'com.adobe.pdf'"
# PDFs within a specific foldermdfind -onlyin ~/Documents "kMDItemContentType == 'com.adobe.pdf'"
# Videos (movies) by UTI treemdfind "kMDItemContentTypeTree == 'public.movie'"Tips:
mdfind returns little or nothing, Spotlight may need indexing.mdls /path/to/file to inspect a fileâs metadata and see its content type (UTI).If you regularly search for file types across multiple folders, FileMinutes offers a quicker, keyboard-first experience.
What makes it faster:
.pdf, .txt, .csv) or file categories:
. - folders only.image - JPG, PNG, HEIC, etc..document - PDF, DOCX, XLSX, etc..video - MP4, MOV, etc..audio - MP3, WAV, etc..text - TXT, MD, etc..archive - ZIP, RAR, etc.How file type search works in FileMinutes:
# Filter by extensionsreport .pdf .xlsx # finds PDF or Excel files with âreportâ in the name
# Show only folders. report # shows only folders with âreportâ in the name
# Search inside a folder~/Downloads>.image # shows image files in the Downloads folder
# Combine folder patterns + types2025>invoice .pdf # PDFs with âinvoiceâ inside folders matching â2025â
sudo mdutil -E /Command+Shift+..Q: Whatâs the difference between âKindâ and âFile extensionâ in Finder?
A: âKindâ is a broader category based on the fileâs metadata (e.g., Image includes JPG, PNG, HEIC). âFile extensionâ targets the actual suffix (e.g., .jpg). Use âKindâ when you want all images; use âFile extensionâ when you need only .png or .jpg.
Q: How do I search for multiple types at once in Finder?
A: Use grouped criteria. Click the ⌠menu (press Option key which will change + to ...) to create a group that matches âAnyâ and add multiple lines like âFile extension is pdfâ or âFile extension is docx.â Alternatively, use âKind is Documentâ to include many office formats at once.
Q: Can Spotlight search inside the file contents?
A: Yes, Spotlight indexes contents for many file types (PDF, text, some documents). If content searches fail, try reindexing Spotlight and ensure the file type is supported.
Q: How do I find only folders?
A: Finder: Kind is Folder. Spotlight: kind:folder keyword. FileMinutes: use . (dot) to show only folders, e.g., . reports.
Q: Is there a quicker way to preview results?
A: Yes. In Finder or FileMinutes, select a file and press Spacebar to open QuickLook. Use arrow keys to navigate while the preview is open.
Q: What about searching by date?
A: Finder supports âCreated dateâ and âModified dateâ filters. Spotlight supports natural ranges like date:today and date:yesterday in some contexts.
For most users, Finder and Spotlight handle simple âsearch by file typeâ tasks, use Kind or file extensions, then save common filters as Smart Folders. For frequent or complex searches, FileMinutes speeds things up with type filters (.pdf, .image, .video, etc.), targeted folder scopes, keyboard navigation, and content search-all in one place. Add it to your toolkit to spend less time hunting and more time working. Check out our complete macOS file workflow guide for more productivity tips.