Skip to main content
>_devtools

JSON to TOML Converter

Convert a JSON object to TOML tables and arrays of tables, with a choice for handling null values.

What this does

Paste a JSON object to convert it to TOML tables and arrays of tables. Choose whether null values are omitted or treated as an error.

Example

Input:
{"service":"api","port":4321}

TOML:
service = "api"
port = 4321

Limits and behavior

  • TOML has no null value, so null handling follows the selected option.
  • The root value must be an object.