# BurntSushi/toml

TOML parser for Golang with reflection.

Repository: https://github.com/BurntSushi/toml
Canonical: https://ross.abutalabs.com/products/burntsushi-toml
Language: Go
License: MIT
License Family: permissive
Last push: 2026-08-18T20:04:59+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 30, longevity 100
- inputs: {"age_days": 4936, "days_push": 15, "days_rel": 258, "gap_med": 275, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5000, forks 559 (observed 2026-08-28T04:09:04.484766+00:00)

## What it is
A Go library for parsing and encoding TOML configuration files, with a reflection-based API mirroring the standard library's  and xml packages. It also ships a tomlv CLI validator for checking TOML files.

## Use cases
- parse TOML config files into Go structs
- decode TOML with struct tags and custom unmarshalers
- encode Go structs to TOML
- validate TOML files from the command line
- read application configuration in Go

## When to choose
- you need TOML support in a Go program with a stdlib-like API
- you want mature, well-tested TOML v1.1.0 compliance
- you need a CLI to validate TOML syntax

## When to avoid
- you are parsing YAML or JSON instead of TOML
- you are not working in Go
- you need streaming parsing of very large documents

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization, cli
- domain: developer-tools, files, backend
- platform: go, cross-platform, cli
- tags: toml, config-files, reflection, decoder, encoder

## Member repositories
- BurntSushi/toml (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:04.484766+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-29T18:17:35.558128+00:00, confidence not recorded.
  - readme: https://github.com/BurntSushi/toml (fetched 2026-08-28T04:09:04.484766+00:00, sha 978ad672486c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
