Skip to content
chessenpai

What opening is this? Chess opening finder

Play the moves, or paste a game link or PGN, to identify the opening by name and ECO code and see the move where theory ends.

White to move

Play the moves of your game for both sides, or load a game below. Use the left and right arrow keys to step through the moves.

Opening

Play the first moves on the board, or paste a game link or PGN, and the opening is named here with its ECO code.

Moves

Load a game

HOW IT WORKS

How the opening finder works

  1. Add your game

    Paste a Chess.com or Lichess game link or a PGN, or play the moves for both sides on the board.

  2. Every position is checked

    Each position of the game is looked up in an open book of named opening lines, so transpositions are caught too.

  3. Read the result

    You get the deepest named opening with its ECO code, the move where theory ends and every named position on the way.

Guide

8 topics · 4 min read

What opening is this? Identify any chess opening

You saw a game, a video or a position and want to know what the opening is called. Play the moves on the board above, or paste the game, and the finder names it with its ECO code. It works as a chess opening identifier for any game: your own, a famous one or a line from a book.

What opening did I play?

After a game it is easy to remember the moves and still not know what the opening is called. Was that a Sicilian or a Caro-Kann sideline, an Italian or a Two Knights? The opening finder answers that by walking through your game from the first move and checking every position against a book of named opening lines. The deepest position that still has a name is your opening, and the move that reached it is where theory ends.

Because the finder compares positions instead of move orders, it also handles transpositions. Games often reach a well-known position through an unusual order of moves, and the name still fits once the position is the same.

Chess opening name finder: search by moves

You do not need to know any names to search. Enter the moves in order and the finder does the rest: after 1.e4 c5 it shows the Sicilian Defense, and after a few more moves it narrows down to the exact variation. If you only remember the first few moves, that is usually enough to find the family. To explore, step back to any move and try a different one; the name updates as you play.

What ECO codes are

ECO stands for Encyclopaedia of Chess Openings, a reference work that sorted the openings into five volumes, A to E, each split into codes from 00 to 99. That gives codes from A00 to E99. A code groups related lines rather than naming a single variation, so one code can cover several named lines, and a broad opening such as the Sicilian spreads over many codes. Players use the codes as a short, language-neutral way to talk about openings, and many databases let you search by them.

The five families, A to E

  • A: flank openings. First moves such as 1.c4, 1.Nf3 and 1.f4, plus some replies to 1.d4 like the Dutch and the Benoni.
  • B: semi-open games. 1.e4 answered with anything other than 1...e5 or 1...e6, which takes in the Sicilian, the Caro-Kann, the Pirc and the Scandinavian.
  • C: open games and the French. Everything after 1.e4 e5, such as the Ruy Lopez and the Italian, and the French Defense after 1.e4 e6.
  • D: closed and semi-closed games. 1.d4 d5 lines, including the Queen's Gambit and the Slav, plus the Grünfeld.
  • E: Indian defenses. Lines after 1.d4 Nf6 2.c4 with ...e6 or ...g6, such as the Nimzo-Indian, the Queen's Indian and the King's Indian.

Where the names come from

The opening names and codes come from lichess-org/chess-openings, an open list of named opening lines released under CC0. It is a list of names, not a ranking of good moves: a line can have a name and still be dubious, and a perfectly normal move can be missing from it. Treat the result as a label for your game, and use an engine when you want to know whether the moves were good.

Why naming your openings helps

A name turns a vague memory into something you can study. Once you know you played the Ruy Lopez or the Caro-Kann Advance Variation, you can look up model games, read about the plans and compare your moves with the main lines. The move where theory ends matters just as much: it shows the exact point where you or your opponent left known ground. If that keeps happening early in the same opening, that is the line to learn next.

Names also help you notice patterns across games. If most of your losses with Black start from the same defense, or you keep facing a sideline you never prepared, a quick check of your recent games with the finder makes it visible.

Building a repertoire with the finder

A repertoire is simply the set of openings you choose to play with each color. You can build one from your own games in a few steps:

  1. Collect your openings. Run your recent games through the finder and note the opening and ECO code for each, separately for White and Black.
  2. Look at where theory ended. When a game left the book early, step back to the last book move on the board and see which move you were not sure about.
  3. Pick your lines. Choose one answer for each common reply, and save those lines in the opening trainer, where you can drill them from either side.
  4. Learn the traps. Many openings have a well-known trap early on. The opening traps guide shows them move by move so you can avoid them, or set them.
  5. Check the rest of the game. The opening is only the start. Open the final book position on the analysis board, or run the whole game through the free game review to see what happened after the opening.

Tips for the best result

  • Use the whole game. The finder only needs the opening moves, but pasting the full PGN or link is fine. It walks the whole game and keeps the deepest named position.
  • Click the named positions. The list shows every name your game passed through. Click one to see that position on the board.
  • Try your own ideas. Step back to any move and play a different one on the board. The result updates as you go, so you can see whether your idea is a named line.

QUESTIONS

Frequently asked questions

What opening is this?
Play the moves on the board above, or paste the game link or PGN, and the finder names the opening straight away, with its ECO code. It checks every position, so it works even if the moves came in an unusual order.
How do I identify a chess opening from the moves?
Enter the moves from the start of the game. Each position is looked up in an open list of named opening lines, and the deepest position that still has a name is your opening. Two or three moves are often enough for the family; more moves give the exact variation.
What opening am I playing?
Paste one of your recent Chess.com or Lichess games, or its PGN, and press Find the opening. You get the opening name, its ECO code and the move where your game left the book. Check a few games to see which openings you play most with White and Black.
How do I look up an ECO code?
Find the opening of any game here and its ECO code is shown next to the name, from A00 to E99. The letter gives the family: A flank openings, B semi-open games, C open games and the French, D closed games, E Indian defenses.
What is an ECO code?
ECO stands for Encyclopaedia of Chess Openings. Each code is a letter from A to E followed by two digits, from A00 to E99, and points to a group of related opening lines. The letter tells you the broad family, such as open games after 1.e4 e5 in C or Indian defenses in E.
What does "theory ends after move N" mean?
It is the last move of your game that still reaches a position from a named opening line. The move after it leaves the book. That does not mean the next move was a mistake, only that the line has no name in the list from there on.
Does the finder recognise transpositions?
Yes. It matches positions, not move orders. If you reach the Nimzo-Indian through 1.c4 Nf6 2.Nc3 e6 3.d4 Bb4, it is named the Nimzo-Indian, the same as after 1.d4 Nf6 2.c4 e6 3.Nc3 Bb4.
Why is the name different from the one Chess.com shows?
Sites keep their own opening lists, and names and the depth of each list vary. This finder uses the open lichess-org/chess-openings data, released under CC0, so the names follow that list.
Is the opening finder free?
Yes, free and unlimited, with no account and no ads. The opening lookup runs in your browser.