Skip to main content

Fen2Image

Generate images from FEN easily.

It's a very simple tool that for a given FEN generates an image with persistent link to it.

You can find more about it and try it interactively on its dedicated page

Interactive mode with preview

The interactive mode is, for most people, the easiest way to download the image or get a link to it while seeing the live preview.

However, if you are interested in how the links are created, the remaining text on this page is for you.

Simple Usage

Let's say our FEN is the very beginning of the game after White played 1.e4, so the FEN is:

rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1

To generate an image for this FEN, simply use the FEN in the URL using the following pattern:

https://fen2image.chessvision.ai/<FEN>

which for our example FEN correspondents to:

https://fen2image.chessvision.ai/rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1

this generates the following image:

Specify whose turn is it to played

You can include the turn query string parameter to specify the turn.

The choices are white and black.

This adds either White to play or Black to play text in the bottom left corner of the image.

For our example FEN and Black's turn, the URL becomes:

https://fen2image.chessvision.ai/rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1?turn=black

which generates the following image:

Specify board orientation

You can include the pov query string parameter to specify the point of view, in other words, the orientation of the board.

The choices are white and black and the default is white when not provided.

This makes the image being shown from the specified player's point of view.

For our example FEN and Black's point of view, the URL becomes:

https://fen2image.chessvision.ai/rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1?pov=black

which generates the following image:

Combining options

Of course you can combine both options, for example set turn=black and pov=black.

For our example FEN and White's turn, the URL becomes:

https://fen2image.chessvision.ai/rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1?turn=black&pov=black

which generates the following image: