Using Convert YAML to JSON or JSON to YAML
Choose the conversion direction and paste a single document or open a file. Review the preview before exporting.
Check the result
The export keeps structured values. YAML comments and original formatting do not carry across a format conversion.