# toml-lang/toml

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/toml-lang-toml).**

20,369 stars · 889 forks · mit

## Links

- GitHub: https://github.com/toml-lang/toml
- Homepage: https://toml.io
- awesome-repositories: https://awesome-repositories.com/repository/toml-lang-toml.md

## Description

TOML is a configuration file format designed for human readability and unambiguous mapping to hash tables. It serves as a standardized language for structured data, enabling consistent parsing and data exchange across diverse programming environments.

The format distinguishes itself through a strict type-system specification that ensures data is interpreted identically regardless of the implementation. It utilizes a line-oriented lexical structure that supports both hierarchical organization through bracketed sections and compact inline embedding for nested objects. This approach allows for the representation of complex data models while maintaining a clear, readable text format.

The language supports a wide range of primitive and complex data types, including integers, floating-point numbers, booleans, and standardized date-time values. It provides flexible string encoding for multi-line content and raw text, alongside built-in support for inline comments to facilitate documentation within configuration files. These capabilities allow for the definition of nested tables, arrays, and arrays of tables to model multi-dimensional data structures.

## Tags

### Development Tools & Productivity

- [Application Configuration Management](https://awesome-repositories.com/f/development-tools-productivity/application-configuration-management.md) — Provides a standardized, human-readable format for managing application settings and configuration parameters.
- [Configuration Documentation](https://awesome-repositories.com/f/development-tools-productivity/readability-enhancements/configuration-documentation.md) — Improves maintainability by allowing descriptive comments and clear hierarchical structures within configuration files.
- [String Literal Handling](https://awesome-repositories.com/f/development-tools-productivity/string-literal-handling.md) — Supports basic, multi-line, and literal string formats with flexible escaping and raw content preservation. ([source](https://toml.io/en/v0.3.0))

### Software Engineering & Architecture

- [Configuration Formats](https://awesome-repositories.com/f/software-engineering-architecture/application-lifecycle-management/configuration-management/configuration-formats-and-schemas/configuration-formats.md) — A human-readable configuration file format designed for unambiguous mapping to hash tables. ([source](https://toml.io/en/v0.1.0))
- [Data Serialization Formats](https://awesome-repositories.com/f/software-engineering-architecture/data-serialization-formats.md) — Provides a standardized, human-readable configuration file format designed for unambiguous mapping to hash tables.
- [Configuration Table Structures](https://awesome-repositories.com/f/software-engineering-architecture/configuration-table-structures.md) — Create ordered collections of structured objects by using double-bracketed headers to append multiple table entries to a single key. ([source](https://toml.io/pl/v1.0.0))
- [Configuration Formats and Schemas](https://awesome-repositories.com/f/software-engineering-architecture/application-lifecycle-management/configuration-management/configuration-formats-and-schemas.md) — Structures data into a human-readable format that maps unambiguously to hash tables for consistent parsing. ([source](https://toml.io))
- [Data Exchange Standards](https://awesome-repositories.com/f/software-engineering-architecture/data-exchange-standards.md) — Ensures consistent data interpretation across different programming environments and systems.
- [Configuration Commenting Utilities](https://awesome-repositories.com/f/software-engineering-architecture/application-lifecycle-management/configuration-management/configuration-sourcing-and-binding/configuration-commenting-utilities.md) — Supports built-in inline comments to improve documentation and maintainability within configuration files. ([source](https://toml.io/en/v1.0.0-rc.3))
- [Configuration Comments](https://awesome-repositories.com/f/software-engineering-architecture/configuration-comments.md) — Insert human-readable notes into configuration files using a designated symbol that instructs the parser to ignore all text until the end of the line. ([source](https://toml.io/fr/v1.0.0))
- [Hierarchical Data Structures](https://awesome-repositories.com/f/software-engineering-architecture/hierarchical-data-structures.md) — Creates nested hash table structures using dot-separated keys and table headers. ([source](https://toml.io/cn/v1.0.0))
- [Primitive Type Schemas](https://awesome-repositories.com/f/software-engineering-architecture/primitive-type-schemas.md) — Maps configuration values to native primitive types including strings, numbers, and booleans. ([source](https://toml.io/en/v0.2.0))
- [Type Systems](https://awesome-repositories.com/f/software-engineering-architecture/type-systems.md) — Defines a fixed set of primitive and complex data types to ensure unambiguous interpretation across environments.
- [Configuration Data Collections](https://awesome-repositories.com/f/software-engineering-architecture/configuration-data-collections.md) — Define arrays of values or arrays of tables to represent lists of structured objects within a configuration document. ([source](https://toml.io/fr/v1.0.0))
- [Data Formats](https://awesome-repositories.com/f/software-engineering-architecture/data-formats.md) — Represents integers, floats, booleans, and date-time formats using native syntax for unambiguous interpretation. ([source](https://toml.io/en/v1.1.0))
- [Data Structures](https://awesome-repositories.com/f/software-engineering-architecture/data-structures.md) — Organizes configuration settings into key-value pairs, nested tables, and arrays to represent complex data. ([source](https://toml.io/en/v0.4.0))
- [Hash Tables](https://awesome-repositories.com/f/software-engineering-architecture/hash-tables.md) — Maps configuration structures directly to native hash tables for consistent cross-language data representation.
- [Inline Definitions](https://awesome-repositories.com/f/software-engineering-architecture/architectural-design-patterns/object-oriented-foundations/object-oriented-programming/structure-definitions/inline-definitions.md) — Allows compact definition of nested objects and lists to reduce file verbosity.
- [String Encodings](https://awesome-repositories.com/f/software-engineering-architecture/string-validation-and-normalization/string-encodings.md) — Provides multiple string formats to handle raw text and multi-line content without complex character escaping.
- [Boolean Configuration Values](https://awesome-repositories.com/f/software-engineering-architecture/boolean-configuration-values.md) — Uses simple, lowercase tokens to represent logical values within configuration structures. ([source](https://toml.io/en/v0.3.0))
- [Parsing Strategies](https://awesome-repositories.com/f/software-engineering-architecture/parsing-strategies.md) — Processes configuration files as a sequence of lines to simplify parsing logic and ensure readability.

### Content Management & Publishing

- [Content Formats](https://awesome-repositories.com/f/content-management-publishing/content-formats-exporting/content-formats.md) — Provides a standardized, human-readable text format for structured data storage and configuration. ([source](https://toml.io/cn/v1.0.0))

### Data & Databases

- [Key-Value Pair Managers](https://awesome-repositories.com/f/data-databases/key-value-pair-managers.md) — Maps keys to values using a standardized syntax supporting strings, numbers, booleans, dates, arrays, and tables. ([source](https://toml.io/cn/v1.0.0))
- [Configuration Languages](https://awesome-repositories.com/f/data-databases/structured-data-records/configuration-languages.md) — Defines a hierarchical syntax for structured configuration data that maps directly to hash tables and arrays.
- [Hierarchical Data Models](https://awesome-repositories.com/f/data-databases/hierarchical-data-models.md) — Organizes configuration data into nested tables and arrays to represent complex, multi-level data models. ([source](https://toml.io/en/v0.5.0))
- [Data Structures](https://awesome-repositories.com/f/data-databases/data-structures.md) — Organizes multi-dimensional information into nested hierarchies and arrays of tables. ([source](https://toml.io/en/v0.3.0))
- [Data Types](https://awesome-repositories.com/f/data-databases/database-management-systems/database-systems-management/schema-management-tools/data-types.md) — Ensures data consistency through native support for strings, numbers, booleans, and date-time formats. ([source](https://toml.io/pt/v1.0.0))
- [List Data Structures](https://awesome-repositories.com/f/data-databases/list-data-structures.md) — Structures complex collections using arrays, inline tables, and arrays of tables. ([source](https://toml.io/en/v0.5.0))
- [Structured Data Records](https://awesome-repositories.com/f/data-databases/structured-data-records.md) — Models arrays of objects and data records using specialized double-bracketed headers. ([source](https://toml.io/pt/v1.0.0))
- [Table Data Processing](https://awesome-repositories.com/f/data-databases/table-data-processing.md) — Uses dot-notation keys and bracketed headers to structure hierarchical configuration data. ([source](https://toml.io/en/v0.2.0))
- [Data Encoding](https://awesome-repositories.com/f/data-databases/data-encoding.md) — Encodes diverse data formats including 64-bit integers and floating-point numbers. ([source](https://toml.io/ja/v1.0.0))
- [Date and Time Libraries](https://awesome-repositories.com/f/data-databases/date-and-time-libraries.md) — Encodes temporal data using standardized date and time formats for consistent interpretation. ([source](https://toml.io/en/v0.5.0))
- [Table Definitions](https://awesome-repositories.com/f/data-databases/table-definitions.md) — Allows compact definition of tables using inline curly brace syntax. ([source](https://toml.io/cn/v1.0.0))
- [Complex Data Types](https://awesome-repositories.com/f/data-databases/complex-data-types.md) — Encodes diverse data types including multi-line strings, scientific numbers, and temporal values. ([source](https://toml.io))
- [Complex Data Modeling](https://awesome-repositories.com/f/data-databases/relational-data-modeling/complex-data-modeling.md) — Models nested or repeating data sets using arrays, inline tables, and arrays of tables. ([source](https://toml.io/en/v1.1.0))
- [Inline Grouping](https://awesome-repositories.com/f/data-databases/data-grouping-utilities/inline-grouping.md) — Defines small collections of key-value pairs within a single line to improve file conciseness. ([source](https://toml.io/en/v0.4.0))
- [Nested Data Persistence](https://awesome-repositories.com/f/data-databases/nested-data-persistence.md) — Structures configuration hierarchies using dot-notation or bracketed sections for nested objects. ([source](https://toml.io/en/v0.1.0))

### User Interface & Experience

- [Configuration Sections](https://awesome-repositories.com/f/user-interface-experience/custom-header-components/section-headers/configuration-sections.md) — Organizes complex configuration data into manageable, readable hierarchical sections using bracketed headers.
- [Multiline Text Blocks](https://awesome-repositories.com/f/user-interface-experience/multiline-text-blocks.md) — Uses specialized syntax for multi-line strings and literal text blocks to handle long passages. ([source](https://toml.io/en/v0.4.0))

### Scientific & Mathematical Computing

- [Floating Point Handlers](https://awesome-repositories.com/f/scientific-mathematical-computing/numerical-mathematical-foundations/arithmetic-number-types/floating-point-handlers.md) — Supports standardized numeric formats including integers and floating-point numbers with scientific notation. ([source](https://toml.io/en/v0.3.0))
