YAML to JSON Converter

Convert YAML to JSON or JSON to YAML locally in the browser using a bundled parser.

Need help with the calculation?
Ask AI about this article

This converter turns pasted YAML into formatted or compact JSON, and can also convert JSON back to YAML. It is useful for API examples, CI configuration snippets and documentation cleanup.

Output

The result box contains only the converted text, ready to copy. Parser errors and conversion notes are shown below the result.

Scope

The tool uses a local js-yaml library from /libs/. Comments in YAML are not preserved after parsing and conversion.