JSON ↔ YAML コンバーター

ブラウザで即座にJSONをYAMLに、またはYAMLをJSONに変換します。

JSON 入力
0 文字
YAML 出力

What Is JSON to YAML Converter?

JSON to YAML Converter is a free online tool that converts JSON data to YAML format and vice versa. JSON and YAML are both widely used data serialization formats — JSON is common in APIs and web applications, while YAML is preferred for configuration files like Kubernetes manifests, Docker Compose, and CI/CD pipelines. This converter lets you switch between the two formats instantly without any manual reformatting.

How to Use JSON ↔ YAML Converter

  1. Select the conversion direction: JSON → YAML or YAML → JSON.
  2. Paste your input into the left panel.
  3. The converted output appears instantly in the right panel.
  4. Click Copy to copy the result, or ⇄ Swap to reverse the conversion.

Features

  • Bidirectional conversion: JSON → YAML and YAML → JSON
  • Real-time conversion as you type
  • Swap input and output with one click
  • Clear error messages for invalid input
  • Copy result to clipboard
  • Runs entirely in your browser — zero data uploaded

FAQ

Can I convert YAML back to JSON?

Yes. Switch to YAML → JSON mode and paste your YAML. The tool converts it to formatted JSON instantly.

Does the converter support multi-document YAML?

The converter handles single YAML documents. For multi-document YAML (separated by ---), only the first document is converted.

Is my data sent to a server?

No. All conversion happens entirely in your browser using the js-yaml library. Your data never leaves your device.