The two COSMO-RS command line utility programs kf2cosmo and cosmo2kf convert COSMO kf files from binary to ASCII and vice versa.
kf2cosmo file.coskf file.cosmo
kf2cosmo reads from the kf file file.coskf (should exist) the section 'COSMO' and writes to the ASCII file file.cosmo (should not exist). Instead of a .coskf file, the file can also be a TAPE21 file which is a result file from an ADF COSMO calculation.
cosmo2kf file.cosmo file.coskf
cosmo2kf reads from the ASCII file file.cosmo (should exist) and writes a section 'COSMO' to the kf file file.coskf (should not exist). Note that only a section 'COSMO' is written to the kf file, which means that this file can not be used like an ordinary TAPE21 (.t21) file.
cpkf file.t21 file.coskf COSMO
With the ADF kf utility cpkf one can copy the section 'COSMO' from a file.t21 (should exist) to a file.coskf (should not exist). The file file.t21 should be a result of an ADF COSMO calculation. The file file.coskf is much smaller than file.t21. This file file.coskf can not be used like an ordinary .t21 file, but it contains all necessary information such that it can be used as input for a COSMO-RS calculations.