JSON to TOML Converter

Turn a JSON object into TOML, the format of Cargo.toml and pyproject.toml. Nested objects become dotted keys such as build.port, and arrays of objects become inline tables.

Example

Input
{
  "name": "parsebox",
  "version": "2.1.0",
  "private": false,
  "maintainers": [
    { "name": "Ada Lovelace", "email": "[email protected]", "active": true },
    { "name": "Alan Turing", "email": "[email protected]", "active": false }
  ],
  "build": {
    "target": "es2022",
    "minify": true,
    "port": 5173
  }
}
Output
name = 'parsebox'
version = '2.1.0'
private = false
maintainers = [
	{ name = 'Ada Lovelace', email = '[email protected]', active = true },
	{ name = 'Alan Turing', email = '[email protected]', active = false },
]
build.target = 'es2022'
build.minify = true
build.port = 5173

Private by design

ParseBox runs entirely in your browser. Your text is never uploaded, logged or stored on a server, so it is safe to paste API responses, tokens and config files.

Related conversions

All 30 formats in ParseBox →