YAML file should end with extensions like .yaml or .yml. YAML allows UTF-8, UTF-16 and UTF-32 encoding. Let's understand the YAML syntax now. Elements of a YAML file: Basic syntax. A YAML file is used to describe data. In a YAML file the content is all about a collection of key-value pairs where the value can be anything ranging from a string. YAML IRC Channel: libera.chat#yaml # The old chat YAML News: twitter ... Tool for JSON/YAML - yatools.net # Visual Studio editor for YAML - JSON # Official JSON Website - Pygments # Python language Syntax Colorizer /w YAML support - yamllint # YAML Linter based on PyYAML - YAML Diff # Semantically compare two YAML documents - JSON Schema # YAML.