YAML 转 JSON
将 YAML 转换为 JSON。
Paste YAML to convert it to pretty-printed JSON. Invalid YAML shows a clear error. Parsing uses the js-yaml library, all locally in your browser.
工作原理
- 1 Paste your YAML.
- 2 The JSON output appears live.
- 3 Copy or download the .json file.
常见用例
- Convert YAML config to JSON.
- Feed YAML data to a JSON API.
- Inspect YAML as JSON.
- Migrate between formats.
常见问题
Is my input sent to a server?
No. Everything runs locally in your browser — your input is never uploaded, stored or logged.
What about invalid YAML?
A clear error message is shown and the output is cleared until the YAML is valid.
Is it really free?
Yes — free, with no signup and no limits.