YAML↔JSON変換YAML to JSON Converter
YAMLとJSONを相互変換。設定ファイル向け。ブラウザ完結。Convert YAML and JSON both ways—in your browser.
お気に入りについて About favorites
この端末のブラウザにのみ保存され、サーバーには送信されません。 Saved on this device only—never sent to our servers.
変換方向Direction
結果Result
他にも100以上のツールがあります There are 100+ other tools
他のツールも見る See other tools使い方・ユースケース How to Use & Use Cases
タブで「YAML → JSON」「JSON → YAML」を切り替え、テキストを入力して変換ボタンを押します。結果は整形されたJSON(2スペースインデント)またはYAMLで表示され、コピーしてエディタ・CI・ドキュメントに貼り付けられます。処理はすべてブラウザ内で行われます。 Switch between YAML → JSON and JSON → YAML, enter text, and convert. Results are formatted JSON (2-space indent) or YAML—copy for editors, CI, or docs. All in your browser.
docker-compose.ymlやKubernetesマニフェストのJSON化、OpenAPI/JSON SchemaのYAML確認、デプロイ前の設定ファイル形式変換、JSON APIレスポンスをYAMLで読みやすくするなどに使えます。 Use for docker-compose or Kubernetes manifests to JSON, OpenAPI/JSON Schema as YAML, config conversion before deploy, or making JSON API responses easier to read.
本ツールは構文が正しいYAML/JSONの相互変換が目的です。コメント付きYAMLの意味解釈、スキーマ検証、ファイルの一括変換は行いません。変換前後の内容は目視で確認してください。 For converting syntactically valid YAML/JSON both ways. It does not validate against a schema or batch-convert files—review output before use.
よくある質問FAQ
このツールで何ができますか?What can this tool do?
正しい構文のYAMLをJSONに、JSONをYAMLに変換できます。日本語を含む文字列や配列・ネストしたオブジェクトにも対応しています。変換結果のコピー、入力のクリアができます。Convert valid YAML to JSON and JSON to YAML, including Japanese text, arrays, and nested objects. Copy results and clear inputs.
何ができませんか?What can it not do?
構文エラーのあるデータの自動修復、JSON Schemaによる検証、YAMLアンカー・エイリアス・カスタムタグの高度な処理、複数ファイルの一括変換、JSON5やJSONC(コメント付きJSON)の入力には対応していません。No auto-repair of syntax errors, schema validation, advanced YAML anchors/aliases/custom tags, batch file conversion, or JSON5/JSONC input.
YAMLとJSONをブラウザだけで変換できますか?Can I convert YAML and JSON in the browser only?
はい。入力データは外部サーバーに送信されません。APIキーやDB接続情報を含む設定ファイルも、ローカルで変換できます。Yes. Input is never uploaded—you can convert sensitive config files locally.
変換エラーは表示されますか?Are conversion errors shown?
はい。YAMLやJSONの構文エラーがある場合は、解析に失敗した旨をメッセージで通知します。エラー行番号の詳細表示は行いません。行番号付きの診断が必要な場合はファイル構文診断ツールの利用を検討してください。Yes. Syntax errors show a failure message, but not detailed line numbers. Use File Syntax Diagnostics for line-level YAML/JSON errors.
YAMLのコメントはどうなりますか?What happens to YAML comments?
YAML → JSON 変換時、コメントはJSONに含まれないため失われます。JSON → YAML 変換ではもともとコメントはありません。コメントを残したい場合は変換前にバックアップを取ってください。Comments are dropped when converting YAML to JSON. JSON has no comments. Back up files if you need to keep comments.
Kubernetesやdocker-composeのファイルも変換できますか?Can I convert Kubernetes or docker-compose files?
構文として正しいYAMLであれば変換できます。ただしマルチドキュメント(--- 区切り)やKubernetes固有の記法が含まれる場合、用途によっては結果をそのまま適用できないことがあります。本番適用前に必ず確認してください。Yes, if the YAML is syntactically valid. Multi-document YAML or K8s-specific syntax may need review before production use.
JSON整形・圧縮ツールとの違いは?How is this different from the JSON Formatter?
JSON整形ツールはJSONの見た目を整える・圧縮する用途向けです。本ツールはYAMLとJSONの形式を相互に変換する用途向けです。The JSON Formatter prettifies or minifies JSON. This tool converts between YAML and JSON formats.
データはサーバーに送られますか?Is data sent to a server?
送られません。すべてブラウザ内で処理されます。No. All processing happens in your browser.
ページを閉じれば、端末内のデータは自動的に消去されます。契約書や顧客資料など、慎重に扱うデータも安心してご利用ください。When you close the page, data on your device is cleared automatically. Safe for sensitive files such as contracts and client documents.