Free PGN Viewer: Replay Chess Games Online
Paste the moves of a chess game and step through it on a board. The sample below is the Opera Game, played by Paul Morphy in Paris in 1858. Everything runs in your browser, so nothing you paste is uploaded.
Move 0 of 33. Use the arrow keys to step.
- Event
- Opera Game
- Site
- Paris FRA
- Date
- 1858.??.??
- White
- Paul Morphy
- Black
- Duke of Brunswick and Count Isouard
- Result
- 1-0
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
How to use the viewer
- Copy a game's PGN from a chess website, a database or your own games. On Grandmasterchess, the move list beside a game has copy and download buttons for PGN.
- Paste it into the box. The board resets to the starting position.
- Step with the arrow buttons or your keyboard's left and right arrows, press play to watch the game, or click a move to jump to it.
- Use Flip board to see the game from Black's side, and copy the position's FEN to open it in any other chess tool.
What is a PGN?
Portable Game Notation is a standard plain-text format for recording chess games, devised around 1993 by Steven J. Edwards. A PGN begins with "tag pairs" in square brackets, such as [White "Paul Morphy"]. Archival PGN requires seven of them, called the Seven Tag Roster: Event, Site, Date, Round, White, Black and Result. The moves follow in standard algebraic notation. If you are not sure how to read them, see our guide to chess notation.
A PGN can also start from a position other than the usual one by including a FEN tag, and this viewer honours it.
What is a FEN?
Forsyth-Edwards Notation describes one position on a single line of six fields. Here is the starting position, field by field:
| Field | Meaning | Start position |
|---|---|---|
| 1. Piece placement | Ranks 8 to 1, separated by slashes. Letters are pieces (capitals for White), digits count empty squares. | rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR |
| 2. Active colour | Whose turn it is: w or b. | w |
| 3. Castling rights | K and Q for White kingside and queenside, k and q for Black, or - for none. | KQkq |
| 4. En passant square | The square a pawn can be captured on en passant this move, or -. | - |
| 5. Halfmove clock | Moves since the last pawn move or capture, used for the fifty-move rule. | 0 |
| 6. Fullmove number | Starts at 1 and increases after Black moves. | 1 |
Frequently asked questions
What is a PGN file?
PGN (Portable Game Notation) is a plain-text format for recording a chess game. It starts with tag pairs such as the event, the players and the result, followed by the moves in standard algebraic notation.
How do I view a PGN online?
Paste the PGN into the box above. The board shows the starting position, and you can step through the moves with the buttons, the arrow keys, or by clicking any move in the list.
Can I paste a FEN instead of a game?
Yes. A FEN describes a single position, so the viewer shows that position with no moves to step through. It also works the other way: step to any position in a game and copy its FEN.
Is my game uploaded anywhere?
No. The viewer runs in your browser and does not send what you paste to a server.
What does the viewer not support?
It shows the first game when several are pasted, ignores comments and variations, and supports standard chess only (not chess variants).
Related
- Chess coordinates trainer: learn square names so notation reads quickly.
- Elo rating calculator: work out how a result changes your rating.
- Play a game against the computer and paste the PGN here afterwards.
Sources
- Portable Game Notation Specification and Implementation Guide (Steven J. Edwards, 1994 revision).
- Wikipedia: Portable Game Notation
- Wikipedia: Forsyth-Edwards Notation