.yml

4 claimants 1 primary 3 secondary unambiguous primary

SWH popularity

From the SWH-MSR-ARV dataset (Desmazières, Di Cosmo, Lorentz, MSR 2025; file nb_extensions_alphanum.csv) — one row per (ext, year) in the full SWH archive. Case-aggregated. citation.

126.9M
total occurrences
46.5M
since 2019 (36.6%)
1970–2023
years active

Case variants in archive: .yml (126.9M), .YML (719), .Yml (68), .ymL (31), .yML (2), .YMl (2), .yMl (1) — aggregated above.

Attribution status

This extension is attributed to YAML; YAML as primary by 2 authoritative claims.

Authoritative sources: ✓ Linguist △ Pygments · secondary ✓ Wikidata · Q281876 ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (9)

Languages that list .yml among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
YAMLlinguistprimary
YAMLwikidataprimary
MiniYAMLlinguistsecondary
MiniYAMLpygmentssecondary
OASv2-yamllinguistsecondary
OASv2-yamlpygmentssecondary
OASv3-yamllinguistsecondary
OASv3-yamlpygmentssecondary
YAMLpygmentssecondary

Disambiguation rules (4)

Linguist heuristics that decide, by content, which language a .yml file actually is.
RulePredictsKindPredicates (truncated)
h/linguist/.yml/0MiniYAMLpredicates[{"kind": "any", "regexes": ["^\\t+.*?[^\\s:].*?:"]}, {"kind": "not_any", "regexes": ["---"]}]
h/linguist/.yml/1OASv2-yamlpredicates[{"kind": "any", "regexes": ["swagger:\\s?'?\"?2.[0-9.]+'?\"?"]}]
h/linguist/.yml/2OASv3-yamlpredicates[{"kind": "any", "regexes": ["openapi:\\s?'?\"?3.[0-9.]+'?\"?"]}]
h/linguist/.yml/3YAMLdefault[]

SWH-mined examples (0)

No archived examples for .yml in our local mirror yet.

Need an archived example for this extension?
No verbatim file with extension .yml in our local SWH mirror yet. Submit a sample-mining request and a maintainer will run swh_extension_mining.py against the live archive for this extension; samples land here once the run completes.
(or open the pre-filled issue directly)