| Filename extension | .pgn |
|---|---|
| Internet media type | application/vnd.chess-pgn |
| Developed by | Steven J. Edwards |
| Initial release | 1993; 26 years ago |
| Type of format | Chess game record |
Portable Game Notation (PGN) is a plain textcomputer-processible format for recording chess games (both the moves and related data), supported by many chess programs.
Chess Emoticons contain 12 chess smiley figures in Vista style. They are suitable for Chess Games, Instant Messengers, EMail readers, Forums, Blogs, etc. Attention to details made these icons look great in all seven sizes from 16x16 to 256x256. Penguin v15.1 - PGN Editor for Chess Penguin is a PGN viewer / reader / editor and desktop board software for the review and analysis of games of Chess. It is a freeware program for Windows, and can be downloaded from this web page. Feb 03, 2011 This is the best pgn viewer I found for the iPhone. It has some quirks like that it exits if I switch apps directly into a game in a file/book (need to go back to open the file/book first) and it has some issues reading certain pgn characters e.g. Or, you can simply install a PGN reader to play through the games onscreen without the fuss of setting up a real board and set. One free PGN reader is Winboard, which can be downloaded at XBoard. (But make sure to look over games on a real board and set from time to time — after all, your most important games will be in 3D.).
- 2Usage
History[edit]
PGN was devised around 1993, by Steven J. Edwards, and was first popularized via the Usenet newsgroup rec.games.chess.[1]
Usage[edit]
PGN is structured 'for easy reading and writing by human users and for easy parsing and generation by computer programs.' The chess moves themselves are given in algebraic chess notation. The usual filename extension is .pgn.
There are two formats in the PGN specification, the 'import' format and the 'export' format. The import format describes data that may have been prepared by hand, and is intentionally lax; a program that can read PGN data should be able to handle the somewhat lax import format. The export format is rather strict and describes data prepared under program control, similar to a pretty printed source program reformatted by a compiler. The export format representations generated by different programs on the same computer should be exactly equivalent, byte for byte.
PGN code begins with a set of 'tag pairs' (a tag name and its value), followed by the 'movetext' (chess moves with optional commentary).
Pgn Viewer For Windows
Tag pairs[edit]
Tag pairs begin with an initial left bracket [, followed by the name of the tag in plain text (ASCII). The tag value is enclosed in double-quotes, and the tag is then terminated with a closing right bracket ]. A quote inside a tag value is represented by the backslash immediately followed by a quote. A backslash inside a tag value is represented by two adjacent backslashes. There are no special control codes involving escape characters, or carriage returns and linefeeds to separate the fields, and superfluous embedded spaces (or SPC characters) are usually skipped when parsing.
PGN data for archival storage is required to provide seven bracketed fields, referred to as 'tags' and together known as the STR (Seven Tag Roster). In export format, the STR tag pairs must appear before any other tag pairs that may appear, and in this order:
- Event: the name of the tournament or match event.
- Site: the location of the event. This is in
City, Region COUNTRYformat, where COUNTRY is the three-letter International Olympic Committeecode for the country. An example isNew York City, NYUSA. - Date: the starting date of the game, in
YYYY.MM.DDform.??is used for unknown values. - Round: the playing round ordinal of the game within the event.
- White: the player of the white pieces, in
Lastname, Firstnameformat. - Black: the player of the black pieces, same format as White.
- Result: the result of the game. This can only have four possible values:
1-0(White won),0-1(Black won),1/2-1/2(Draw), or*(other, e.g., the game is ongoing).
The standard allows for supplementation in the form of other optional tag pairs. The more common tag pairs include:
- Annotator: The person providing notes to the game.
- PlyCount: String value denoting total number of half-moves played.
- TimeControl: e.g.
40/7200:3600(moves per seconds: sudden death seconds) - Time: Time the game started, in
HH:MM:SSformat, in local clock time. - Termination: Gives more details about the termination of the game. It may be
abandoned,adjudication(result determined by third-party adjudication),death,emergency,normal,rules infraction,time forfeit, orunterminated. - Mode:
OTB(over-the-board)ICS(Internet Chess Server) - FEN: The initial position of the chess board, in Forsyth-Edwards Notation. This is used to record partial games (starting at some initial position). It is also necessary for chess variants such as Chess960, where the initial position is not always the same as traditional chess. If a FEN tag is used, a separate tag pair
SetUpmust also appear and have its value set to1.
Movetext[edit]
The movetext describes the actual moves of the game. This includes move number indicators (numbers followed by either one or three periods; one if the next move is White's move, three if the next move is Black's move) and movetext in Standard Algebraic Notation (SAN).
For most moves the SAN consists of the letter abbreviation for the piece, an x if there is a capture, and the two-character algebraic name of the final square the piece moved to. The letter abbreviations are K (king), Q (queen), R (rook), B (bishop), and N (knight). The pawn is given an empty abbreviation in SAN movetext, but in other contexts the abbreviation P is used. The algebraic name of any square is as per usual algebraic chess notation; from white's perspective, the leftmost square closest to white is a1, the rightmost square closest to the white is h1, and the rightmost (from white's perspective) square closest to black side is h8.
Sony Reader For Mac
In a few cases a more detailed representation is needed to resolve ambiguity; if so, the piece's file letter, numerical rank, or the exact square is inserted after the moving piece's name (in that order of preference). Thus, Nge2 specifies that the knight originally on the g-file moves to e2.
SAN kingsidecastling is indicated by the sequence O-O; queenside castling is indicated by the sequence O-O-O (note that these are capital Os, not zeroes, contrary to the FIDE standard for notation). Pawn promotions are notated by appending= to the destination square, followed by the piece the pawn is promoted to. For example: e8=Q. If the move is a checking move, + is also appended; if the move is a checkmating move, # is appended instead. For example: e8=Q#.
An annotator who wishes to suggest alternative moves to those actually played in the game may insert variations enclosed in parentheses. He or she may also comment on the game by inserting Numeric Annotation Glyphs (NAGs) into the movetext. Each NAG reflects a subjective impression of the move preceding the NAG or of the resultant position.
If the game result is anything other than *, the result is repeated at the end of the movetext.
Comments[edit]
Comments are inserted by either a ; (a comment that continues to the end of the line) or a { (which continues until a matching }). Comments do not nest.
Example[edit]
Here is the PGN format of the 29th game of the 1992 match played in Yugoslavia between Bobby Fischer and Boris Spassky:
Handling chess variants[edit]
Many chess variants can be recorded using PGN, provided the names of the pieces can be limited to one character, usually a letter and not a number. They are typically noted with a tag named 'Variant' giving the name of the rules. The term 'Variation' must be avoided, as that refers to the name of an opening variation. Note that traditional chess programs can only handle, at most, a few variants. Forsyth-Edwards Notation (FEN) is used to record the starting position for variants (such as Chess960) which have initial positions other than the orthodox chess initial position.
Chess programs which can open, edit and save PGN files[edit]
Programs for Microsoft Windows
- ChessX
- Convekta Aquarium[2]
- Convekta Chess Assistant
- Fritz GUI
- Hiarcs Chess Explorer
- Lokasoft Chesspartner[3]
- Lucas Monge's Lucas Chess[4]
- Martin Blume's Arena[5]
- Shredder UCI GUI
- Tarrasch Chess GUI
Programs for Linux
- ChessX
- Martin Blume's Arena[5]
Programs for the Android Operating System
- Gerhard Kalab's Chess PGN Master[6]
- Aart Bik's Chess for Android[7]
Programs for Mac OS
- ChessX
- Hiarcs Chess Explorer
- SCID vs Mac[8]
Programs for iOS

