YAML Quick Validator
Run a lightweight structural check on a YAML snippet: balanced flow-style braces/brackets, no tab indentation, and a line count.
How to Use the YAML Quick Validator
- Paste your YAML snippet.
- Click Calculate.
- Inspect the pass/fail verdict and note.
Casos de Uso
- •Quick sanity check for CI pipeline configs.
- •Teaching YAML basics.
- •Spotting tab-indented errors before commit.
Fórmula
Quick check: all [ and { must be matched in order, tabs are forbidden by the YAML spec, and lines are counted on \n.
Perguntas Frequentes
Is this a full YAML parser?
No — it only catches the two most common mistakes (unbalanced flow-style punctuation and tab indentation). For full validation, use a parser such as js-yaml or yamllint.
Why are tabs forbidden?
The YAML 1.2 spec forbids tab characters for indentation because editors render them inconsistently. Always use spaces.
Does it check schema?
No. Structural sanity only — schema validation (required keys, types) is a separate step.