Files with the M4 extension identify library file created in the macro processing language. The M4 files support the transfer of text from one text based application to another. M4 files are utilized and embedded in C programming language code when the processor needs to process text.