From a FEN to a book-quality figure, and from a game to a GIF, without sending anything to a server
This generator does two things that anyone writing about chess needs all the time. The first is turning a FEN into an image: a PNG to post, drop into slides and documents, or a vector SVG for books, articles and posters. The second is turning a PGN game into an animated GIF, one frame per move, to show an opening, a combination or a whole game on social networks, forums and in lessons.
For the diagram you choose the square colors (five site themes, a black and white print theme and free colors), the size, which side is at the bottom, and whether coordinates sit outside the board, inside the squares or disappear. The background can be white, dark or transparent, and there is an option to export only the pieces, with no painted squares, to overlay on other artwork. Arrows and square highlights come from clicking the board itself (click one square then another, or click a square to mark it) or from a text field, in four colors. A caption such as "Diagram 3. White to play and win" goes below the board. The PNG can come out at 1x to 4x the chosen size for sharp print and high-density screens.
In the GIF, each move becomes a frame, with a configurable delay, a pause on the starting position and at the end, a last-move highlight and a caption with the move in SAN (English letters or Portuguese ones: C for knight, B for bishop, T for rook, D for queen, R for king). You can cut a stretch of the game, for example moves 12 to 20, and watch the progress or cancel. The palette uses up to 256 colors, which is plenty for a chessboard and keeps the file small.
The pieces are the Cburnett set (Colin M. L. Burnett, Wikimedia Commons), distributed under a BSD license. Everything runs in your browser: the FEN, the PGN and the images never leave your computer.
How to use it
From FEN to file in three steps
Paste the FEN (or use the position editor button to build one). For the GIF, open the GIF tab and paste the PGN, or load a .pgn file.
Tune the look: color theme, bottom side, coordinates, background and size. On the diagram, draw arrows and highlights by clicking the board and write the caption. For the GIF, choose the delay, the pauses and the move caption.
Download the PNG or SVG (or copy the SVG code). For the GIF, press Generate GIF, follow the progress and download when it is done. Changed something? Generate again.
Embed
Use this tool on your site
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframesrc="https://jkit.tools/embed/en-US/chess-diagram-generator"width="100%"height="600"style="border:0"loading="lazy"referrerpolicy="no-referrer-when-downgrade"title="Chess Diagram Generator (FEN to Image, PGN to GIF)"></iframe><p style="font-size:12px;margin:6px 0 0">Tool by <a href="https://jkit.tools/en/tools/chess-diagram-generator">J-Kit</a></p>
Cite
Cite or link to this tool
Using it in a paper, class or post? Copy the link or a ready-made reference. The access date is today's.
<a href="https://jkit.tools/en/tools/chess-diagram-generator">Chess Diagram Generator (FEN to Image, PGN to GIF)</a>
References
Sources and references for this tool
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
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.