.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
Claimants (10)
Languages that list
.mod among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| AMPL | wikidata | primary |
| linux-kernel-module | linguist | primary |
| Modula-2 | linguist | primary |
| NMODL | linguist | primary |
| AMPL | linguist | secondary |
| linux-kernel-module | pygments | secondary |
| Modula-2 | pygments | secondary |
| NMODL | pygments | secondary |
| xml | linguist | secondary |
| Modula-2 | wikipedia | proposed |
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.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| Amiga Module Q1370814 audio tracker file format | music file format | binary:audio | audio/x-mod; application/soundapp; audio/med | — | Use as new PL ↗ |
| Executable and Linkable Format Q1343830 standard file format for executables, object code, shared libraries, and core dumps | executable file format | binary:executable | — | wp-only | Use as new PL ↗ |
| AMPL model file Q127604816 file format | file format | — | — | — | Use as new PL ↗ |
Disambiguation rules (5)
Linguist heuristics that decide, by content, which language a
.mod file actually is.| Rule | Predicts | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.mod/0 | xml | predicates | [{"kind": "any", "regexes": ["<!ENTITY "]}] |
h/linguist/.mod/1 | NMODL | predicates | [{"kind": "any", "regexes": ["\\b(NEURON|INITIAL|UNITS)\\b"]}] |
h/linguist/.mod/2 | Modula-2 | predicates | [{"kind": "any", "regexes": ["^\\s*(?i:MODULE|END) [\\w\\.]+;"]}] |
h/linguist/.mod/3 | linux-kernel-module | default | [] |
h/linguist/.mod/3 | AMPL | default | [] |
SWH-mined examples (0)
No archived examples for .mod in our local mirror yet.