TOML Format Guide
Tom's Obvious Minimal Language — the modern, typed configuration format
About TOML Format
TOML (Tom's Obvious Minimal Language) is a configuration file format created by Tom Preston-Werner, co-founder of GitHub, in 2013. It was designed to be a minimal, unambiguous configuration format that maps clearly to a hash table. Unlike INI, TOML has a formal specification and supports native data types including strings, integers, floats, booleans, dates/times, arrays, and nested tables.
TOML has been widely adopted in the Rust ecosystem (Cargo.toml), Python packaging (pyproject.toml, Poetry, pip), static site generators (Hugo, Netlify), and many other tools. Its key advantage over YAML is unambiguous parsing — there's only one way to represent each value. Compared to JSON, TOML supports comments and is more human-friendly for configuration. Python 3.11+ includes the tomllib module in the standard library, cementing TOML's status as a first-class configuration format.
Available Conversions
Convert TOML config to AsciiDoc tables for documentation
Convert TOML to AsciiDoc markup for technical docs
Convert TOML config to Amazon Kindle e-book
Encode TOML content to Base64 for safe transfer
Convert TOML settings to BBCode for forum posting
Flatten TOML config to CSV tabular data
Convert TOML to Word 97-2003 document
Convert TOML to DocBook XML for publishing
Convert TOML to Word document with sections
Convert TOML config to EPUB e-book
Convert TOML to modern EPUB3 format
Convert TOML to FictionBook 2.0
Encode TOML to hexadecimal representation
Convert TOML to styled HTML tables for web
Convert TOML to INI configuration format
Convert TOML to JSON with preserved types
Convert TOML to LaTeX document with tables
Convert TOML to plain text log format
Convert TOML to Markdown tables for README
Convert TOML to MD Markdown format
Convert TOML to MediaWiki tables
Convert TOML to Kindle MOBI e-book
Convert TOML to OpenDocument Text
Convert TOML to Emacs Org-mode format
Convert TOML config to PDF document
Convert TOML to PowerPoint presentation
Convert TOML to Java Properties format
Convert TOML to reStructuredText tables
Convert TOML to Rich Text Format
Convert TOML to SQL INSERT statements
Convert TOML to SVG vector graphic
Convert TOML to StarOffice Writer
Convert TOML to LaTeX document
Convert TOML to plain text
Convert TOML to Textile markup
Flatten TOML to tab-separated values
Convert TOML to plain text
Convert TOML to Wiki markup tables
Convert TOML to Excel spreadsheet
Convert TOML to XML configuration
Convert TOML to YAML configuration
Convert TOML to YML configuration
TOML Format Features
- Native Data Types: Strings, integers, floats, booleans, dates/times, arrays, tables
- Formal Specification: Unambiguous grammar with clear parsing rules
- Human-Readable: Minimal syntax designed for easy reading and editing
- Comment Support: Full-line and end-of-line comments with #
- Nesting: Sections via [table], sub-tables via [table.subtable], array of tables via [[array]]
- Inline Tables: Compact notation for small tables: {key = "value"}
- Multiline Strings: Triple-quoted strings for long values
Common Uses
- Rust Ecosystem: Cargo.toml for package management and build configuration
- Python Packaging: pyproject.toml (PEP 518/621), Poetry, pip, setuptools
- Static Site Generators: Hugo front matter, Netlify configuration
- CI/CD: GitHub Actions (partial), various build tool configs
- Application Config: Database settings, server configuration, feature flags
- Development Tools: Black, isort, mypy, ruff, taplo formatter configs
- Infrastructure: Terraform configurations, container settings