Developer
All toolsYAML JSON Converter
Convert YAML to JSON and JSON to YAML both directions.
Input
Output
{
"name": "TULAKITO",
"tools": [
"json",
"yaml"
],
"private": true
}Frequently asked questions
- Why does my YAML number get converted to a string in JSON?
- Values like a leading-zero ZIP code, a version string like 1.10, or NaN look like numbers but YAML may parse them as strings to avoid data loss. Quote the value explicitly in YAML to control the resulting JSON type.
- Does YAML support comments when converting to JSON?
- YAML allows # comments, but JSON does not, so comments are dropped during conversion. If you need them preserved, move the notes into a sibling key before converting.
- What's the YAML equivalent of a JSON null?
- Write null, ~, or leave the value empty - all three parse to null in YAML. The first is the safest for readability and round-trip consistency.