.pgn

1 claimant 1 primary 0 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.

760.4K
total occurrences
480.0K
since 2019 (63.1%)
1996–2023
years active

Case variants in archive: .pgn (751.7K), .PGN (8.7K) — aggregated above.

Attribution status

This extension is attributed to Portable Game Notation; Portable Game Notation as primary by 1 authoritative claim.

Authoritative sources: ✗ Linguist · no claim ✗ Pygments · no claim ✓ Wikidata · Q205748 ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Prior manual labels (1)

LabelAnnotatorStatusEvidence (excerpt)
pl/portable-game-notation
Portable Game Notation — ref
@achermnewPortable Game Notation: a notation language for chess (and chess variants) with a formal grammar (tag-pair header + SAN move list). Standarddiscuss

Claimants (2)

Languages that list .pgn among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Portable Game Notationrepo_metaprimary
Portable Game Notationwikidataprimary

Wikidata says… (1)

File formats, image formats, audio codecs and other non-PL entities that claim .pgn 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
Portable Game Notation Q205748
computer data format for recording chess games
file formatapplication/vnd.chess-pgn; application/x-chess-pgnUse as new PL ↗

SWH-mined examples (6)

Real archived programs with this extension, byte-verified against the SWH archive. Useful for deciding what this extension actually is when the attribution is uncertain.
wch08ak.pgn · 38963 B · seen 1766× in SWH
predicted: Portable Game Notation via unique-primary
swh:1:cnt:f3d6cb4a3da3a0c5e31e2e7a16290837f771cb18;origin=https://github.com/ornicar/pgn4web;anchor=swh:1:rev:9e20e9aea7d2c55671c54f4ddfc299e60a2811f7;path=/wch08ak.pgn
Open in SWH · Raw bytes
live-placeholder.pgn · 485 B · seen 1421× in SWH
predicted: Portable Game Notation via unique-primary
swh:1:cnt:4112e25f64793e8ece3c2635051f31641f721f19;origin=https://github.com/ornicar/pgn4web;anchor=swh:1:rev:1258c29af72f90b5a35854434f04f869f716246d;path=/live-placeholder.pgn
Open in SWH · Raw bytes
live-no-event.pgn · 517 B · seen 1023× in SWH
predicted: Portable Game Notation via unique-primary
swh:1:cnt:c7368806aaf86000bf8cd24337d16f35561944ac;origin=https://github.com/ornicar/pgn4web;anchor=swh:1:rev:1258c29af72f90b5a35854434f04f869f716246d;path=/live-no-event.pgn
Open in SWH · Raw bytes
tilb98r2.pgn · 14479 B · seen 854× in SWH
predicted: Portable Game Notation via unique-primary
swh:1:cnt:e372658601f14114f56b1581caf3f3a5f5b06a51;origin=https://github.com/ornicar/pgn4web;anchor=swh:1:rev:1258c29af72f90b5a35854434f04f869f716246d;path=/tilb98r2.pgn
Open in SWH · Raw bytes
single_game.pgn · 851 B · seen 153× in SWH
predicted: Portable Game Notation via unique-primary
swh:1:cnt:e6d025307daf2316e9dde082bf49eecb0d5eb948;origin=https://github.com/tonyjongyoonan/enpoisson;anchor=swh:1:rev:e19ff4bed37652a3eba6725262ee506ca78dbf8b;path=/research/single_game.pgn
Open in SWH · Raw bytes
knight_sac.pgn · 587 B · seen 141× in SWH
predicted: Portable Game Notation via unique-primary
swh:1:cnt:2395d5d940fc2661f61e90b2b97283a5fffdaf53;origin=https://github.com/tonyjongyoonan/enpoisson;anchor=swh:1:rev:03917ca35bf23da58e4e321eb9efe423f63422f1;path=/research/knight_sac.pgn
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .pgn is, request a fresh mining run.
(or open the pre-filled issue directly)