TOML to JSON Converter

{
  "project": {
    "name": "rangdom",
    "version": "1.0.0",
    "requires-python": ">=3.11",
    "dependencies": [
      "httpx",
      "pydantic"
    ]
  },
  "tool": {
    "black": {
      "line-length": 88
    },
    "mypy": {
      "overrides": [
        {
          "module": "tests.*",
          "ignore_missing_imports": true
        }
      ]
    }
  }
}
Converted locally in your browser. Your TOML stays only on this page.

Turn TOML into JSON

Paste a TOML document — a pyproject.toml, Cargo.toml, or Netlify config — and get the equivalent pretty-printed JSON with 2-space indentation. This is the reverse of the JSON to TOML tool, so converting JSON to TOML and back recovers the original value.

Supported: # comments; bare and quoted keys; basic ("...") and literal ('...') strings; integers, floats, and true/false; [table] and dotted [a.b.c] headers; arrays of tables ([[items]]); and inline arrays of scalars.

Not supported (rejected with an inline error): multi-line strings (""", '''), dotted-key assignments (a.b = 1), and inline tables ({ ... }). Date-time values have no JSON type, so they are preserved as strings.