To search for a sequence of bytes, rather than a text string, select the “binary data” search type. The view is very similar to that of a hex editor. If you double-click on the search match, PowerGREP’s built-in file editor will open the file in hexadecimal mode. Search matches will be listed in the results in both hexadecimal and textual representation.
When you do any or all of this, PowerGREP searches through the raw, non-decoded contents of some or all of your files. If you want to treat plain text files as binary too, set “text encodings to read files with” to “all files as binary”. If you want to search through the raw contents of files that PowerGREP can decode, set “file formats to convert to plain text” to “(unused)”. If you want to include binary files that PowerGREP can’t decode in your search, turn on “search through binary files” on the File Selector panel. So by default, PowerGREP decodes all the file formats that it understands, and skips all other files that are not plain text files. Search (and Replace) through Binary Files in Text or Hexadecimal Modeįor most people, there is no point in searching through binary files without decoding them.
Windows search find word in file software#
You can only work with such files in a meaningful way using software that can decode the file’s format. If you open a binary file in an application that displays the raw contents of a file, such as a plain text editor, you will see a bunch of weird characters that make no sense. The term binary file is used to indicate a file that is not a plain text file.