YAML フォーマッター
一貫したインデントと検証で YAML を解析・再シリアライズします。
入力
結果
使い方
How to format YAML
Paste YAML and press Format. The document is parsed and written back with standard indentation.
- Paste YAML into the input editor.
- Press Format.
- Copy the normalised document.
よくある質問
Are anchors and aliases supported?
Anchors and aliases are resolved on parse, so the formatted output contains the expanded values.
Will formatting remove comments?
Comments are not preserved because the formatter works from the parsed data structure.
関連ツール
YAML バリデーター
YAML の構文を検証し、インデントや構造が誤っている場合は正確なエラーを表示します。
YAML → JSON
API や JavaScript アプリ向けに YAML 文書を JSON に変換します。
JSON → YAML
設定ファイルや Kubernetes マニフェスト用のクリーンな YAML に JSON を変換します。
XML フォーマッター
一貫したインデントと任意の属性折り返しで XML を整形します。
XML バリデーター
XML 文書が整形式かどうかを検証し、明確なエラー説明を表示します。
XML ミニファイアー
XML タグ間の空白を削除して最小のペイロードを生成します。