Find printable strings in files (POSIX)


On QNX Neutrino:

strings [options] file

On Linux and Microsoft Windows:

strings_variants [options] file

where strings_variant depends on the target platform, as follows:

Target platform strings_variant
ARMv7 ntoarmv7-strings
x86 ntox86-strings


For each file given, strings prints the printable character sequences that are at least 4 characters long (or the number given with the options) and are followed by an unprintable character. By default, it prints only the strings from the initialized and loaded sections of object and ELF files; for other types of files, it prints the strings from the whole file.

The strings utility is mainly useful for determining the contents of nontext files.

For more information, see the Binutils documentation on the GNU website at

Contributing author: