.txt
7 claimants
6 primary
1 secondary
shared primary (6)
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.
517.9M
total occurrences
186.8M
since 2019 (36.1%)
1955–2023
years active
Case variants in archive: .txt (516.5M), .TXT (1.4M), .Txt (24.9K), .tXt (162), .TxT (137), .txT (28), .tXT (28), .TXt (19) — aggregated above.
Attribution status
This extension is attributed to Adblock Filter List; Adblock Filter List; ASCII art; AsciiDoc; bibtex; Text; Text; Vim Help File; Vim Help File as primary by 9 authoritative claims.
Claimants (10)
Languages that list
.txt among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| Adblock Filter List | linguist | primary |
| Adblock Filter List | pygments | primary |
| ASCII art | wikidata | primary |
| AsciiDoc | wikidata | primary |
| bibtex | wikidata | primary |
| Text | linguist | primary |
| Text | pygments | primary |
| Vim Help File | linguist | primary |
| Vim Help File | pygments | primary |
| txt | wikidata | secondary |
Wikidata says… (70)
File formats, image formats, audio codecs and other non-PL
entities that claim
.txt 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 |
|---|---|---|---|---|---|
| BibTeX Q105859274 file format for bibliography items used by the BibTeX software | file format; bibliographic data format | — | application/x-bibtex; text/x-bibtex | — | Use as new PL ↗ |
| text file Q86920 kind of computer file containing plain text | file format | — | text/plain | — | Use as new PL ↗ |
| .txt file Q124097900 | file format | — | text/plain | — | Use as new PL ↗ |
Disambiguation rules (4)
Linguist heuristics that decide, by content, which language a
.txt file actually is.| Rule | Predicts | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.txt/0 | Vim Help File | predicates | [{"kind": "any", "regexes": ["(?:(?:^|[ \\t])(?:vi|Vi(?=m))(?:m[<=>]?[0-9]+|m)?|[ \\t]ex)(?=:(?=[ \\t]*set?[ \\t][^\\r\\n:]+:)|:(?![ \\t]*set?[ \\t]))(?:(?:[ \\t]*:[ \\t]*|[ \\t])\\w*(?:[ \\t]*=(?:[^\ |
h/linguist/.txt/1 | Hosts File | predicates | [{"kind": "any", "regexes": ["(?xi) ^\n\n# IPv4 address\n(?<ipv4>\n (?!\\.)\n (?:\\.?\n (?: 25[0-5] # 250-255\n | 2[0-4]\\d # 200-249\n | 1\\d\\d # 100-199\n | [1-9]?\\d # 0-99 |
h/linguist/.txt/2 | Adblock Filter List | predicates | [{"kind": "any", "regexes": ["(?x)\\A\n\\[\n(?<version>\n (?:\n [Aa]d[Bb]lock\n (?:[ \\t][Pp]lus)?\n |\n u[Bb]lock\n (?:[ \\t][Oo]rigin)?\n |\n [Aa]d[Gg]uard\n )\n (?:[ \\t] \\ |
h/linguist/.txt/3 | Text | default | [] |
SWH-mined examples (0)
No archived examples for .txt in our local mirror yet.