JSON to TOML Converter

Convert JSON data to TOML configuration format

JSON Input

Loading...

TOML Output

Add JSON data to see TOML output

Your converted TOML configuration will appear here

Frequently Asked Questions

How are nested JSON objects converted?

Nested objects become TOML sections with dot notation. For example, {database: {host: 'localhost'}} becomes [database] with host = 'localhost'.

How are JSON arrays handled?

Simple arrays become TOML arrays with square brackets. Arrays of objects are converted to array tables using [[table.name]] syntax.

What about complex data types?

Dates are formatted as ISO 8601 strings, complex nested structures become inline tables, and special characters are properly escaped.

Can I convert JSON data directly?

Yes! You can paste JSON directly into the input editor or import JSON data from various sources using the import button.