JSON → YAML

JSON と YAML を相互変換 — K8s や docker-compose の設定に最適です。

オールインワン JSON 処理

整形・検証から変換・エクスポートまで — 10の必須ツールを1ページに集約。インストール不要、登録不要、すぐに使えます。

整形と圧縮

インデント付きで見やすく整形するか、1行に圧縮。読みやすさや本番環境向けにインデントサイズをカスタマイズできます。

構文検証

正確な行・列番号で JSON 構文エラーを検出。末尾カンマ、引用符の問題などを発見できます。

Diff 比較

2つの JSON ドキュメントを並べて比較し、追加・削除・変更をハイライト表示します。

ツリービューア

複雑な JSON を折りたたみ可能なツリーで閲覧。パスをコピーしてネストされたフィールドを素早く特定できます。

フォーマット変換

JSON ↔ YAML、JSON → XML、JSON → CSV / Excel — 設定作成とデータエクスポートに対応。

JSONPath

JSONPath 式をオンラインでデバッグ。ワンクリックのテンプレートでネストされたフィールドを抽出できます。

誰が使う? よくあるシナリオ

毎日 JSON を扱う方のために — デバッグ、設定、テスト、データエクスポートに対応しています。

フロントエンド開発者
  • API レスポンスのデバッグとログ JSON の整形
  • JSONPath でネストされた値を抽出
  • フロントエンド/バックエンドのデータ構造を比較
バックエンド開発者
  • 受信 JSON ペイロードの検証
  • JSON と YAML 設定の相互変換
  • API バージョン構造の変更をレビュー
QA エンジニア
  • API レスポンスペイロードの Diff
  • テストデータを Excel にエクスポート
  • メッセージフォーマットの変換と検証
DevOps
  • K8s や docker-compose の設定を作成
  • JSON と YAML の相互変換
  • 設定を圧縮して転送サイズを削減

3ステップで始める

すべてブラウザ内でローカルに動作。JSON を貼り付けると即座に結果が表示 — アップロードはありません。

  1. 1

    ツールを選択

    上部ナビゲーションから必要な機能を選びます — 整形、検証、Diff、変換など。

  2. 2

    JSON を貼り付けまたは入力

    入力エリアに JSON を貼り付けるか、「サンプルを読み込む」をクリックして各機能をすぐに試せます。

  3. 3

    結果を確認してエクスポート

    結果は右側にリアルタイムで表示されます。コピーまたはダウンロード — すべての処理はローカルで完結します。

プライバシー優先クライアントサイドアーキテクチャ — JSON はお使いのデバイス上でのみ解析・処理されます。アップロードなし、保存なし、トラッキングなし。

Convert between JSON and YAML formats instantly. Perfect for Kubernetes manifests, Docker Compose files, CI/CD pipelines, and any workflow that bridges JSON APIs with YAML configuration.

使い方

  1. 1 Select conversion direction: JSON → YAML or YAML → JSON.
  2. 2 Paste your input text into the editor.
  3. 3 Click Convert and copy or download the output.

使用例

JSON to YAML

{"apiVersion":"v1","kind":"ConfigMap"}

YAML to JSON

name: my-app
port: 8080

JSON Toolbox を選ぶ理由

  • Bidirectional JSON ↔ YAML conversion
  • Preserves nested structure and data types
  • No server processing — safe for secrets in configs
  • Ideal for DevOps workflows

よくある質問

How do I convert JSON to YAML online?

Paste your JSON, select JSON → YAML, and click Convert. The output preserves all keys, values, and nesting.

Does the converter support YAML anchors?

Complex YAML features like anchors and multi-document files are not supported in the current version.

Is this tool free?

Yes. JSON Toolbox is completely free with no sign-up, no usage limits, and no hidden fees.

Is my JSON data safe? Is it uploaded to a server?

Your data never leaves your browser. All parsing, formatting, and conversion runs locally on your device — nothing is sent to any server.

Which browsers are supported?

All modern browsers including Chrome, Firefox, Safari, and Edge. No plugins or extensions required.

What is the maximum file size?

Files over 2 MB may feel slow; files over 10 MB are blocked. For very large payloads, use a local CLI tool instead.

Does it support JSON5, comments, or trailing commas?

Only standard JSON (RFC 8259) is supported. JSON5 features like comments and trailing commas are not accepted.