Convert simple YAML key-value data to JSON.
Workbench
Runs in your browserYAML to JSON
Output
Example input
project: name: Structora active: true tags: - fast - private
Example output
{
"project": {
"name": "Structora",
"active": true
},
"tags": [
"fast",
"private"
]
}What this tool does
YAML to JSON parses nested YAML documents and serializes their data as valid, indented JSON.
Capabilities
- Nested maps and arrays
- Quoted and typed values
- Configurable JSON indentation
- JSON download
Known limitations
- Advanced custom YAML tags may not map cleanly
- Comments are not retained in JSON
Use cases
- Convert nested YAML configuration into JSON for an API or application.
- Convert CI configuration
- Prepare API payloads
- Inspect YAML as JSON
FAQ
Are YAML comments preserved?
No. JSON has no comment syntax.
Are booleans and numbers preserved?
Yes, when YAML parses them as typed values.
What is YAML to JSON?
Convert simple YAML key-value data to JSON.
Does this tool upload my input?
No. The transformation runs locally in your browser.
Go further
Guides
Beginner Guide
Supporting content for json yaml workflows.
Advanced Guide
Supporting content for json yaml workflows.
Workflow Guide
Supporting content for json yaml workflows.
Continue working