Home : File Types : YAML File

.YAML File Extension

File TypeYAML Document

3.7 (54 Votes)
CategoryDeveloper Files

What is a YAML file?

A YAML file is a text document that contains data formatted using YAML (YAML Ain't Markup Language), a human-readable data format used for data serialization. It is used for reading and writing data independent of a specific programming language. YAML files are often configuration files, used to define the settings of a program or application.

More Information
Screenshot of a .yaml file in GitHub Atom
YAML file open in GitHub Atom

Because the YAML format is not language-specific, YAML files can be included and referenced within programs written in any language that supports YAML libraries, such as C/C++, Ruby, Python, Java, Perl, C#, and PHP. The YAML acronym originally stood for Yet Another Markup Language, but as the YAML format evolved, the acronym adopted its current, recursive meaning.

If a program uses a YAML file as a settings file, you can edit the program's settings by opening and editing the YAML file in a text or source code editor. Most settings-related YAML files include comments that explain how the file can be used to adjust a program's settings.

NOTE: While the programmer community recommends saving YAML files with the YAML extension, you might also encounter YAML files saved using the .YML extension.

Common YAML Filenames

app.yaml - A YAML file used by Google App Engine.

How do I open a YAML file?

You can open a YAML file in any text editor, such as Microsoft Notepad (Windows) or Apple TextEdit (Mac). However, if you intend to edit a YAML file, you should open it using a source code editor, such as NotePad++ (Windows) or GitHub Atom (cross-platform). These applications provide helpful source code editing tools and highlight YAML syntax correctly.

Open and view .YAML files with File Viewer Plus.

Programs that open YAML files

Updated 3/31/2021

About YAML Files

Our goal is to help you understand what a file with a *.yaml suffix is and how to open it.

The YAML Document file type, file format description, and Mac, Windows, Linux, Android, and iOS programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.