Buddy Code
Create account ↗
All tools
Free to use · No sign-up

Chess PGN viewer

Replay the main line of a PGN chess game, inspect legal continuations and export FEN or a board diagram.

One game, main line only. Comments and variations are omitted from playback. Strict chess.js parsing, up to 100,000 characters / 1,000 half-moves. No engine evaluation.

What it does

Replay the main line of a PGN chess game, inspect legal continuations and export FEN or a board diagram.

How to use it

  1. Paste or import one PGN game and load it.
  2. Step through moves or choose a position. Export the current FEN or SVG diagram.
  3. Processing stays in your browser. No upload or sign-up.

Example

Load 1. e4 e5 2. Nf3 Nc6 and step through the four half-moves.

Methodology

chess.js validates a single PGN main line and generates positions and legal moves; the viewer renders an accessible board and SVG.

Limitations

100,000 characters and 1,000 half-moves. Comments and variations are omitted from playback. No engine, best-move analysis or opening database. Diagram glyph appearance depends on installed fonts.

Automation

This tool runs in your browser. No upload API or MCP endpoint is available.

View capabilities and documentation

Reference updated

Join the conversation

Helpful tips, questions, and ideas for making this tool better.

Loading discussion…