Validate your YAML configuration online and get detailed error messages
YAML (YAML Ain't Markup Language) is a human-readable data serialization language used for configuration files and data storage or exchange. It uses a minimal syntax that relies on indentation to define the structure of the data.
The official recommended extension for YAML files is .yaml
.
-
followed by a space for each item.:
, with each pair on a new line and the key and value separated by whitespace.#
.&
and aliases *
. An anchor is defined using the & symbol, and an alias refers back to that anchor using the * symbol.|
character, which preserves newlines, or the greater than >
character, which folds newlines into spaces.Here is a list of common errors you might encounter when writing YAML: