toml
What is a .toml file?
application/toml
TOML (Tom's Obvious Minimal Language) is a configuration format designed to be unambiguous and easy to read, with typed values, sections in bracketed tables, and clear date and number handling. It maps cleanly to hash tables. It is widely used for application and package configuration, such as Rust's Cargo and Python's pyproject.
How to use a .toml file
Use an example TOML file to test config parsers, typed-value and table handling, and tools that read project or application settings.
Download example .toml files
- TOML ConfigurationA TOML configuration file with tables, inline values, and an array of tables — for testing TOML parsers.
- App Config (TOML)Sample TOML application config for TOML parser tests.
- Config — App Feature Flags (TOML)Tiny SAMPLE TOML config fixture (app-feature-flags) for parser and twin tests.
- Config — Redis Cache (TOML)Tiny SAMPLE TOML config fixture (redis-cache) for parser and twin tests.
- GDPR Preferences (TOML, SAMPLE)SAMPLE consent/preferences TOML for privacy-export parsers.
- Vector — Log Topology in TOML with Multi-Line Transforms (toml)A log-processing topology in TOML where components declare their inputs rather than an explicit graph, including a dropped-event route consumed as parse_json.dropped. The transform bodies are triple-quoted multi-line strings holding a different language, which is what breaks TOML tooling here.
- TOML Build Configuration with Array of TablesA build-tool configuration in TOML, chosen for the constructs YAML has no direct equivalent for: three [[build.step]] array-of-tables entries carrying an ordered pipeline, a quoted glob key, and all three TOML date-time flavours.