Guide

How to Make Anki Cards with ChatGPT (and Where It Goes Wrong)

You can make decent Anki cards with ChatGPT, Claude or any other chat tool. It takes a careful prompt, a specific import setting, and a check afterwards. Here is the whole process, including the parts that usually break.

By Caro, founder of Citecards · November 12, 2026 · 6 min read

The method in five steps

  1. Copy a small piece of your notes. A few pages at a time. Long pastes are where content goes missing.
  2. Paste it with a strict prompt (below).
  3. Read the cards in the chat and ask for fixes before you export anything.
  4. Save the result as a plain text file, one card per line.
  5. Import the file into Anki as cloze notes.

A prompt that works

The more rules you give, the less the model improvises. This one is a good starting point:

Make Anki cloze cards from the text below. Use only facts stated in the text. One fact per card. Hide the key term with {{c1::term}}. Keep each card under 25 words. Write the cards in the same language as the text. Output one card per line, with no numbering, no tabs and no commentary. Text: [paste here]

Two additions help a lot. Ask it to skip anything it isn't sure about instead of guessing. And if you already have cards you like, paste three as examples and ask it to match the style.

Importing the result into Anki

  1. Paste the cards into a text editor and save the file as cards.txt.
  2. In Anki, choose File → Import and select the file.
  3. Set the note type to Cloze and pick the deck.
  4. Set the field separator to Tab. With one card per line and no tabs in the text, each line becomes one card, and commas inside your sentences won't split it.
  5. Check that the first column maps to the Text field, then import.

If a card shows the raw {{c1::...}} on both sides, the note type wasn't set to Cloze. Delete the import and try again.

Where it goes wrong

ProblemWhat you seeFix
Invented factsA card your notes never saidAdd "use only facts stated in the text" and trace a sample back to your notes
Dropped contentWhole sections with no cardsWork in smaller pieces and compare card count to page count
Broken formatNumbering, bullets or extra lines that break the importAsk for "one card per line, nothing else" and check the file before importing
Bad blanksA filler word is hidden, or several answers fitAsk it to hide "the term a test would ask for", then fix by hand
Style driftCard quality drops after a few batchesStart a new chat and paste the prompt again

The first two matter most, because you can't see them by reading the cards alone. A card looks the same whether its fact came from your notes or from nowhere. We go deeper into this in Do AI flashcards make things up?

The real cost is the checking

Generating the cards takes seconds. What takes time is confirming them: finding each sentence in your PDF, comparing numbers, noticing what was skipped. With a chat tool, every card arrives detached from its source, so that search is manual.

This is the gap Citecards was built for. It does the same generation step, then shows each card next to the page it came from with the source passage highlighted, flags cards whose source it can't find, and exports an .apkg file so there is no text import at all.

Try Citecards freeUpload a PDF, Word or PowerPoint file and get cloze cards, each shown next to its source. No account needed to generate.
Make my cards →

When a chat tool is the better choice

Frequently asked questions

Can ChatGPT create an .apkg file directly?

Some chat tools can run code and build a deck file for you. It works sometimes and fails in ways that are hard to debug, so the text import above is the reliable route.

Which is better for flashcards, ChatGPT or Claude?

Both can do it, and the answer changes with every new model. The prompt and the checking matter more than the brand.

How many cards should I ask for?

Don't give a number. Asking for "50 cards" pushes the model to pad. Ask for one card per fact worth remembering, and see how many cards a lecture should produce.

Try Citecards freeUpload a PDF, Word or PowerPoint file and get cloze cards, each shown next to its source. No account needed to generate.
Make my cards →