Online YAML Editor with Parser & Validator
How to Check and validate YAML?
- Enter YAML in input textarea or choose and upload .yaml file.
- Choose options like schema to validate, & formattings options like indent size or minify etc.
- Click on
Show Output
button to get formatted YAML output. - You'll see an alert depending on whether your YAML is valid or invalid with corresponding error message in Output text area.
If you check minify option, indent option will be ignored.
Schemas
- FAILSAFE_SCHEMA - only strings, arrays and plain objects: http://www.yaml.org/spec/1.2/spec.html#id2802346
- JSON_SCHEMA - all JSON-supported types: http://www.yaml.org/spec/1.2/spec.html#id2803231
- CORE_SCHEMA - same as JSON_SCHEMA: http://www.yaml.org/spec/1.2/spec.html#id2804923
- DEFAULT_SAFE_SCHEMA - all supported YAML types, without unsafe ones (!!js/undefined, !!js/regexp and !!js/function): http://yaml.org/type/
- DEFAULT_FULL_SCHEMA - all supported YAML types.
Uses
- prettify or unminify
- minify
- validate/verify
- syntax check/tester
- online YAML editor
- viewer/reader
- editor/creater