ONNONOONOON

JSON / YAML / XML / CSV converter

Validate and transform configuration and tabular data formats.

6

Enter known values

Fill in the fields below — the result will appear alongside.

Live developer-tool preview
JSON
{ … }
Valid
YAML
key: value
JSON
YAML

Formulas

DsTDtD_s\rightarrow T\rightarrow D_tV=parse(Ds)V=parse(D_s)

How it works

Convert JSON, YAML, XML and CSV through a predictable canonical data tree. Validate source syntax, pretty-print output and see byte or record counts.

The source is parsed into arrays, objects and scalar values, then serialized to the selected target. XML attributes use @name, XML text uses #text and CSV uses its first row as headers.

Examples

JSON configuration to YAML{"inputFormat":"json","outputFormat":"yaml","prettyPrint":true,"sourceData":"{\"service\":{\"port\":8080,\"enabled\":true}}"}

Related calculators