While text files contain only textual data, binary files may contain both textual and custom binary data.
https://fileinfo.com/help/binary_vs_text_files