YAML to JSON (YAML → JSON)
Convert YAML configuration to JSON for APIs and developer tools.
Convert YAML, JSON, and TOML in either direction. Paste text and get formatted output instantly.
Everything runs in your browser, and your input is never sent to a server.
Convert YAML configuration to JSON for APIs and developer tools.
Convert JSON to YAML for configuration files that are easier to read.
Convert JSON to TOML for application settings.
Input
app: name: demo enabled: true retries: 3
Output
{
"app": {
"name": "demo",
"enabled": true,
"retries": 3
}
}
Input
{"title":"demo","timeout":30}
Output
title = "demo" timeout = 30
Yes, but anchors and aliases may be expanded or disappear because JSON and TOML have no equivalent reference model.
Yes. YAML implicit typing can reinterpret values such as "01" or yes/no/on/off. Quote values explicitly when their type matters.
The converter assumes UTF-8 and preserves Japanese and other multibyte text as-is.
No. Round-trip conversion cannot preserve comments because JSON has no comment syntax.
No. Conversion is performed entirely in your browser; your input is not sent anywhere.