YAML to JSON
Convert YAML documents to JSON.
Paste your input on the left and press Translate (or Ctrl/Cmd + Enter) to get the result on the right. Free, no sign-up.
Example
name: transcode version: 1.0.0 private: true scripts: dev: vite build: vite build keywords: - converter - tools
{
"name": "transcode",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "vite",
"build": "vite build"
},
"keywords": [
"converter",
"tools"
]
}Frequently asked questions
- Are YAML comments kept?
- No. JSON has no comment syntax, so comments are dropped during conversion.
- How do I convert JSON to YAML?
- Use the JSON to YAML converter, which is linked under related tools.