Format TOML Table
Input
[server]
host = 'localhost'
port = 8080
enabled = true
Example output
[server]
host = "localhost"
port = 8080
enabled = true
Format messy TOML configuration files into clean, readable tables and key-value pairs or validate syntax directly in your browser without uploading files to remote servers.
| Formatter Engine | smol-toml spec-compliant parser in Web Worker |
|---|---|
| Supported Operations | Format TOML and Validate TOML |
| Privacy & Security | 100% Client-side execution; config files are never uploaded |
| Maximum Input | 5 MB |
Input
[server]
host = 'localhost'
port = 8080
enabled = true
Example output
[server]
host = "localhost"
port = 8080
enabled = true
Input
[package]
name = 'demo'
version = '0.1.0'
Example output
Valid TOML document.TOML permits both dotted keys (a.b.c = 1) and nested table headers ([a.b]). The formatter standardizes tables into clean hierarchical structures.
RFC 3339 offset dates, local date-times, and local times are parsed accurately without timezone distortion.
Double-bracket table arrays ([[products]]) format consistently with clear section boundaries.
YAML Formatter & Validator
Format YAML, validate its syntax, and report document details locally.
.env ↔ JSON Converter
Convert bi-directionally between dotenv configuration files and flat JSON objects with prototype pollution protection, quote escaping, and sensitive memory-only handling.
Code Snapshot
Render pasted code as a styled SVG snapshot with syntax highlighting, themes, window frames, and gradient backgrounds for blogs and docs.
No. All parsing and formatting is performed entirely in your browser using client-side Web Workers.
The formatter fully adheres to the official TOML v1.0.0 specification, including inline tables, arrays, and standard string escape rules.
Yes. Standard Rust Cargo, Python pyproject, Go Hugo, and other ecosystem TOML files format cleanly.