[Solved]: Yaml or yml? Which do we prefer?

Problem Statement:

According to yaml.org, the official file extension is .yaml.

Is there an official extension for YAML files?

Please use “.yaml” when possible.

However, there seems to be a disagreement on the internet on which extension to use. If you look up examples on the web, many of them use the unsanctioned .yml extension.


The “official” extension for YAML is,.yaml while the standard length for file extensions is 3 characters. So people always use .yml

Now the question is what should we use:

You can use both .yaml or .yml extension for YAML files.

but now everyone is using .yml extension. Now we can say

.yml extension become de facto standard for YAML.

I will recommend use .yml