入力
変換方向
結果
Choose an operation to start

JSON ↔ YAMLコンバーター

Enter JSON or YAML on the left, pick a direction, and get the other notation. Useful for turning API JSON into readable YAML config, or turning YAML config back into parseable JSON.

Conversion uses the js-yaml library loaded in your browser; no text is uploaded.

Features

How to use

  1. Enter JSON or YAML on the left.
  2. Pick the direction on the right.
  3. The result appears instantly; click Copy to take it.

FAQ

Are YAML and JSON losslessly convertible?

Mostly. YAML is a superset of JSON, so anything JSON expresses is valid YAML. But YAML anchors, multi-document streams and complex type tags have no JSON equivalent and may be lost when converted.

Does conversion need a network?

No. The js-yaml parser is served from this site’s own domain alongside the page, with no third-party CDN involved; the whole conversion runs locally in your browser.

フィードバック

このサイトはフロントエンドのみでバックエンドやアカウントはなく、フィードバックはGitHub Issues・ディスカッション・メールで受け付けています。

issueやメールに貼り付けていただくと問題特定が早まります。入力内容は含まれません

Also: 既存の報告を見る · メールでのフィードバック(GitHubアカウント不要):278975598@qq.com