.mod

5 claimants 4 primary 1 secondary shared primary (4)

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.

6.6M
total occurrences
3.8M
since 2019 (58.1%)
1970–2023
years active

Case variants in archive: .mod (6.5M), .Mod (89.4K), .MOD (8.3K), .MOd (1) — aggregated above.

Attribution status

This extension is attributed to AMPL; linux-kernel-module; Modula-2; NMODL as primary by 4 authoritative claims.

Authoritative sources: ✓ Linguist △ Pygments · secondary ✓ Wikidata · Q295250 △ Wikipedia · secondary

Disagree or have a correction? Open a labelling issue.

Claimants (10)

Languages that list .mod among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
AMPLwikidataprimary
linux-kernel-modulelinguistprimary
Modula-2linguistprimary
NMODLlinguistprimary
AMPLlinguistsecondary
linux-kernel-modulepygmentssecondary
Modula-2pygmentssecondary
NMODLpygmentssecondary
xmllinguistsecondary
Modula-2wikipediaproposed

Wikidata says… (32)

File formats, image formats, audio codecs and other non-PL entities that claim .mod on Wikidata (property P1195) or in the Wikipedia infobox. Source: data/derived/external_extension_index.csv. Click Use as new PL on any row to open the Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata URL, and this extension — one submission creates the PL + claim.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
Amiga Module Q1370814
audio tracker file format
music file formatbinary:audioaudio/x-mod; application/soundapp; audio/medUse as new PL ↗
Executable and Linkable Format Q1343830
standard file format for executables, object code, shared libraries, and core dumps
executable file formatbinary:executablewp-onlyUse as new PL ↗
AMPL model file Q127604816
file format
file formatUse as new PL ↗

Disambiguation rules (5)

Linguist heuristics that decide, by content, which language a .mod file actually is.
RulePredictsKindPredicates (truncated)
h/linguist/.mod/0xmlpredicates[{"kind": "any", "regexes": ["<!ENTITY "]}]
h/linguist/.mod/1NMODLpredicates[{"kind": "any", "regexes": ["\\b(NEURON|INITIAL|UNITS)\\b"]}]
h/linguist/.mod/2Modula-2predicates[{"kind": "any", "regexes": ["^\\s*(?i:MODULE|END) [\\w\\.]+;"]}]
h/linguist/.mod/3linux-kernel-moduledefault[]
h/linguist/.mod/3AMPLdefault[]

SWH-mined examples (0)

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

Need an archived example for this extension?
No verbatim file with extension .mod 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)