DEVT⇄YTOML ⇄ YAML
Bidirectional · JSON bridge
TOML via @iarna/toml, YAML via js-yaml (TOML 1.0). TOML top-level must be a table (object); bare arrays and scalars are not supported.
TOML ⇄ YAML
Typical scenarios: ① turn a project config (e.g. Cargo.toml, pyproject.toml) into YAML for documentation; ② migrate config files between tools with different formats; ③ compare two ways of writing the same config.
How to use: paste TOML or YAML into the relevant panel and click Convert to get the other format — copy the result in one click.
Notes: ① TOML booleans must be lowercase (`true`/`false`); ② TOML does not allow duplicate keys in the same section — check before converting; ③ TOML has no null, so null fields in YAML will be lost after conversion — double-check the result.
Related Tools
← Home