YAML ↔ JSON 转换
YAML 与 JSON 双向转换
🔒 100% client-side — your data never leaves this page输入
🔒 100% client-side
输出
Converted output will appear here
About this tool
粘贴 YAML 或 JSON,自动识别格式并转换为另一种格式。适合处理 Kubernetes 配置、CI/CD 流水线、API 定义等需要在两种格式之间切换的场景。
Frequently Asked Questions
Does it auto-detect the input format?
Yes. If your input starts with [ or { it is treated as JSON. Otherwise it is treated as YAML.
What YAML features are supported?
Common YAML structures including nested objects, arrays, strings, numbers, booleans, and null values. Complex anchors and multi-document YAML are not supported.
Is my data sent to a server?
No. All conversion happens in your browser using JavaScript. Nothing is uploaded.