.yaml YAML-Dokument
Text & Quellcode
| MIME-Typ | application/yaml |
|---|---|
| Beschreibung | YAML-Dokument |
| Abkürzung | YAML – YAML Ain't Markup Language |
| Kategorie | Text & Quellcode |
| Signatur (Magic Bytes) | 25 59 41 4D 4C (%YAML) |
| Basiert auf | text/plain |
| Weitere Endungen | .yml |
Häufige Fragen
Was ist eine .yaml-Datei?
Eine .yaml-Datei ist ein Format vom Typ „YAML-Dokument“ (MIME-Typ application/yaml). YAML steht für YAML Ain't Markup Language.
Womit öffne ich eine .yaml-Datei?
Mit jedem Texteditor – etwa Notepad++, Visual Studio Code oder unter Linux gedit und vim. Die Datei enthält lesbaren Text, ggf. Quellcode oder Konfiguration.
Woran erkennt man eine echte .yaml-Datei?
Am Dateianfang, der sogenannten Signatur (Magic Bytes): 25 59 41 4D 4C (%YAML). Unter Linux und macOS prüft file --mime-type example.yaml den tatsächlichen Typ unabhängig von der Endung.
Auf welchem Format basiert .yaml?
Technisch ist eine .yaml-Datei ein Untertyp von „Einfaches Textdokument“ (text/plain). Programme für dieses Grundformat können die Datei daher oft ebenfalls lesen.
Welcher MIME-Typ gehört zu .yaml?
Der MIME-Typ ist application/yaml. Im Apache-Webserver: AddType application/yaml .yaml; in nginx: types { application/yaml yaml; }.