Formateador/validador YAML · Guía

YAML Indentation Explained

Indentation is the heart of YAML. Getting it right is most of getting YAML right.

Spaces define nesting

Each level of nesting is one consistent indentation step deeper, using spaces only. The amount must be consistent within a block, which is why a single misaligned line breaks structure.

No tabs allowed

YAML forbids tabs for indentation. An editor that inserts tabs is a frequent source of errors; configure it to use spaces for YAML files.

Preguntas frecuentes

Puedo usarlo en trabajo de produccion?

Si, para inspeccion, formato y generacion rapida. Revisa siempre el resultado antes de llevarlo a codigo o configuracion de produccion.

¿Listo para probarlo?

Abre la herramienta gratuita Formateador/validador YAML en el navegador y aplica lo que acabas de leer: sin registro y procesando localmente.

Abrir la herramienta Formateador/validador YAML