Skip to main content
DevTools24

YAMLバリデーター

YAML構文を検証、一貫したインデントで整形し、JSONに変換します。設定ファイルに便利。

Note: This validator supports YAML 1.1 specification. Multi-document YAML files will only parse the first document.

YAML - 技術的な詳細

YAML is a human-readable data serialization format commonly used for configuration files. It uses indentation for structure and supports comments, making it more readable than JSON.

コマンドラインでの代替方法

# Validate YAML with yamllint
pip install yamllint
yamllint config.yaml

# Convert YAML to JSON with yq
yq -o json config.yaml

参照

公式仕様を見る