Convert TOML and INI configuration files to JSON — or convert JSON back to TOML. Paste your config, click Convert, and get clean output instantly. No installation, no server upload, everything runs in your browser.
Presets:
TOML / INI Input
JSON Output
⇄
How It Works
TOML/INI to JSON — Paste your config file in the left panel and click TOML/INI → JSON. The tool auto-detects whether the input is TOML or INI format.
JSON to TOML — Paste or generate JSON in the right panel and click JSON → TOML to produce a clean TOML file in the left panel.
Supported TOML Features
| Feature | Example |
|---|---|
| Strings (basic & literal) | name = "hello", path = 'C:\tmp' |
| Integers & floats | port = 8080, ratio = 3.14 |
| Booleans | debug = true |
| Arrays | features = ["a", "b"] |
| Standard tables | [database] |
| Array of tables | [[dependencies]] |
| Dotted keys | server.host = "localhost" |
| Inline tables | opts = { a = 1, b = 2 } |
INI Format Support
INI sections ([section]), key = value pairs, and ; or # comments are all parsed. Values are auto-coerced: true/yes/on become booleans, numeric strings become numbers.
Tips
- Use Cargo.toml or pyproject.toml presets to see real-world examples.
- Enable Minify JSON to get compact output for embedding in code.
- The Copy button on each panel copies the content to your clipboard.
- JSON → TOML works from the right (JSON) panel — paste JSON there, then click the button.
Related Tools
- YAML ↔ JSON Converter — Convert between YAML and JSON
- JSON Formatter & Validator — Format, validate, and minify JSON
- JSON Schema Generator — Generate JSON Schema from a JSON sample
