marzer/tomlplusplus
Header-only TOML config file parser and serializer for C++17. observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 93
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2471
- days_rel: n/a
- days_push: 43
- n_releases_24m: 0
Adoption not part of the score
2132 stars · 215 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
toml++ is a header-only C++17 library for parsing and serializing TOML configuration files, with optional serialization to JSON and YAML. It passes the full toml-test suite, handles UTF-8 properly, and works with or without exceptions and RTTI.
Use cases
- parse toml config files in c++
- read configuration files in a c++17 project
- convert toml to json or yaml in c++
- write toml files from c++
- header-only toml parser with no dependencies
- parse toml from strings or streams
When to choose
- you need a spec-compliant TOML v1.0.0 parser for C++17 or later
- you want a dependency-free, header-only library you can drop into a project
- you need to serialize TOML data to JSON or YAML
- you need proper UTF-8 handling and support for compilers without RTTI or exceptions
When to avoid
- you need a runtime library rather than a compile-time header-only dependency
- your project targets C++ standards older than C++17
- you need a general-purpose configuration format beyond TOML/JSON/YAML
- you need incremental or streaming parsing of very large files
Facets
library · maturity stable
parser serialization json configuration-management parsers developer-tools files cross-platform cpp cross-platform windows toml header-only cpp17 cpp20 yaml unicode single-file no-dependencies linux macos
2 sources
- readme: https://github.com/marzer/tomlplusplus · fetched 2026-08-28 · 44e5f1d31ecd
- homepage: https://marzer.github.io/tomlplusplus/ · fetched 2026-08-29 · a98f6d775df5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| marzer/tomlplusplus | main | 65 |
For agents
markdown · JSON · MCP: product_card(name="marzer/tomlplusplus")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem