Ctrl+K
YAML to JSON
🔒 Runs in your browser — nothing is sent to a serverPaste any YAML document below and convert it to formatted JSON in one click. Supports all standard YAML features including nested objects, arrays, and multi-line strings.
Two-pane view: input and output side by side
Copied!
Examples
Input
name: John
age: 30
city: New YorkOutput
{
"name": "John",
"age": 30,
"city": "New York"
}Input
items:
- apple
- banana
enabled: trueOutput
{
"items": [
"apple",
"banana"
],
"enabled": true
}FAQ
Related tools
JSON to YAML
Convert JSON data to clean, human-readable YAML format
JSON to CSV
Convert a JSON array of objects to CSV for Excel, Google Sheets and databases
CSV to JSON
Convert CSV spreadsheets to JSON arrays of objects with auto-typed values
XML to JSON
Convert XML documents to JSON with attribute mapping and namespace support
JSON to XML
Convert JSON objects to XML with attribute mapping and pretty-printed output
URL Decode
Decode percent-encoded URL strings with a free URL decoder
URL Encode
Percent-encode text or URLs with a free URL encoder
HTML Encode
Escape HTML special characters into safe entities with a free online HTML encoder
