Quick answer: to create Anki flashcards from a class, first get its transcript —by recording the session and transcribing it with a tool like VOCAP— and then ask an AI model (Claude or ChatGPT) for question;answer pairs in CSV format with a semicolon as the separator, one card per atomic fact. Import the file into Anki (File > Import), review and edit the cards, and study with spaced repetition. A 1-hour class turns into a 20-40 card deck in about 10 minutes.
Anki is the most effective memorization tool there is —spaced repetition is backed by decades of research— but it has a brutal entry cost: making the cards. Turning a one-hour class into a good deck by hand takes another hour on top, which is why most students give up on Anki within two weeks.
AI removes that entry cost. In this guide you will see the complete workflow to turn any recorded class into an importable deck in minutes, the exact prompts for basic and cloze cards, the rules that separate a useful card from a useless one, and the mistakes that turn a generated deck into a waste of time.
Why generate flashcards with AI
Anki's bottleneck has never been the reviews —those are 10-20 minutes a day— but the creation. Generating the cards with AI changes the equation:
- The cost of creating a deck drops from an hour to minutes. The barrier that makes people abandon Anki disappears.
- Nothing slips past you. The cards come from the full transcript of the class, not from what you had time to jot down.
- Systematic coverage. The AI turns every definition, formula and date into a card; by hand you tend to skip what you think you already know.
- You start reviewing the same day. The deck is ready hours after the class, while the content is still fresh —the optimal moment for the first review.
- It works for any class. In-person recorded with your phone, online, in another language: all you need is the audio.
Important nuance: making cards by hand is also studying (the "elaboration effect"). When generating them with AI, don't give that up entirely: the review-and-edit pass over the deck —correcting, rephrasing in your own words, deleting the trivial— recovers most of that benefit in a fraction of the time.
Basic vs cloze cards: which to use
Anki has two main note types, and choosing well makes the difference in retention:
| Card type | How it works | Best for | Example |
|---|---|---|---|
| Basic (question/answer) | Front with a question, back with the answer | Definitions, concepts, cause-effect relationships, exam-style questions | "What does price elasticity of demand measure?" → "The % change in quantity demanded in response to a 1% change in price" |
| Cloze (fill in the gap) | A sentence with a hidden part you must recall | Formulas, enumerations, dates, legal articles, literal phrases | "Elasticity is calculated as {{c1::ΔQ%/ΔP%}}" |
| Basic (and reversed) | Generates two cards: A→B and B→A | Vocabulary, terms in two languages, concept-author pairs | "Invisible hand ↔ Adam Smith" (quizzes you in both directions) |
For a typical class the optimal approach is to mix: basic cards for the concepts and cloze for the exact data. You can ask the AI for both formats in the same pass, in separate blocks, as you will see in the prompts.
Step by step: from class to Anki deck
Step 1 — Get the class transcript
Record the class (a phone voice recorder on the desk is enough in most classrooms; ask for permission if necessary) and transcribe the recording with a quality engine. This step conditions everything else: a badly transcribed technical term ends up as an incorrect card you will memorize wrong for months. Tools like VOCAP transcribe the audio accurately and return clean, punctuated text. For the details, check our guides on transcribing university lectures and transcribing online classes.
Step 2 — Generate the cards with an AI prompt
Paste the transcript into Claude or ChatGPT with one of the prompts from the next section. The keys of the prompt: ask for CSV format with a semicolon as the separator (commas appear inside the sentences and would break the columns), one card per atomic fact, and prioritizing what the professor emphasized or repeated. For a one-hour class, ask for 25-35 cards.
Step 3 — Review and edit the deck
Don't import blindly. Read the generated cards, check the doubtful answers against your notes, rephrase in your own words the ones that sound like a textbook and delete the trivial ones. This pass takes 5-10 minutes and is where you recover the elaboration benefit you would lose by generating on autopilot.
Step 4 — Import the CSV into Anki
Save the CSV block as a text file (.txt or .csv). In Anki: File > Import, select the file, check that the detected separator is the semicolon and map the first column to the front and the second to the back. For cloze cards, first select the Cloze note type and map the text to its field. Choose the destination deck and confirm: in seconds the cards are in.
Step 5 — Study with spaced repetition
Review the deck daily and let the algorithm space out the reviews; don't "review ahead" or reset the deck. Add the cards from each new class to the same subject deck and the system mixes the new material with the pending reviews. If you also want full notes from the same recording, combine it with our workflow to convert audio into notes with AI.
Is the transcript the missing step?
Upload your class recording and get a clean transcript with a summary. Try VOCAP free: 30 minutes, no card required.
Try VOCAP FreeReady-to-copy prompts
Paste the class transcript and add one of these prompts on top.
Basic deck in CSV (question/answer)
From this class transcript, generate 25-35 flashcards for Anki in
CSV format with a semicolon as the separator: one card per line,
first column the question, second the answer. Rules: one card per
atomic fact (definition, formula, date, relationship), specific
questions (never "explain X"), answers of 1-2 sentences, prioritize
what the professor emphasized or repeated. Do not invent content
that is not in the class. Transcript: [paste the transcript here]
Cloze cards for formulas and exact data
From this class transcript, extract the formulas, enumerations,
dates and exact data, and turn them into 10-15 Anki cloze cards:
one sentence per line with the part to memorize wrapped in the
{{c1::answer}} syntax. If a sentence has two independent gaps, use
{{c1::...}} and {{c2::...}}. Only sentences that appear in the class.
Transcript: [paste the transcript here]
Deck quality filter
Review this flashcard deck and improve it: (1) remove the trivial
or duplicate cards, (2) split the ones that ask more than one thing,
(3) rewrite the vague questions so they have a single correct
answer, (4) mark with [REVIEW] the answers you are not sure about.
Return the corrected CSV. Deck: [paste the CSV here]
The rules of a good card (whether the AI follows them or not)
An AI-generated deck is only as good as the rules you give it. These are the ones that separate cards that lock in knowledge from cards that merely feel like studying:
- One card, one fact. "What is X and what are its 3 types?" is four cards, not one. Compound cards get failed forever.
- Questions with a single answer. "Explain inflation" is not a card; "What does the CPI measure?" is. If you can answer anything at review time, there is no pass/fail signal.
- Short answers. 1-2 sentences. If you need a paragraph, it's material for notes, not for a flashcard.
- Enough context. "What did he say about costs?" is useless outside the class. The question must stand on its own three months from now.
- Prioritize what's examinable. What the professor repeated, wrote on the board or flagged as "this will be on the exam" goes first; anecdotes don't become cards.
How to organize decks by subject
The structure that works best in practice is simple: one deck per subject, not per topic or per class. Anki manages reviews at the deck level, and fragmenting into dozens of mini-decks forces you to review them one by one.
- Use tags (not subdecks) for the topic or the week:
topic03,midterm1. That way you can create filtered decks before an exam without breaking the structure. - Add the cards from each new class to the subject deck the same day; the algorithm mixes the new material with the pending reviews.
- Before an exam, create a filtered deck by tag to review only the material that's covered, without touching the main deck's scheduling.
- If a card resists you more than 5 times, don't force it: rewrite it or split it. The problem is almost always the card, not your memory.
Turn any class into study material
Accurate AI transcription + automatic summary with Claude (Anthropic). Upload your class audio and get a transcript, summary and key points ready to generate your flashcards. From €1/hour.
Start Free with VOCAPCommon mistakes that ruin an AI-generated deck
- Importing without reviewing. An AI error (or a transcription error) becomes a fact memorized wrong for months. The editing pass is not optional.
- Using a comma as the separator. Answers contain commas and break the CSV columns. Semicolon, always.
- Generating cards for everything. 80 cards per class turn Anki into a daily punishment and bury what matters. 20-40 per hour of class, with judgment.
- Starting from bad auto-captions. If the transcript confuses the technical terms, the cards inherit the errors. Start from a quality transcript.
- Accumulating without reviewing. A 500-card deck without daily reviews isn't studying, it's collecting. Spaced repetition only works with consistency.
- Replacing understanding with memorization. Flashcards lock in facts; understanding the why requires the notes and the class. Combine them with a good class summary for both.
Frequently asked questions
How do you create Anki flashcards from a class with AI?
In three steps: get the class transcript (by recording the class and transcribing it with a tool like VOCAP), paste the text into Claude or ChatGPT with a prompt asking for question;answer pairs in CSV format with a semicolon separator, and import the file into Anki via File > Import, mapping front and back. A one-hour class turns into a 20-40 card deck in a few minutes.
What format should the CSV have to import it into Anki?
Plain text with one card per line and a semicolon as the separator between front and back (the safest option, because commas appear inside the sentences themselves). When importing, Anki detects the separator and lets you map each column to a field. For cloze cards, ask for the text with the {{c1::answer}} syntax and choose the Cloze note type when importing.
How many flashcards should I generate per hour of class?
Between 20 and 40 for dense subjects. Fewer than 15 leaves concepts out; more than 60 means you are turning filler into cards. The key is judgment: one card per atomic fact, prioritizing what the professor emphasized and discarding the anecdotes.
Do AI-generated flashcards work as well as handmade ones?
Spaced repetition works the same; what you lose is part of the elaboration benefit (making the card is also studying). The solution is to review and edit the generated deck before studying it: correcting, rephrasing in your own words and deleting the trivial cards recovers most of that benefit in a fraction of the time.
Is it better to use basic or cloze (fill-in-the-gap) cards for classes?
Basic cards (question/answer) for definitions, concepts and exam-style questions; cloze (fill in the gap) for formulas, enumerations, dates and literal phrases. For a typical class the optimal approach is to mix both formats, asking the AI for them in the same pass in separate blocks.
Can I create flashcards from an in-person class I recorded with my phone?
Yes. All you need is the audio: record the class with your phone, transcribe it with a quality engine like VOCAP's and use that transcript as the source. The only condition is that the transcript must be good: a badly transcribed technical term ends up as an incorrect card you will memorize wrong.