finds.dev

devinsmith/libexcel

C library for creating Microsoft Excel (XLS) files.

View on GitHub

★ 40CNOASSERTIONupdated Jun 2017

// the take

libexcel is a small C library for writing binary XLS files (the old BIFF format), ported from Perl's Spreadsheet::WriteExcel. It's for C/C++ programs that need to emit legacy Excel files without shelling out to another process or linking a heavier dependency.

Covers the core BIFF writing primitives (biffwriter, olewriter for the OLE2 container, formula and format handling) rather than just a toy subset. Static library with no external dependencies, so it's easy to vendor into an existing C build. Supports both GNU make and an MSVC project file, so it's usable cross-platform without a big build system.

Dead since 2017 with no releases or tags, and only 40 stars/12 forks after years — not a project with any community or maintenance behind it. Targets the legacy binary XLS format, not XLSX/OOXML, which is a dead end for anything modern consuming the output. No fuzzing or documented test coverage beyond a handful of example programs, and a hand-rolled binary format writer like this is exactly the kind of code that produces memory-safety bugs on malformed input. BSD make isn't supported, so anything on *BSD needs GNU make installed separately.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
40
Forks
12
Language
C
License
NOASSERTION
Last commit
22 Jun 2017

// nearby

If libexcel isn't quite it.

All repos →