Chess board image generator
Paste a FEN or a PGN and get a chess diagram you can embed anywhere. Every image has a permanent URL.
URL API
Images are generated from the URL, so you can build links yourself, from code or from an AI agent:
https://chessmoments.com/board.svg?fen=<FEN>| Parameter | Meaning | Default |
|---|---|---|
fen | Position in FEN (URL-encoded; _ may replace spaces). Piece placement alone is enough. | start position |
flip | 1 to show the board from Black's side | 0 |
lastmove | Highlight a move, e.g. e2e4 | none |
highlight | Comma-separated squares to highlight, e.g. d5,f7 | none |
coords | 0 to hide coordinates | 1 |
size | Width/height in pixels (64–2048) | 400 |
Example: /board.svg?fen=r1bqkbnr/pppp1ppp/2n5/4p3/4P3/5N2/PPPP1PPP/RNBQKB1R_w_KQkq_-_2_3&lastmove=b8c6
Responses are SVG, cached for a year, and allow cross-origin use. Free to use; a link back is appreciated.