.tsx
3 claimants
2 primary
1 secondary
shared primary (2)
SWH popularity
Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.
194.7M
total files
165.4M
first seen 2021–2025 (84.9%)
2023
median year (half its files since)
Case variants in archive: .tsx (194.7M), .TSX (1.7K), .Tsx (612), .tsX (156) — aggregated above.
Attribution status
This extension is attributed to TSX; TypeScript as primary by 4 authoritative claims.
Claimants (5)
Languages that list
.tsx among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| TSX | linguist | primary |
| TSX | pygments | primary |
| TSX | wikidata | primary |
| TypeScript | wikidata | primary |
| xml | linguist | secondary |
Wikidata says… (3)
File formats, image formats, audio codecs and other non-PL
entities that claim
.tsx 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 |
|---|---|---|---|---|---|
| TSX Q131322623 TypeScript file format with embedded JSX | file format | — | text/typescript-tsx | — | Use as new PL ↗ |
| MSX Tape image Q105850961 file format | file format | — | application/octet-stream | — | Use as new PL ↗ |
| Tiled Tile Set Q105851507 file format | file format | — | text/xml | — | Use as new PL ↗ |
Disambiguation rules (2)
Linguist heuristics that decide, by content, which language a
.tsx file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.tsx/0 | xml | predicates | [{"kind": "any", "regexes": ["(?i:^\\s*<\\?xml\\s+version)"]}] | |
h/linguist/.tsx/1 | TSX | default | [] |
SWH-mined examples (0)
No archived examples for .tsx in our local mirror yet.