Skip to content
My Tiny Utils

Search tools

Type to find a tool, then press Enter to open it.

YAML Validator

Validate YAML in your browser with parse errors that point to the exact line and column, plus a structure summary and the parsed JSON.

Processed locally in your browser — nothing is uploaded.

YAML Validator

0 characters

Parsed as JSON

Output appears here…

About YAML Validator

Paste YAML — a CI workflow, Kubernetes manifest, docker-compose file, or app config — and find out immediately whether it parses. Errors report the exact line and column, which matters because most YAML failures are invisible indentation problems.

Valid input gets a summary (document count, each document's shape and top-level keys) plus the fully parsed result as JSON, so you can confirm the file means what you think it means.

Common uses

  • Check a GitHub Actions or GitLab CI file before pushing
  • Find the indentation error a deploy tool reported cryptically
  • Verify a multi-document YAML stream splits where you expect

Example

Input

name: deploy
replicas: 3

Output

✓ Valid YAML — 1 document · {"name": "deploy", "replicas": 3}

Limitations

  • Validates YAML syntax, not schemas — a parseable Kubernetes manifest can still be semantically wrong

Frequently asked questions

Why does YAML break when I indent with tabs?

The YAML specification forbids tab characters in indentation — nesting must be expressed with spaces. A single tab pasted from an editor causes a parse error, and the validator points to its exact line and column.

Does valid YAML mean my Kubernetes manifest will work?

No. This checks syntax only — that the file parses into a well-formed structure. A manifest with a misspelled field name or wrong apiVersion parses fine but still fails when applied; schema validation is a separate step.

Can I validate a file with multiple YAML documents?

Yes. Documents separated by --- are each parsed, and the summary reports the document count plus each document's shape and top-level keys, so you can confirm the stream splits where you intended.

Is the YAML I paste stored or sent anywhere?

No. Validation runs in your browser and nothing is transmitted, so CI workflows and manifests referencing internal services or secrets stay on your device.