TOML Formatter/Minifier
Online TOML formatter and minifier for beautifying and compressing config files with indent switching, suitable for config maintenance and normalization workflows
TOML Formatter/Minifier Guide
TOML (Tom's Obvious, Minimal Language) is a popular configuration format. This tool helps beautify or minify TOML content for better readability, sharing, and configuration review.
Features
- Format TOML content for better readability.
- Minify TOML by removing redundant whitespace and empty lines.
- Switch indent style with 2 spaces, 4 spaces, or tab.
- Get parse feedback, sample loading, and one-click copy.
Use cases
- Organize project configs for Rust, Python, and Node apps.
- Review and normalize CI/CD configuration files.
- Prepare TOML snippets before cross-environment sync or diff.
- Share standardized config blocks in docs, tickets, and emails.
Supported elements
- Key-value pairs (key = value)
- Tables and nested tables ([section])
- Array tables ([[items]])
- Arrays, booleans, numbers, strings, and inline tables