Cargo/pyproject-style TOML parsed to clean JSON locally.
{
"package": {
"name": "my-app",
"version": "1.2.0",
"edition": "2021"
},
"dependencies": {
"serde": {
"version": "1",
"features": [
"derive"
]
},
"tokio": "1"
},
"bin": [
{
"name": "server",
"path": "src/main.rs"
}
]
}📦 TOML 1.0 subset parser — tables, array tables, inline tables, dotted keys, and all numeric formats. Datetimes stay strings (JSON has no date type). Multi-line strings are rejected with the line number instead of mis-parsed.
Rust (Cargo), Python (pyproject), and many modern tools chose TOML for configs because it is diff-friendly and typed: strings are quoted, numbers are bare, dates are unambiguous — no YAML surprise-me typing.
Tables become objects, array tables become arrays of objects, dotted keys nest, integers (including hex/octal/binary and underscore separators) become JSON numbers, booleans map directly. Datetimes stay as ISO strings since JSON lacks a date type.
Multi-line strings are rejected loudly with line numbers rather than silently mangled — a converter that guesses wrong on config files costs hours. Fix the syntax or collapse those values to a single line first.
More tools you might find useful
Play sine, square, triangle, and sawtooth tones from 20 Hz to 20 kHz.
Find any symbol by name or paste — code point and block shown.
Decode percent-encoded URLs back to text.
Encode text for safe use in URLs.