TOML / YAML / JSON Converter
Convert configuration files between TOML, YAML, and JSON in any direction. Ideal for Cargo.toml, front matter, and editor configs. Runs entirely in your browser.
Secure & Private Client-Side
This tool runs entirely in your browser. No data is sent to any server, ensuring your information remains private and secure.
About TOML / YAML / JSON Converter
Convert configuration files between TOML, YAML, and JSON in any direction. Ideal for Cargo.toml, front matter, and editor configs. Runs entirely in your browser.
Frequently Asked Questions
Which conversion directions are supported? expand_more
All four: JSON to YAML, YAML to JSON, JSON to TOML, and TOML to JSON. Pick a direction from the segmented control above the editors.
Are YAML anchors and aliases supported? expand_more
Yes, js-yaml resolves anchors and aliases during parsing so the resulting JSON is fully expanded.
Can I convert YAML directly to TOML? expand_more
Not in one step. Convert YAML to JSON first, then JSON to TOML in a second pass.
Need YAML-only conversion? expand_more
Use the dedicated [YAML to JSON](/tools/yaml-to-json/) tool, then validate the output with the [JSON Formatter](/tools/json-formatter/).
Is my config uploaded anywhere? expand_more
No. All conversion runs locally in your browser.
Common Use Cases
- Rust Projects: Convert Cargo.toml to JSON or YAML for tooling that does not parse TOML.
- Static Sites: Move Hugo and Jekyll YAML front matter into TOML or vice versa.
- CI Config: Translate config between formats when migrating CI providers.
- Editor Settings: Convert editor configuration between TOML (Neovim) and JSON (VS Code).