Search The Text Of The Files In A Folder

Press Space on a folder, switch the sidebar’s filter to Contents and type

  • Free and open source
  • macOS 13+
meeting-notes-2026-09-24.md
A Contents search of the demo folder for “jitter”: drawn in HTML, not a screenshot.

Press Space on a folder, ⌥⌘F, switch to Contents and type: spacebar lists every file below whose text matches, with the first matching line.

How To Search

  1. SpaceOn a folder in Finder.
  2. ⌥⌘FOr click the sidebar’s filter.
  3. Names | ContentsSwitch to Contents; type two or more characters.
  4. ↑ ↓Open a result; ⌘F lands on the match.

Results show folder, match count and first line. Text only in Markdown markup, like a link’s address, is in Raw.

Which Files It Searches

Hidden files only when shown. Plain text, any case, no patterns.

Limits

Read per file
2 MB
Per search
64 MB
Time per search
2 s
Files listed
500

A search cut short says so: “Found in 12 files · 300 of 900 searched”.

Names Search Covers Every Folder

On Names, letters match in order, so rdme finds README.md in any folder below.

Drag A Result Out

In the Space window, drag a result into Finder, Mail or an editor to hand it the file.

Folders Open Without The Helper

Space on a folder opens spacebar inside Quick Look, so Contents search needs nothing else. The optional Space helper, which needs Accessibility, adds PDFs, photos and CSV. More: Quick Look a whole folder, Quick Look replacement, compare.

Install It

Download for Mac

Or paste this in Terminal

curl -fsSL https://spacebar.patebryant.com/install.sh | sh

The script downloads the latest notarized release from GitHub, checks its SHA-256 and installs to ~/Applications, no sudo. Read the script.