コンテンツへスキップ
uencoder

YAML コンバーター

Convert between YAML and JSON online。無料、プライベート、100%クライアントサイド。

例を試す:
Local only

最近の履歴

履歴はまだありません

使い方

  1. Paste YAML or JSON into the input box.
  2. Choose YAML to JSON or JSON to YAML mode.
  3. 結果をコピーまたはダウンロードします。

このツールを使うタスク

このツールを使うパイプライン

よくある質問

What YAML features are supported?
Basic YAML with nested mappings, sequences, scalars (string, number, boolean, null), and quoted strings. Multi-line literals (|, >), anchors (&), and references (*) are not supported.
データはどこかにアップロードされますか?
いいえ。すべての変換はブラウザ内でローカルに行われ、サーバー往復はありません。
How are YAML types inferred?
Unquoted scalars are inferred: 'true'/'false' → boolean, 'null'/'~' → null, digits → number, everything else → string. Use quotes to force string type for values like '3.14' or 'true'.
What indentation does JSON-to-YAML use?
2-space indentation, with sequences rendered in block style (- item). Flow style ([a, b]) is not used; this maximizes readability and diff-friendliness.
Can I convert Kubernetes manifests?
Yes, as long as they use only supported features. Multi-document YAML (--- separators) is not supported; convert each document separately.
Why does my YAML fail to parse?
Common causes: tabs for indentation (YAML requires spaces), missing space after colon, unsupported anchors/multi-line literals. Check the error message for the line number.

関連ツール