fixtdoc

JSON ⇄ YAML

Move configuration and data between JSON and YAML in either direction, with proper handling of nested objects, arrays, and scalars.

Files stay on your device

0 characters

YAML

Everything runs in your browser. Your text is not uploaded for processing and never leaves this device.

Frequently asked questions

Which direction should I use?

JSON to YAML is handy for turning API responses and package files into readable config. YAML to JSON is for feeding config files into tools and scripts that expect strict JSON.

Are comments and anchors preserved?

No. The conversion goes through the parsed data, so YAML comments, anchors, and custom tags do not survive. Keys, values, nesting, and order do.

What YAML version is supported?

The parser follows YAML 1.2, the version most modern tools use. Values like yes/no stay strings, matching JSON semantics.