- Giordano Vicoli's Chess-Studio[9]
See also[edit]
References[edit]
- ^The Rise of Internet Chess, Mark Weeks' chess pages
- ^'ChessOK.com: Chess shop from the developers of Houdini 5 Aquarium 2017'. Chessok.com. Retrieved 15 August 2019.
- ^'ChessPartner - Lokasoft - Home of ChessPartner'. Lokasoft.nl. Retrieved 15 August 2019.
- ^'Lucas Chess'. Lucaschess.pythonanywhere.com. Retrieved 15 August 2019.
- ^ ab'Willkommen!'. Playwitharena.com. Retrieved 15 August 2019.
- ^'Chess PGN Master for Android'. Pgnmaster.kalab.com. Retrieved 15 August 2019.
- ^'Aart Bik's Website'. Aartbik.com. Retrieved 15 August 2019.
- ^[1][dead link]
- ^'Chess Studio'. Facebook.com. Retrieved 15 August 2019.
External links[edit]
- For iPhone Xs/X/8/7/6/s Plus,No Jailbreak, File ManagerTop Rated PlusWas: Previous Price$9.95From Hong KongFree International Shipping14% off
- Brand NewFrom United KingdomBuy It Now56 Sold56 Sold
SD Card Reader & Micro SD To Light Cable Adapter for iPhone X 8 7 6 6S Plus
Brand NewFrom ChinaBuy It NowCamera SD Card Reader Adapter Cable for iPhone 8 Plus 6S Apple iPad Pro Air Mini
Brand NewFrom ChinaBuy It NowCamera SD Card Reader Adapter Cable for iPhone 7 Plus 6S Apple iPad Pro Air Mini
Brand NewFrom ChinaTrending at $8.99Free International ShippingSd Card Reader For Iphone Apple Ipad Usb To Lightning Adapter Cable 4 In 1 Tf
Brand NewFrom United StatesWas: Previous Price$22.25Customs services and international tracking provided+$16.05 shipping2 WatchingNEW Lightning to SD Card Camera Reader Adapter for iPhone 6 6S 5S iPad Air Mini
Brand NewFrom ChinaWas: Previous Price$6.49Free International ShippingMemory Card Reader Adapter OTG SD TF i-Flash Device HD For iPhone Android PC
Brand NewFrom ChinaWas: Previous Price$9.68+$1.99 shipping4 in1 USB Card Reader Micro SD Camera Link Adapter for iPad, iphone X 8 7 6 Plus
Brand NewFrom ChinaBuy It NowCamera SD Card Reader Adapter Cable for iPhone 6S 7Plus Apple iPad Pro Air New
Brand NewFrom ChinaTrending at $8.99Free International Shipping- Brand NewFrom ChinaBuy It Now
- Brand NewTop Rated PlusBuy It NowFrom China
External Micro SD TF Memory Card Reader Lightning for iphone OTG card iPad CV
Brand NewFrom ChinaBuy It NowSD Card Reader & Micro SD To Flash Cable Adapter for iPhone X 8 7 6 6S Plus
Brand NewFrom ChinaBuy It Now16 Watching3 in 1 Fast Charging to TF SD Card Reader Camera USB OTG Adapter for iPhone iPad
Brand NewFrom ChinaWas: Previous Price$10.50+$1.99 shipping6% offSD TF CF Card Reader For iphone XS MAX XR 5 6 7 8 iPad USB Camera Connection Kit
Brand NewFrom ChinaWas: Previous Price$13.96Free International ShippingDual-USB Flash Drive SD TF Card Reader For iPhone 6 7 8 Plus Samsung Cell Phone
Brand NewFrom ChinaBuy It Now4 in 1 Lightning Micro USB Type C Adapter TF Card Reader for iPhone/IOS/Android
Brand NewFrom Chinaor Best Offer3 WatchingCamera SD Card Reader Adapter Cable for Apple iPhone 5 6 7 iPad Pro Air Mini
Brand NewFrom ChinaBuy It Now4 WatchingLexar microSD memory card reader for iPhone iPad Lightning microSDHC microSDXC
Brand NewFrom PolandBuy It NowAlll in 1 SD SDHC TF M2 XD CF Card Reader For iphone XS MAX XR X 6 7 8 Plus iPad
Brand NewFrom ChinaWas: Previous Price$14.46Free International ShippingFast Charging to USB TF SD Card Reader Camera OTG Adapter for iPhone iPod
Brand NewFrom ChinaWas: Previous Price$12.01+$1.99 shippingSD/CF/TF Card Reader for IPhone to CF Adapter Trail Game camera viewer for ipad
Brand NewFrom ChinaBuy It NowAlll in 1 SD SDHC TF M2 XD CF Card Reader For iphone XS MAX XR X 6 7 8 Plus iPad
Brand NewFrom ChinaWas: Previous Price$14.86Free International Shipping4 in 1 Micro SD/TF Card Reader Converter for iPhone 5 6 7 8 iPad PC Camera White
Brand NewFrom Chinaor Best OfferFree ReturnsUSB 3.0 OTG TF SD Memory Card Reader for iPhone X 8 7 6 5 for iPad Android Phone
Brand NewFrom ChinaWas: Previous Price$12.49Free International ShippingDigital Card Camera Memory Reader Adapter Lightning for iPhone iPad Mini Air Pop
Brand NewFrom Chinaor Best Offer- Brand NewTop Rated PlusBuy It NowFrom Hong Kong
Price refinements - Carousel
Showing slide {CURRENT_SLIDE} of {TOTAL_SLIDES} - Price refinements