Valid Kubernetes Pod manifest
Input: apiVersion: v1\nkind: Pod\nmetadata:\n name: nginx\nspec:\n containers:\n - name: nginx\n image: nginx:latest
Output: Validated successfully — same content emitted in canonical 2-space indentation
500+ fast, free tools. Most run in your browser only; Image & PDF tools upload files to the backend when you run them.
Validate, format, and lint YAML in your browser. Get error messages with line numbers and convert to JSON.
The YAML Validator & Linter uses the js-yaml library (loaded from CDN) to parse and validate YAML documents in your browser. On validation errors it reports the exact error message with line number and column for quick debugging. The Format button pretty-prints the parsed YAML with consistent 2-space indentation and no line wrapping. The JSON button converts the YAML to a formatted JSON object, which is useful when working with configuration files or APIs that require JSON. All processing is client-side.
Input: apiVersion: v1\nkind: Pod\nmetadata:\n name: nginx\nspec:\n containers:\n - name: nginx\n image: nginx:latest
Output: Validated successfully — same content emitted in canonical 2-space indentation
Input: key:\n\tvalue: 1 (a tab on line 2 instead of spaces)
Output: Error at line 2, col 1: bad indentation of a mapping entry — replace tab with spaces
Input: defaults: &d\n timeout: 30\nprod:\n <<: *d\n host: prod.example.com
Output: JSON: { "defaults": {"timeout":30}, "prod": {"timeout":30, "host":"prod.example.com"} }
Input: version: 1.10\nenabled: yes\nstatus: null
Output: version → number, enabled → true (boolean), status → null. Quote them if you need them as strings.