PGN viewer

Loading Stockfish…

Black
White
0/0

Open a PGN

Stockfish 19 (single-thread)

No moves — load a game, or move a piece to start a line.

Open any PGN and replay the game move by move on a real board. Paste the text, upload a file or drop it on the panel. It's free and runs in your browser.

How to open a PGN

You have three ways in. Paste the PGN text into the box and press View game. Press Upload .pgn to pick a file from your device. Or drag a .pgn file onto the panel. Files can be up to 5 MB.

If you don't have a game handy, press Sample game to load a famous short game and try the controls.

Under Load a game you can also bring in an online game by its URL, or one of your recent games by username.

Files with many games

A single .pgn file can hold any number of games, one after another. Tournament downloads and database exports often hold many. The viewer splits the file into separate games and lists each one with the players, event, date and result. Pick one to view it.

This makes it easy to find one round of an event, or one opponent's games, without scrolling through raw text.

To print games with diagrams and comments, or save them as a PDF, paste the same file into PGN to PDF.

Replaying the moves

Step through with the first, previous, next and last buttons. The arrow keys work too, and Home and End jump to the start and the finish. You can also click any move in the move list to go straight there.

Press f or the flip button to see the board from Black's side. That helps when you review a game you played as Black. Move sounds can be muted.

The panel shows the game's details when the PGN includes them: event, site, date, round, result, ECO code and opening name. Player names and ratings appear above and below the board.

Try your own moves

When you reach a moment where you wonder "what if I had played that instead", play the move on the board. It is kept as a side line in the move list, so the real game stays intact.

Right-click a side line to delete it or promote it to the main line. This is the quickest way to test the idea you missed during the game.

Engine lines and full review

The engine starts switched off, so you can read the game and form your own opinion first. That is the habit that improves your play. When you're ready, turn on the Engine switch above the moves to get live lines for the current move, an evaluation bar and an arrow for the best move. It all runs in your browser.

For a full review, press Analyze game. Every move gets a label, each side gets an accuracy score and you get a coach for the game. The review is saved to My analyses with a share link.

Getting the most from it

  • Play through your own game once with the engine off. Write down the two or three moves where you felt unsure.
  • Try your alternative at each of those moments as a side line.
  • Only then turn on engine lines and see whether your idea held up.
  • Flip the board to your side, so the position looks the way it did when you were playing.

Questions

What is a PGN file?

PGN stands for Portable Game Notation. It is the plain-text format for chess games. It starts with tag pairs in square brackets, such as [White "..."] and [Result "1-0"], and then lists the moves in algebraic notation. Almost every chess program can export it.

Is the PGN viewer free, and do I need an account?

It's free and needs no account. Everything runs in your browser. Just viewing a game saves nothing.

Why don't I see the variations and comments from my PGN?

The viewer shows only the main line. Side variations and text comments inside the PGN are skipped. You can still add your own side lines by playing moves on the board.

Can I open a game that starts from a custom position?

Yes. If the PGN has a FEN tag, the game loads from that set-up position instead of the normal starting position.

How big a PGN file can I upload?

Files can be up to 5 MB. If the file holds more than one game, the viewer lists every game so you can pick the one you want.

Can I share a game with someone?

Viewing alone doesn't create a link. Press Analyze game to run a full review. The review is saved to My analyses with a share link you can send.