Uneven list indentation
List items and nested keys are re-indented to the width you chose.
ports: - 80 - 443
Re-indents YAML. Comments and key order stay where they were.
Ctrl+Enter or ⌘+Enter runs this tool immediately.
Waiting for input.
Parsing stays in this browser. Input is not uploaded or saved.
List items and nested keys are re-indented to the width you chose.
ports: - 80 - 443
Each document is formatted, and the --- separators are kept.
a: 1 --- b: 2
Check YAML syntax without converting or rewriting it. Errors include a line and column when the parser provides them, and valid input is left unchanged.
Convert YAML configuration to readable or compact JSON in the browser. Comments are dropped, and parse errors include line and column when the parser reports them.
Check the YAML syntax of a Kubernetes manifest, including files with more than one document. This does not check apiVersion, required fields, or unknown kinds.