In computing, exe2bin was a post-compilation utility program which ran under MS-DOS; it was distributed with many language compilers for MS-DOS in the 1980s, and included with certain versions of IBM PC DOS. Early compilers and linkers for the MS-DOS platform could not produce a COM file executable directly. Instead, the compilers would output an EXE-format file with relocation information. If all 8086 segments were set to be identical in such an EXE file (i.e. the "tiny" memory model was used), then exe2bin could convert it to a COM file. exe2bin could also be used to convert compiled code to make it suitable to be embedded in ROM as part of BIOS or a device-driver.