TOML to JSON Converter - Paste TOML text and convert it to formatted JSON, including [section] and [[array of tables]]. Free, browser-only.
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Type mapping | TOML datetimes map to ISO 8601 strings | TOML v1.0.0 / RFC 3339 |
| Nesting | [a.b] becomes nested object {a:{b:{}}} | TOML v1.0.0 |
| Array of tables | [[x]] becomes a JSON array of objects | TOML v1.0.0 |
| 写法 | 含义 |
|---|---|
| key = "v" | 字符串 |
| [section] | 表 |
| [[arr]] | 数组表 |
| list = [1, 2] | 数组 |