Free chess tool

What opening did I play? Chess opening finder

Paste a PGN from Lichess or Chess.com, or just type the first moves, and get the name of the opening and its ECO code. Then jump straight to a move-by-move guide for it.

Last updated

Loading…

How it works

  1. 1Your moves are played through the chess.js rules library, so typos and illegal moves are caught; PGN headers, comments and variations are ignored.
  2. 2The moves are matched against a table of named openings with their ECO codes (A00 to E99). The longest matching line wins, so you get the most specific name.
  3. 3If we have a guide for that opening, you get a link straight to it. If not, we link the closest guide from the same ECO family.
  4. 4You also see the named lines that go deeper from your position, so you know where your game left theory.

Examples you can try

  • 1.e4 c5 2.Nf3 d6 3.d4: the Sicilian Defence, 2...d6 lines (B50), heading for the Open Sicilian.
  • 1.d4 Nf6 2.c4 e6 3.Nc3 Bb4: the Nimzo-Indian Defence (E20).
  • 1.e4 e6 2.d4 d5 3.e5: the French Defence, Advance Variation (C02).

FAQ

What is an ECO code?add

The Encyclopaedia of Chess Openings classifies openings into five groups, A to E, each with codes 00 to 99. For example C60 to C99 are the Ruy Lopez, B20 to B99 the Sicilian.

Where do I find my game's PGN?add

On Lichess: open the game, then Share & export → PGN. On Chess.com: open the game, then Share → PGN. Copy it and paste it here.

Why does it say no named opening?add

If the first moves are unusual (for example 1.a3 then wandering pieces), no named opening matches. That is normal in casual games.

Does it check the whole game?add

It reads all your moves, but only the opening phase decides the name. The rest of the game is ignored.