Scholar's mate
- Input
- 1. e4 e5 2. Bc4 Nc6 3. Qh5 Nf6 4. Qxf7#
- Expected output
- 8 quadros (início + 7 meios-lances), cerca de 9 s com os atrasos padrão
The 2.5 s end pause leaves the mate in view.
Chess Diagram Generator (FEN to Image, PGN to GIF)
PGN to GIF
The example below holds the scholar's mate in four moves, the shortest complete PGN worth animating. Replace it with yours: on Lichess and Chess.com a game can be exported as PGN and pasted here. Press Generate GIF, follow the progress and download the file.
The 2.5 s end pause leaves the mate in view.
Plies count each move of each color: White's move 5 is ply 9.
Paste the FEN into the field (a full FEN or just the first field with the pieces both work) and the diagram appears at once. Then press Download PNG or Download SVG. If you do not have the FEN yet, set the position up in the FEN editor and use its Make image button, which brings the position here. The image always has White at the bottom unless you pick the other side under Appearance.
Yes: comments and headers are accepted, and the GIF follows the main line. If reading fails, look for an illegal move or non-standard text in the middle of the moves.
The generator uses the first game in the file. To animate another one, copy only its text and paste it into the field.
8 frames, 9.1 s of animation, estimated size 64 KB.