TOML Formatter & Validator

Validate and format TOML. Convert TOML to JSON or JSON to TOML. Runs entirely in the browser.

Lines: 24Keys: 17Tables: 4Valid TOML
Input TOML
Output JSON
{
  "title": "My App",
  "version": "1.2.0",
  "debug": false,
  "server": {
    "host": "localhost",
    "port": 8080,
    "tls": true
  },
  "database": {
    "url": "postgres://localhost:5432/mydb",
    "pool_size": 10,
    "timeout": 30
  },
  "plugins": [
    {
      "name": "auth",
      "enabled": true
    },
    {
      "name": "cache",
      "enabled": false,
      "ttl": 3600
    }
  ]
}
TOML
Tom's Obvious, Minimal Language — human-friendly config format
Tables
[section] headers create nested objects in JSON output
Inline
Inline tables {key = "val"} and arrays [1, 2, 3] are supported
Types
Strings, integers, floats, booleans, dates, arrays, tables