talira

Compare

toml (BurntSushi)go-toml
What it isDecode and encode TOML in Go, like encoding/jsonRead and write TOML 1.1 in Go, with an encoding/json-style API
KindOpen sourceOpen source
Trust0.470.39
Stars50372008
Last commit2026-08-182026-07-18
LicenceMITMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyAndrew GallantThomas Pelletier
Features
  • decode TOML into Go structs with toml.Decode, by reflection
  • encode Go values as TOML
  • report keys the struct didn't decode
  • compatible with TOML v1.1.0
  • tomlv command to validate TOML files
  • TOML v1.1.0 support
  • Marshal and Unmarshal like encoding/json
  • strict mode that rejects unknown keys
  • contextualized decode errors that show the offending line
  • LocalDate, LocalTime and LocalDateTime types
  • commented output for generated config files
  • tomljson, jsontoml and tomll command-line tools and Docker image