Developer tools
YAML ↔ JSON converter
Convert JSON-compatible YAML data and strict JSON locally without changing Unicode text.
Processed locally
One document, up to 100,000 input characters. Comments and formatting are not preserved.
Your answer will appear here.
Help and method
YAML 1.2 core; up to 32 nesting levels, 10,000 nodes, 1,000 items per array and 1,000,000 output characters. Only string mapping keys and JSON-compatible values are accepted. Aliases, anchors, custom tags and merge keys are rejected. Integers must be safe; fractions use at most 15 significant digits. Nonfinite numbers, negative zero and rounding are rejected: quote such values to preserve text.
YAML documentationMethods and reliabilityWorked example
An example you can try or adapt to your own values.
- Source text
- name: "世界" items: [1, true, null]
Result
{"name":"世界","items":[1,true,null]}