Web Toolbox

YAML validator

Runs in your browser – nothing is uploaded.

Paste YAML, such as a Kubernetes manifest, a GitHub Actions workflow or a config file, to check that it parses. Valid YAML is shown as formatted JSON, so you can see exactly how it was read.

Parsing uses the js-yaml library in your browser.

Example

Input

name: Ada
skills:
  - maths
  - code

Output

Valid YAML

{
  "name": "Ada",
  "skills": [
    "maths",
    "code"
  ]
}

Frequently asked questions

Can I validate a file with several documents separated by ---?

Not yet. The validator reads a single YAML document at a time.

Does it check against a schema?

No. It checks that the YAML is well formed, not that it matches a schema such as a Kubernetes resource definition.