⚙️ YAML ↔ JSON

変換 YAML to JSON or JSON to YAML with validation

🔒 画像がデバイスの外に出ることはありません。 すべての処理はjs-yaml library (client-side)を使用してブラウザ内でローカルに行われます。アップロード、サーバー、追跡は一切ありません。

特長

  • Bidirectional Conversion — 変換 YAML to JSON or JSON to YAML with a single click.
  • Real-Time Validation — Instantly validates your input and shows clear error messages for syntax issues.
  • Copy & ダウンロード — Copy the output or download the converted file.
  • Sample コンテンツ — Load sample data to see the conversion in action.

仕組み

  1. Choose direction — Select YAML to JSON or JSON to YAML.
  2. Paste your content — Enter YAML or JSON in the input panel.
  3. Copy or download — Get the converted output — validated and formatted.

活用例

  • 変換 Kubernetes YAML configs to JSON for API calls
  • Transform JSON config files to YAML for readability
  • Validate YAML syntax before deploying configurations

よくある質問

Does it support complex YAML features?

Yes. The js-yaml library supports anchors, aliases, multi-line strings, and all standard YAML 1.2 features.

Is the output formatted?

JSON output is pretty-printed with 2-space indentation. YAML output uses standard formatting with proper nesting.

関連ツール