Read and Write Comma Separated Values (CSV) Files

CSV_IO is a FORTRAN90 program which reads and writes files that use the CSV (comma separated values) format.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


CSV_IO is available in a FORTRAN90 version and an R version.

Related Data and Programs:

CSV, a data directory which contains examples of Comma Separated Value files;

TABLE_IO, a FORTRAN90 library which reads and writes TABLE files.


  1. Yakov Shafranovich,
    RFC 4180: Common Format and MIME Type for Comma-Separated Values (CSV) Files,
    October 2005.

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN90 source codes.

Last revised on 22 November 2008.