Example input/output
Input: name: Ada
age: 30
roles:
- admin
Output: ✓ Valid YAML
How it works
This tool uses the js-yaml library's safeLoad() (or load()) function to parse your YAML. If parsing throws an exception, the error message and line number are shown. Processing runs in your browser using js-yaml from a CDN.
Common use cases
- Validate YAML configuration files before deploying applications
- Debug syntax errors in Kubernetes or Docker Compose YAML files
- Check YAML files edited by hand for structural correctness