Zero Signup ToolsFree browser tools

Developer Tools

PGN Viewer

Paste any chess PGN to render the board, step through every move, and copy the FEN of any position. Multi-game files, comments, and tags supported.

PGN viewer and chess game replay

Quick presets

Try a famous game

Input

Paste your PGN

Paste a single game or an export with multiple games (Lichess studies, chess.com exports, tournament dumps). Tags, comments (in braces), result tokens, and NAG glyphs are recognised. Side-line variations in parentheses are skipped; only the main line is replayed.

Header

Spassky, Boris V - Fischer, Robert James (World Championship Match, 1972.07.11, 0-1)

Event
World Championship Match
Site
Reykjavik ISL
Date
1972.07.11
Round
6
White
Spassky, Boris V
Black
Fischer, Robert James
Result
0-1
ECO
D59

Board

Start position

0 / 81
Side to move: WhiteResult: 0-1

Moves

Full game (81 half-moves)

  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.
  6. 6.
  7. 7.
  8. 8.
  9. 9.
  10. 10.
  11. 11.
  12. 12.
  13. 13.
  14. 14.
  15. 15.
  16. 16.
  17. 17.
  18. 18.
  19. 19.
  20. 20.
  21. 21.
  22. 22.
  23. 23.
  24. 24.
  25. 25.
  26. 26.
  27. 27.
  28. 28.
  29. 29.
  30. 30.
  31. 31.
  32. 32.
  33. 33.
  34. 34.
  35. 35.
  36. 36.
  37. 37.
  38. 38.
  39. 39.
  40. 40.
  41. 41....

Current position FEN

Copy or paste into an engine

rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1

Drop this FEN into the Chess FEN Viewer, any chess engine, or any analysis board to pick up exactly where you are in the game.

How to use

  1. Paste a PGN string into the input, or pick a preset to load a famous game such as Spassky vs Fischer 1972 game 6, Anderssen's Immortal, or the Paris Opera mate.
  2. If the PGN contains multiple games (a Lichess export, a tournament dump), a Games picker appears. Click any game tile to switch.
  3. Use the step controls below the board to go to the start, step back or forward one half-move, or jump to the end. Each half-move in the move list is clickable, so you can warp to any position directly.
  4. Read the side panel for the current side to move, the check or checkmate flag, and the game result. The most recent move's from and to squares are outlined on the board.
  5. Click Copy FEN to grab the canonical FEN of the current position, then paste it into the Chess FEN Viewer or any chess engine to keep analysing.

About this tool

PGN Viewer parses any Portable Game Notation string and lets you replay the game in your browser. Drop in a single game or a whole export (Lichess study, chess.com archive, tournament dump) and the tool detects every game, lists them in a picker, and replays the main line of each. The PGN tag block is decoded into a labelled card so the Event, Site, Date, Round, White, Black, Result, ECO, and any custom tags are easy to read. The movetext tokenizer follows the PGN specification: move numbers, glyphs ($1, $4), inline comments inside braces, and the terminating result token (1-0, 0-1, 1/2-1/2, or *) are all recognised, while recursive annotation variations inside parentheses are skipped so only the main line is replayed. SAN moves are matched against a full legal-move generator, with pin checks, castling, en passant, and pawn promotion all handled, so files that use compact PGN forms (such as Rd1 when only one rook can reach d1, or exd6 for an en passant capture) replay cleanly. The board renders with Unicode chess glyphs, so it works on any device without an external font or image. Step controls jump to the start, step back or forward one ply, or jump to the end of the game; each half-move in the move list is a button that warps directly to that position. The last move's from and to squares are outlined so you can see what just happened, and check, checkmate, and stalemate flags appear automatically on the side panel. A copy-ready FEN string is generated for the current position, ready to paste into the Chess FEN Viewer, an analysis board, or any chess engine to continue exploring. PGN-with-FEN (the SetUp and FEN tags used by tactics trainers and chess puzzles) is supported, so games that start from a non-standard position replay correctly. Useful for chess players reviewing their own games, streamers and writers who paste PGN into articles and want a clean replay, coaches walking through a student's game ply by ply, and developers prototyping chess tools who need a reliable PGN-to-board renderer. Everything runs in your browser; the PGN strings you paste and the positions you analyse never leave the tab.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsDeveloper Tools