libxlsxwriter
Introduction

libxlsxwriter is a C library for writing files in the Excel 2007+ XLSX file format.

It can be used to write text, numbers, formulas and hyperlinks to multiple worksheets and it supports features such as formatting.

The main advantages of using libxlsxwriter are:

  • It has a high degree of fidelity with files produced by Excel. In most cases the files produced are 100% equivalent to files produced by Excel.
  • It has extensive documentation, example files and tests.

However:

  • It can only create new files. It cannot read or modify existing files.

Libxlsxwriter is a C port of the Perl Excel::Writer::XLSX module and the Python XlsxWriter module and is licensed under a FreeBSD License.

Next: Getting Started with libxlsxwriter