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

  1. Open the game on Lichess.
  2. Click Analysis.
  3. Find Share & export or FEN & PGN below the board.
  4. 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?