How to Search Inside Files on Mac: Spotlight vs AI-Powered Search
If you've ever tried to find a document on your Mac by its content — not its filename — you know the frustration. Spotlight is fast for finding apps and filenames, but when you need to search inside a Word document or Excel spreadsheet, it often falls short.
What Spotlight Can and Can't Do
Spotlight indexes plain text files well. It can also search inside some document formats, but its support for Office documents is inconsistent. Searching for a phrase inside a .docx or .xlsx file often returns nothing, even though the content is clearly there. PDFs are better supported, but results can be unreliable with scanned documents or complex layouts.
For most Mac users, this means falling back to opening files one by one, or using Finder's search — which has similar limitations.
Method 1: Finder Search with "Contents" Filter
Open Finder, press Cmd+F, and change the search attribute from "Name" to "Contents." This uses the same index as Spotlight and has the same limitations with Office documents. It works for plain text and some PDFs, but don't expect reliable results for .docx or .xlsx files.
Method 2: grep / mdfind (Terminal)
Power users can use mdfind (Spotlight's command-line interface) or grep for text files. mdfind "quarterly report" searches the Spotlight index from the terminal. However, this still relies on Spotlight's indexing, so the same Office document limitations apply.
Method 3: LocalSynapse — AI-Powered Content Search
LocalSynapse is a free, offline file search application now available for macOS. It was originally built for Windows, and the macOS version uses the exact same search engine.
What makes it different from Spotlight:
- Searches inside Office documents — Word, Excel, PowerPoint, PDF, and 13+ formats. Not just filenames.
- AI semantic search — Search for "budget forecast" and find documents containing "financial projection." The AI understands meaning, not just keywords.
- Hybrid search — Combines traditional keyword matching (BM25) with AI semantic search for the best of both worlds.
- 100% offline — All processing runs locally on your Mac. No cloud upload, no account required.
- MCP server built-in — Connect Claude or other AI agents to search your local files.
Spotlight vs LocalSynapse: Quick Comparison
| Feature | Spotlight | LocalSynapse |
|---|---|---|
| Filename search | Excellent | Yes |
| Plain text content | Good | Yes |
| Word (.docx) content | Inconsistent | Full support |
| Excel (.xlsx) content | Limited | Full support |
| PowerPoint content | Limited | Full support |
| Semantic/AI search | No | Yes (offline AI) |
| Version grouping | No | Automatic |
| Price | Built-in | Free |
Getting Started on macOS
Download the DMG from GitHub Releases. Drag LocalSynapse to your Applications folder. On first launch, it automatically scans your home directory and starts indexing your documents. Search is available immediately for filenames, and content search becomes available as indexing progresses.
The AI model (~580MB) downloads on first run and processes everything locally — no internet needed after that.
Bottom Line
Spotlight is great for what it does — quick app launching and filename lookup. But if your work involves finding specific content inside Office documents, you need a tool that actually reads those files. LocalSynapse does exactly that, and it's free.