Anki for Chess Openings: How to Build a Deck, and Where It Gets Hard

Anki for Chess Openings: How to Build a Deck, and Where It Gets Hard

Anki is the best-known spaced repetition app, so plenty of chess players try it for openings. It works. Spaced repetition is the right idea for opening theory: you review a line just before you'd forget it, and the gaps between reviews grow as it sticks.

But Anki was built for text flashcards, and chess moves aren't text. This post covers how people actually build chess decks in Anki, the problems they run into, and what a chess-specific tool does differently.

We built AnkiChess, so we have an obvious bias. We'll try to be fair to Anki, which is excellent software.

Three ways people build an Anki chess deck

1. Manual cards: a position on the front, the move on the back

The simplest format: the front shows a board (a screenshot or a diagram exported from a chess site), the back shows your move and a note on why you play it.

  • Good: total control. You write exactly the cards you want, with your own notes.
  • Bad: slow. A repertoire with a few hundred positions means a few hundred screenshots, each cropped, named and flipped to the right side of the board.

2. Move-sequence cards: text only

Some players skip images: the front says "1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 ?" and the back says "5... a6 (Najdorf)".

  • Good: fast to write, easy to search and edit.
  • Bad: you're memorising notation, not positions. Over the board you see a position, not a move list, and the two don't always connect.

3. Generated decks: PGN in, cards out

If you already keep your repertoire as a PGN (a Lichess study, a ChessBase file), you can convert it. People use community add-ons, scripts, or card templates that draw a board from a FEN string with JavaScript. AnkiWeb also has some shared chess decks, though their format and quality vary.

  • Good: one file becomes hundreds of cards. Your repertoire stays in a chess tool, and Anki just schedules it.
  • Bad: setup takes some fiddling, and when you change your repertoire you have to regenerate or hand-edit cards without losing your review history.

Where Anki gets hard for chess

None of these are Anki bugs. They come from using a general flashcard tool for something with rules.

Card creation is most of the work. With Anki the deck is the hard part. Many players spend more time building cards than reviewing them, and stall before the deck is finished.

No move legality. Anki doesn't know chess. You reveal the answer and judge yourself, or type a move and Anki compares text. "Nf3", "Ngf3" and "Ng1-f3" all look different to it. You can't make the move on a board and have it accepted or rejected.

Transpositions. The same position can arise from different move orders: 1. d4 d5 2. c4 e6 3. Nc3 and 1. c4 e6 2. Nc3 d5 3. d4 reach the same Queen's Gambit Declined position. In Anki, those are separate cards that know nothing about each other, so you review the same decision twice on different schedules.

One line per card, or one move per card? If a card is a whole line, one mistake on move 9 sends the entire line back to the start, including the eight moves you knew. If a card is a single position, you lose the flow of playing the line from the start, and the opponent's moves never appear in context.

Your opponent's replies. A repertoire is a tree: you answer each reasonable opponent move. Flat flashcards make it hard to see which branches you've covered and which you haven't.

The board is a picture. You see a static diagram, not a board you move pieces on. Some players don't mind. Others find recall doesn't transfer to a real game as well as they hoped.

When Anki is still the right choice

Anki is free on desktop and Android (the iOS app is a one-time purchase), works offline, has years of polish, and you own your data. Since version 23.10 it also offers FSRS, a modern scheduling algorithm, as an option.

If you already review Anki every day for languages or medicine, adding a small chess deck there is a reasonable choice: one habit, one app. If your openings are a short list of key positions rather than a full tree, manual cards work fine too.

How AnkiChess does the same job

AnkiChess is spaced repetition built around a chessboard. Here's how it handles each of the problems above.

  • No card creation. Pick openings from a library of annotated lines, or import your own repertoire: paste a PGN, upload a .pgn file, or link a public Lichess study. Variations and comments come with it.
  • You play the moves. Each review is a line on a real board. The opponent's moves play automatically and you make yours. Illegal moves aren't possible, and a wrong move is shown and taken back, with an explanation when we have one.
  • Every move is its own card. You play the line from a couple of moves before the position that's due, but each of your moves is scheduled on its own with FSRS. A slip on move 9 reschedules move 9, not the whole line.
  • Transpositions share a card. Cards are keyed by position, not by move order, so reaching the same position by a different route reviews the same card.
  • Grading is mostly automatic. A wrong move counts as "again", and a slow or hinted move counts as "hard". At the end of a line you see a suggested grade and can change it.
  • See your gaps. The repertoire page estimates how much of what opponents play at around your rating your repertoire covers (from the Lichess opening explorer, or your own games), and lists the biggest gaps.
  • Learn from your own games. Connect Lichess or Chess.com and AnkiChess checks your games against your repertoire. When you reach a prepared position and play something else, that card comes back for review.

What Anki does better: it's free for unlimited cards, works offline, isn't tied to one company's servers, and handles subjects other than chess. AnkiChess is a web app (it works in a mobile browser, but there's no native app), and the free plan is limited to 3 openings.

Try it

If you've built (or abandoned) an Anki chess deck, AnkiChess is the version where the deck builds itself and you review on a board.

Every new account gets 14 days of Pro free, with no card required. After that you can stay on the free plan with 3 openings (an imported PGN repertoire counts as one), or go Pro for $5/month or $50/year for unlimited openings. If you don't subscribe, any openings beyond your first 3 are paused, not deleted, and come back if you upgrade later.

Create a free account and import your repertoire, or browse the openings first.

Related reading: AnkiChess vs Chessable vs Listudy and how to memorize chess openings.

Ready to Master Your Openings?

AnkiChess uses the proven SM-2 spaced repetition algorithm to help you memorize chess openings efficiently. Study smarter, not harder.