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.

Chess board preview

Open this position in the analysis board →

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>
ParameterMeaningDefault
fenPosition in FEN (URL-encoded; _ may replace spaces). Piece placement alone is enough.start position
flip1 to show the board from Black's side0
lastmoveHighlight a move, e.g. e2e4none
highlightComma-separated squares to highlight, e.g. d5,f7none
coords0 to hide coordinates1
sizeWidth/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.