YAML Indent Validator

Paste YAML to check its indentation — tabs, inconsistent indent steps, trailing spaces, and syntax errors are flagged with line numbers. Everything runs in your browser.

2 errors, 1 warning found.

  • Line 6Indent of 3 spaces is not a multiple of the detected 2-space step.
  • Line 6YAML parse error: bad indentation of a mapping entry
  • Line 8Tab character in indentation — YAML only allows spaces.

How to use this tool

  1. Paste your YAML into the input box.
  2. Review the per-line indentation warnings and parse errors.
  3. Fix the flagged lines and re-check until the YAML is clean.