YAML ↔ JSON ↔ TOML
YAML parsing uses the well-established js-yaml library. TOML support is a lightweight built-in parser covering common cases (tables, arrays, strings, numbers, booleans) — not the full spec (no multi-line strings, dates, or inline tables).
What is YAML ↔ JSON ↔ TOML?
YAML, JSON, and TOML are the three formats most configuration files are written in — Kubernetes and Docker Compose favor YAML, APIs favor JSON, Rust and some modern tools favor TOML — and translating a config between them by hand is fiddly.
How to use it
Pick a source and target format and paste your content — YAML parsing uses the well-established js-yaml library; JSON uses the browser's native parser; TOML uses a built-in parser covering common cases (not the full spec).
Example
{"port": 8080} in JSON becomes port = 8080 in TOML, or port: 8080 in YAML.