.yaml YAML document

Text & source code

MIME typeapplication/yaml
DescriptionYAML document
AcronymYAML – YAML Ain't Markup Language
CategoryText & source code
Signature (magic bytes)25 59 41 4D 4C (%YAML)
Based ontext/plain
Other extensions.yml

Frequently asked questions

What is a .yaml file?

A .yaml file is a “YAML document” (MIME type application/yaml). YAML stands for YAML Ain't Markup Language.

How do I open a .yaml file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .yaml file?

By the bytes at the start of the file, the signature (magic bytes): 25 59 41 4D 4C (%YAML). On Linux and macOS, file --mime-type example.yaml checks the real type regardless of the extension.

Which format is .yaml based on?

Technically a .yaml file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .yaml?

The MIME type is application/yaml. In the Apache web server: AddType application/yaml .yaml; in nginx: types { application/yaml yaml; }.

Nearby entries