YAML Formatter & Validator
Validate, normalize and format YAML directly in your browser.
Questions about this tool
What is the difference between validating and formatting YAML?
Validation checks whether the YAML structure is syntactically valid; formatting only changes indentation and presentation without intentionally changing the data model.
Does minifying YAML change its data?
Minification removes unnecessary whitespace and line breaks. The logical structure should remain the same, so validate again if the document will be used by an application.
Does the YAML content leave the browser?
This formatter is designed for browser-side processing. Even so, use anonymised samples whenever the document may contain credentials or personal data.