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
Format, validate and process JSON
Export to other popular formats
Convert to JSON from other types
Generate code from JSON data
Format and beautify other code formats