# jmcnamara/libxlsxwriter

A C library for creating Excel XLSX files.

Repository: https://github.com/jmcnamara/libxlsxwriter
Canonical: https://ross.abutalabs.com/products/libxlsxwriter
Homepage: https://libxlsxwriter.github.io
Language: C
License: NOASSERTION
License Family: other
Topics: xlsx-files, libxlsxwriter, c, xlsxwriter, spreadsheet, xlsx
Last push: 2026-07-07T22:17:00+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 41, longevity 100
- inputs: {"age_days": 4469, "days_push": 57, "days_rel": 233, "gap_med": 93, "n_releases_24m": 6}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1754, forks 384 (observed 2026-08-28T04:05:32.009192+00:00)

## What it is
libxlsxwriter is an ANSI C library for creating Excel 2007+ XLSX files with text, numbers, formulas, hyperlinks, charts, images, and full formatting. It has minimal dependencies (only zlib) and works across many compilers and platforms.

## Use cases
- generate excel xlsx reports from c
- write spreadsheets with charts and formatting in c
- export data to excel files on linux or windows
- create large xlsx files with low memory usage
- add macros and images to excel workbooks programmatically

## When to choose
- you need to generate Excel-compatible XLSX files from C or C++ code
- you want a lightweight library with only a zlib dependency
- you need rich Excel features like charts, conditional formatting, and data validation
- you must run on many platforms, compilers, and endianness configurations

## When to avoid
- you need to read or parse existing XLSX files rather than create them
- you are working in Python, JavaScript, or another high-level language with native alternatives
- you need to edit legacy .xls binary Excel files

## Facets
- artifact type: library
- maturity: stable
- function: file-system, data-visualization
- domain: files, spreadsheets, developer-tools
- platform: windows, cross-platform, c
- tags: xlsx, excel, spreadsheet-generation, c-library, reporting, linux, macos, ios

## Member repositories
- jmcnamara/libxlsxwriter (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:32.009192+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:28:07.788184+00:00, confidence not recorded.
  - readme: https://github.com/jmcnamara/libxlsxwriter (fetched 2026-08-28T04:05:32.009192+00:00, sha 54e5b1380865)
  - homepage: https://libxlsxwriter.github.io (fetched 2026-08-29T11:06:08.334843+00:00, sha c9df4bc20645)
- Data as of 2026-08-30T08:39:29.467469+00:00.
