Write configuration files for applications that are easier to read and edit than JSON or YAML.
Define package metadata and dependencies in a standardized, human-friendly format.
Create settings files for tools and services that need clear structure without parsing ambiguity.
Build parsers and validators for TOML in any programming language using the official test suite.
TOML (Tom's Obvious, Minimal Language) is a configuration file format designed to be easy for humans to read and write. This repository contains the in-development version of the TOML specification, with released versions available at toml.io. TOML is designed to map unambiguously to a hash table, a simple key-value data structure, and is intended to be straightforward to parse in any programming language. Its goals place it between JSON and YAML: like JSON, it uses simple and unambiguous data types, making it easy to process with machines; like YAML, it supports comments and prioritizes human readability. Unlike JSON, TOML allows comments in configuration files. Unlike YAML, it keeps the format simple and avoids the many edge cases and surprises that YAML parsers face. TOML is explicitly intended for configuration files rather than general data serialization. It always has a hash table at the top level, supports nested data within keys, but does not permit top-level arrays or floats and has no standard for marking the start or end of a file. Compared to INI files, TOML supports deeper nesting with a standardized format. The official TOML wiki catalogs projects using TOML, implementations across languages, validators, editor support, and a language-agnostic test suite for TOML decoders and encoders.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.