Azlaan Electric AC Solar Center — Solar, CCTV, AC & electrical work, Faisalabad Call: 0300-8987448

TOML to JSON Converter

Turn TOML configuration files into clean, formatted JSON for apps that read JSON — paste your TOML, choose pretty or minified output, and copy or download the result. Everything converts locally in your browser.

How to use

  1. Paste your TOML text into the input box (or use the sample).
  2. Choose a JSON format: pretty-printed or minified.
  3. Conversion runs automatically — copy the JSON or download it as a file.

Note: The parser supports tables, arrays of tables, dotted keys, inline tables, all string styles, numbers, booleans and arrays. Date and time values are kept as text strings. Special values like inf and nan become null in JSON, since JSON does not allow them.

Tips

  • Choose pretty-printed JSON for reading and debugging, minified for sending to an API.
  • Dates stay as text strings — most apps parse them after conversion.
  • If the output looks wrong, check the TOML for unquoted dotted keys first.