Normally, I guess, that an executable file can not be converted back in to a source file or a text file.
If the source file is compiled with a debugging option, it includes all the symbols in the program. It remembers the correspondance between each source program line and the executable instruction.
In such cases some source file may be generated. But it may not be in the desired format and may not contain all the information that the original source contained.