Skip to main content
DevTools24

Validador YAML

Valide sintaxe YAML, formate com indentação consistente e converta para JSON. Útil para arquivos de configuração.

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

YAML - Detalhes Técnicos

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.

Alternativa via Linha de Comando

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

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

Referência

Ver Especificação Oficial