Search for a command to run...
All available keyboard shortcuts
Convert JSON objects to clean TOML format instantly. Struct produces properly formatted TOML with tables, inline arrays, and correct type handling. Ideal for generating Cargo.toml, pyproject.toml, or any TOML-based configuration file from JSON data.
Yes. Struct processes everything 100% in your browser. Your data never leaves your device — nothing is sent to any server. Most online tools send your data to their servers for processing. Struct is different: you can verify this by disconnecting your network and confirming the tool still works. Read our privacy policy for full details.
Paste your JSON into Struct's Convert tab and select TOML as the output format. Struct generates clean, properly formatted TOML that you can copy or download.
TOML requires a top-level object (table). Top-level arrays or primitive values are not supported. Nested objects become TOML tables, and arrays become TOML arrays.
Yes. Use the Swap button to switch the conversion direction. Paste TOML and get clean JSON output with proper types preserved.