csv-to-json.gem Installation ... after installing ... Usage command line You may run ... csv_to_json.rb *.csv ... to convert all .csv files to .json Alternatives csv2json -- unfortunately it uses FasterCsv that won't work using Ruby 1.9