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

FeatureExample
Strings (basic & literal)name = "hello", path = 'C:\tmp'
Integers & floatsport = 8080, ratio = 3.14
Booleansdebug = true
Arraysfeatures = ["a", "b"]
Standard tables[database]
Array of tables[[dependencies]]
Dotted keysserver.host = "localhost"
Inline tablesopts = { 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.