yaml to json (YAML -> JSON)
Convert YAML configuration into JSON for APIs and tooling.
Convert YAML, JSON, and TOML both ways. Paste text and get formatted output instantly.
YAML JSON TOML conversion runs entirely in your browser, and your input is never sent to a server.
Convert YAML configuration into JSON for APIs and tooling.
Convert JSON into YAML for easier-to-read config files.
Convert JSON into 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 lost because JSON and TOML do not support an equivalent reference model.
Yes. YAML implicit typing can reinterpret values like "01" or yes/no/on/off. Quote values explicitly when needed.
UTF-8 is assumed. Japanese and other multibyte text are handled as-is.
No. Comments are not preserved in round-trip conversion, especially because JSON does not support comments.
No. Conversion is performed entirely in your browser.