csv2sql (create sqlite database from a CSV file) csv2sql is a Ruby script for importing comma-separated-value files into SQLite. It can read from a file or from standard input, and can create a new database or insert new data into an existing one. It can handle various character encodings; the default is UTF-8.