# troldal/OpenXLSX

A C++ library for reading, writing, creating and modifying Microsoft Excel® (.xlsx) files.

Repository: https://github.com/troldal/OpenXLSX
Canonical: https://ross.abutalabs.com/products/openxlsx
Language: C++
License: BSD-3-Clause
License Family: permissive
Topics: excel, cpp, cpp17
Last push: 2026-06-15T15:27:22+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 87, release rhythm 57, longevity 100
- inputs: {"age_days": 3083, "days_push": 79, "days_rel": 79, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1778, forks 392 (observed 2026-08-28T04:05:34.690481+00:00)

## What it is
OpenXLSX is a C++17 library for reading, writing, creating, and modifying Microsoft Excel .xlsx files. It is built with CMake and integrates easily into C++ projects as a standalone or monolithic library.

## Use cases
- read data from xlsx files in C++
- generate Excel reports programmatically
- modify existing spreadsheets without Excel installed
- create xlsx files from application data
- parse spreadsheet cells and values in C++

## When to choose
- you need native C++ Excel file support with no Excel/COM dependency
- you want a lightweight, permissively licensed (BSD-3) xlsx library
- your project uses CMake and C++17

## When to avoid
- you need advanced features like tables, filters, or full hyperlink support
- you work primarily in Python or .NET where richer spreadsheet libraries exist
- you need to handle very large files with low memory usage

## Facets
- artifact type: library
- maturity: active
- function: file-system, parser, serialization
- domain: files, spreadsheets, developer-tools
- platform: cross-platform, cpp, windows
- tags: excel, xlsx, cpp17, spreadsheet, cmake, linux, macos

## Member repositories
- troldal/OpenXLSX (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:34.690481+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:25:11.118228+00:00, confidence not recorded.
  - readme: https://github.com/troldal/OpenXLSX (fetched 2026-08-28T04:05:34.690481+00:00, sha d38a747f6e61)
- Data as of 2026-08-30T08:39:29.467469+00:00.
