JSON Output
JSON output will appear here
Paste YAML on the left to generate JSON. Or load sample data to see a demo.
Try YAML to JSON with sample input
Paste YAML on the left to generate JSON. Or load sample data to see a demo.
Try YAML to JSON with sample input
Paste YAML on the left and copy or download JSON output on the right.
Paste your YAML into the editor. If you want a quick demo, click “Sample”.
apiVersion: apps/v1
kind: Deployment
metadata:
name: demo-web
spec:
replicas: 2The converted JSON will appear on the right panel as you type.
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": "demo-web"
},
"spec": {
"replicas": 2
}
}Use “Copy” to copy JSON to your clipboard, or “Download” to save it as a .json file.
Common questions about converting YAML to JSON
Edit, format, and beautify JSON
Validate, fix, and inspect JSON
Compare, measure, and map JSON
Convert JSON to other formats
Convert other formats to JSON
Generate code and format other languages