Início
Tom Utilities

Formatador YAML

Ferramentas XML e YAML

Analisa e reserializa YAML com recuo consistente e validação.

Entrada

Resultado

Como usar

How to format YAML

Paste YAML and press Format. The document is parsed and written back with standard indentation.

  1. Paste YAML into the input editor.
  2. Press Format.
  3. Copy the normalised document.

Perguntas frequentes

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.