Search for a command to run...
All available keyboard shortcuts
Convert TOML configuration files to JSON format instantly. Struct parses TOML tables, arrays of tables, inline tables, and dotted keys into clean JSON. Ideal for converting Cargo.toml, pyproject.toml, or Hugo config files to JSON for programmatic processing or API consumption.
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 TOML into Struct's input panel. Struct parses all TOML constructs (tables, arrays, inline tables, dotted keys) and generates equivalent JSON with proper nesting and types.
TOML tables become JSON objects. [server] becomes {"server": {...}}. Arrays of tables ([[items]]) become JSON arrays of objects. Dotted keys (server.host) become nested objects.
TOML dates and datetimes are converted to ISO 8601 strings in JSON, since JSON has no native date type. For example, 2024-01-15 becomes "2024-01-15".