how do i get the pgn of a lichess game
You can get the PGN for a Lichess game from the game’s analysis page. Open the game, switch to analysis, then use the Share & export or FEN & PGN area under the board to copy or download the PGN.
Single game
- Open the game on Lichess.
- Click Analysis.
- Find Share & export or FEN & PGN below the board.
- Copy the PGN, or choose Download annotated / Download raw if available.
Multiple games
- Go to your profile and use the Export games option to download a batch of games as PGN.
Plain answer
If you just want one game, the fastest path is: game page → analysis → Share & export/FEN & PGN → copy or download PGN.
Would you like the exact steps for desktop, mobile, or the Lichess API?