TOML Formatter

Format common TOML configuration files into a cleaner structure. This browser tool handles everyday keys, sections, numbers, booleans, strings, arrays, and nested tables.

TOML is designed for readable configuration files and is used by many developer tools, package managers, static site generators, and application settings files. A formatter makes sections easier to scan and helps reveal misplaced keys.

This formatter focuses on common TOML syntax used in everyday config files. It is useful for cleaning simple tables and arrays, but highly specialized TOML features should still be checked in the tool or runtime that consumes the file.

Keeping TOML tidy reduces review noise and makes configuration changes easier to compare.

Related tools: TOML to JSON · JSON to TOML