FileInfo

Languages

Overview

What is a PGN file? A PGN file is a Portable Game Notation file. It contains a record of the moves played in a chess game, as well as game metadata (such as the game's players, platform, and date). PGN files are saved in a standard plain text format, which is human-readable and recognized by most chess programs.

More Information PGN file open in Microsoft Visual Studio Code In 1993, Steven J. Edwards created the PGN format for recording chess games. The beginning of each PGN file uses tag pairs to specify game metadata, which may include: The event at which the game was played The specific tournament round in which the game was played The platform or program on which the game was played The date the game was played Players' colors and Elo ratings The game's outcome The remainder of the file specifies the moves played in the game, using a turn-based list of moves recorded using Standard Algebraic Notation (SAN). For example, the text 2.Nf3 Nc3 notes that on the second turn of the game, the white player moved a knight to space F3, and the black player moved a knight to space C3. Chess players and analysts use PGN files to share game recordings with each other, for historical and review purposes. Many chess programs allow players to visually play back the game a PGN file contains, so they can analyze the moves that players made.

Popularity4.2/5

80 votes

Quick AppOpen with
VerifiedVerified by FileInfo.com The FileInfo.com team has independently researched the Portable Game Notation file format and Mac, Windows, and Linux apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified. If you would like to suggest any additions or updates to this page, please let us know .

Apple Chess 2.4.3 Icon

Breadcrumbs

DeveloperSteven Edwards
Popularity4.2 | 80 Votes

Previous / Next

In-Depth

.PGN File Extension

Portable Game Notation File

DeveloperSteven Edwards
Popularity
4.2  |  80 Votes
 

What is a PGN file?

A PGN file is a Portable Game Notation file. It contains a record of the moves played in a chess game, as well as game metadata (such as the game's players, platform, and date). PGN files are saved in a standard plain text format, which is human-readable and recognized by most chess programs.

More Information

PGN file open in Microsoft Visual Studio Code

In 1993, Steven J. Edwards created the PGN format for recording chess games. The beginning of each PGN file uses tag pairs to specify game metadata, which may include:

The remainder of the file specifies the moves played in the game, using a turn-based list of moves recorded using Standard Algebraic Notation (SAN). For example, the text 2.Nf3 Nc3 notes that on the second turn of the game, the white player moved a knight to space F3, and the black player moved a knight to space C3.

Chess players and analysts use PGN files to share game recordings with each other, for historical and review purposes. Many chess programs allow players to visually play back the game a PGN file contains, so they can analyze the moves that players made.

How to open a PGN file

You can open a PGN file with any text editor (such as Microsoft Notepad or Apple TextEdit ) and most chess programs that can import game records. For example, the ChessBase suite of programs can open PGN files and play back the games they contain.

Open over 400 file formats with File Viewer Plus . Free Download

Programs that open PGN files

Sort

Pricing

Program Name

Platform

Reset

X

Windows

ChessBase Reader

Free

ChessBase Fritz

Paid

ChessBase

Free Trial

Microsoft Notepad

Included with OS

Any text editor

Mac

Apple TextEdit

Included with OS

Any text editor

Linux

XBoard

Free

Vim

Free

Any text editor

Category: Game Files

Updated: March 30, 2023

FAQ

What is a PGN file?
A PGN file is a Portable Game Notation file. It contains a record of the moves played in a chess game, as well as game metadata (such as the game's players, platform, and date). PGN files are saved in a standard plain text format, which is human-readable and recognized by most chess programs.
How do I open a .pgn file?
You can open a PGN file with any text editor (such as Microsoft Notepad or Apple TextEdit) and most chess programs that can import game records. For example, the ChessBase suite of programs can open PGN files and play back the games they contain.