JSON ↔ YAML
Convert structured data between JSON and YAML.
Loading / 加载中
Your input is processed on this device.
How to use
Choose a direction and convert. YAML uses the JSON-compatible schema. Duplicate keys, custom tags, cycles and unsafe numeric conversions are rejected to protect data fidelity.
Example
{"name":"Huires"} becomes name: Huires.
Good to know
Where is my data processed?
Your browser performs the operation. Input stays in page memory. Markdown draft saving is available when you explicitly enable it on this device.
Which YAML values can be converted?
The converter uses a JSON-compatible YAML schema. Use data that maps to JSON objects, arrays and scalar values. Custom tags and cyclic references produce errors.
Why are some numbers rejected?
The converter checks for unsafe integers and decimal precision loss. Store exact identifiers as strings when they need to survive a format conversion.