TOML Validator & Formatter

A powerful tool for validating and formatting TOML configuration files. Perfect for Cargo.toml, pyproject.toml, and other TOML-based configurations.

Input

Validation Result

About This Tool

This enhanced TOML validator and formatter supports the full TOML 1.0 specification and provides extensive formatting options. Perfect for working with various TOML-based configuration files.

Common Uses:

  • Cargo.toml (Rust package manager)
  • pyproject.toml (Python project configuration)
  • Poetry dependency files
  • Application configuration files
  • Build system configurations

Key Features:

  • Full TOML 1.0 specification support
  • Schema validation for common TOML file types
  • Customizable array and table formatting
  • DateTime format standardization
  • File upload and download capabilities
  • Comment preservation
  • Section and key sorting options
  • Line-specific error highlighting

Schema Presets:

cargo: Basic Cargo.toml validation
pyproject: Basic pyproject.toml validation

Format Presets:

standard: Standard TOML format with good readability
compact: Minimized format for storage efficiency
cargo: Rust Cargo.toml style formatting
pyproject: Python pyproject.toml style formatting

Privacy Note: All processing is done locally in your browser. No data is transmitted or stored on any servers.