There exist solutions already. But maybe for some people it is not possible or acceptable to install perl or python just for this small program. On Linux python and/or perl is often installed already. But on windows not. This csv2xls can be cross compiled for windows on Linux with mingw.
It depends on:
xlslib: http://sourceforge.net/projects/xlslib/
libcsv: http://sourceforge.net/projects/libcsv/

-= Limitations =-

- produces only Excel(TM) 97/2000/XP/2003
- no cell formatting, just plain text

Source code is hosted on
https://github.com/ferkulat/csv2xls

Features

  • split output in several files, if max line limit exceeded
  • set work sheet name of xls output file
  • noninteractive -> useful for automated tasks
  • builds on linux and windows
  • no perl and python needed

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow csv2xls

csv2xls Web Site

Other Useful Business Software
Train ML Models With SQL You Already Know Icon
Train ML Models With SQL You Already Know

BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of csv2xls!

Additional Project Details

Operating Systems

BSD, Linux, Windows

User Interface

Command-line, Console/Terminal

Programming Language

C++

Registered

2012-11-24