YAML Validator & Converter
Validate YAML and convert between YAML and JSON online. Clear error messages with line numbers, fully client-side and free.
// yamlYAML → JSON○ ready
YAML input
JSON output
Waiting for input — paste YAML to validate.
About this YAML validator & converter
YAML is a human-friendly format for configuration — Kubernetes manifests, CI pipelines, Docker Compose, and app settings. Its whitespace sensitivity makes small mistakes easy to miss. This tool validates YAML and pinpoints the offending line, and converts cleanly between YAML and JSON in both directions.
Everything runs locally in your browser, so it is safe to paste config files containing private values — nothing is uploaded.
How to use it
- Pick a direction: YAML → JSON or JSON → YAML.
- Paste your document on the left.
- The converted result and a valid/invalid status appear instantly.
- Copy the output from the right pane.
Frequently asked questions
- How does the validator find errors?
- It parses your YAML with a full YAML 1.1 parser. If the document is malformed, it reports the reason and the line number of the problem so you can fix it quickly.
- Can it convert between YAML and JSON?
- Yes. Switch to “YAML → JSON” to turn valid YAML into formatted JSON, or “JSON → YAML” to do the reverse. Validation happens automatically in both directions.
- Why did my tabs cause an error?
- YAML does not allow tab characters for indentation — only spaces. Replace leading tabs with spaces and the document will parse.
- Is my YAML uploaded anywhere?
- No. Parsing and conversion run entirely in your browser, so config files and secrets never leave your device.
// More tools
- JSON FormatterBeautify, minify, and validate JSON with precise error locations.
- Base64 Encoder / DecoderEncode and decode Base64 for text and files, including URL-safe.
- UUID GeneratorGenerate v4 and time-ordered v7 UUIDs in bulk, ready to copy.
- Regex TesterTest regex with live highlighting, capture groups, and flags.
- Case ConverterConvert between camelCase, snake_case, kebab-case, and more.
- HTML Entity EncoderEscape and unescape HTML entities and special characters.
- URL EncoderPercent-encode and decode URLs and query parameters.
- Number Base ConverterConvert between binary, octal, decimal, and hexadecimal.
- Color ConverterConvert colors between HEX, RGB, and HSL with a live preview.
- Unix Timestamp ConverterConvert Unix epoch timestamps to dates and back.
- JWT DecoderDecode a JWT's header and payload with readable claim times.
- Hash GeneratorGenerate MD5, SHA-1, SHA-256, and SHA-512 hashes from text.
- JSON ↔ CSV ConverterConvert JSON to CSV and CSV back to JSON.
- Cron Expression ExplainerTranslate a cron expression into plain English.