Skip to content

This file type cannot be converted in the browser.

┌─ FILE ANALYSIS ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
DEVELOPER : Tom Preston-Werner
CATEGORY : Data
MIME TYPE : application/toml
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

What is a TOML file?

TOML (Tom’s Obvious, Minimal Language) is a configuration file format created by GitHub co-founder Tom Preston-Werner. It is designed to be minimal and unambiguous, mapping directly to a hash table. TOML is used as the configuration format for Rust (Cargo.toml), Python (pyproject.toml), and many other tools.

How to open TOML files

  • VS Code (Windows, macOS, Linux) — With Even Better TOML extension
  • Any text editor — TOML files are plain text
  • toml (Python) — pip install toml for parsing
  • toml-rs (Rust) — Native TOML parsing

Technical specifications

PropertyValue
VersionTOML v1.0.0 (2021)
EncodingUTF-8
Data TypesString, integer, float, boolean, datetime, array, table
CommentsHash (#) line comments
NestingDot-separated keys or [table] headers

Common use cases

  • Rust projects: Cargo.toml package configuration.
  • Python projects: pyproject.toml build configuration.
  • Go modules: go.mod companion configuration.
  • Static site generators: Hugo, Pelican configuration.