How to search text in files of all types (including binary)?

I want to find some text inside binary files. Is it possible to do in Finder (it skips binary even if I set up "All kinds" of file types)? Otherwise I would be thankful for utility that can do it.

PS: I need to search among many files in directory.


You should use the strings application in the Terminal.

strings filename(s) | grep text_to_search_for

From Wikipedia:

In computer software, strings is a program in Unix-like operating systems that finds and prints text strings embedded in binary files such as executables.

I'm not aware of any way to use Finder to search for text in binary files.


After some digging on Google I found EasyFind.app. This app can search in selected or all file types.