YAML Validator & Formatter
Check YAML syntax, normalize it to a consistent form, and even convert to JSON
도구를 불러오는 중…
🔒 Everything runs 100% in your browser. Your files and input are never uploaded to any server.
This parses YAML with its own parser to catch syntax errors and normalizes it into a consistently indented form. It also converts the parsed result to JSON so you can see the data structure at a glance.
How to use
- Paste the YAML to check or load a .yml/.yaml file.
- If it's valid it's shown in green; if there's an error, it tells you the line number of the problem.
- Check the result you want in the 'Normalized YAML' or 'JSON conversion' tab.
- Grab the result with the Copy button.
FAQ
- How much syntax is supported?
- It supports mappings, sequences, and nesting, quoted strings, numbers/booleans/null, inline collections ([], {}), literal/folded blocks (|, >), and comments (#).
- Can I indent with tabs?
- No. The YAML standard doesn't allow tabs for indentation, and if a tab is found it's reported as an error. Use spaces.
- Does it fully validate every YAML?
- It's a basic-level parser that works without a library, so it doesn't support anchors (&/*), multiple documents, or complex tags (!!). Use it as a reference and double-check important files with a proper tool.
