AI
How to make flashcards with ChatGPT, with prompts that work
ChatGPT will write flashcards from anything you paste into it, in under a minute, for free. Whether those cards are worth studying depends almost entirely on what you give it and how you ask. Here's a prompt that works, how to get the cards into an app that schedules them, and what to check before you trust them.
What ChatGPT is good and bad at here
It's good at the tedious part: reading a page of notes and turning each idea into a question. It's quick, it follows instructions about format, and it can rewrite a clumsy card when you ask.
It's weak in three places. It can state things your notes don't say, in the same confident voice as everything else. Left alone, it writes shallow cards that blank out a word. And it forgets: the chat doesn't know which cards you got wrong last Tuesday, so it can't decide what you should review today.
The method below is built around those three weaknesses.
Step 1: give it your material
Paste the text of one lecture or one chapter section, or upload the file if your plan allows it. Keep it to one lecture at a time: with very long inputs, cards from the middle of the document get thinner. If your slides are mostly pictures, paste your own notes on them as well, since the words on the slide may not carry the idea.
Don't ask for “flashcards on the cardiac cycle”. That gets you an average of everything written on the subject, not what your lecturer taught and will examine.
Step 2: use a prompt that asks for good cards
Copy this, and paste your material where it says.
- “You are helping me study for a university exam. Below are my lecture notes. Write flashcards using only these notes. Do not add facts from anywhere else. If the notes are unclear on a point, skip it.”
- “Rules: one idea per card. Each question must be impossible to answer without knowing the idea; never blank out a word in a sentence. Prefer why, how, compare and what-happens-if questions over what-is. Keep each answer under 25 words.”
- “Cover the most important ideas first. For the five most important ideas, write a second card from a different angle.”
- “Output one card per line as: question, a tab, answer, a tab, the exact sentence from my notes that supports the answer. No numbering, no headings, no extra text.”
- “My notes: [paste here]”
The third column is the important one. Asking for the supporting sentence makes it harder for an invented fact to slip through, and gives you something to check each card against.
Useful follow-ups
- “Cards 4, 9 and 12 can be answered from the question's wording. Rewrite them.”
- “Which ideas in my notes have no card yet? List them, then write cards for them.”
- “Write three cards that ask me to tell apart the two concepts in these notes that are easiest to confuse.”
- “Write two short case questions that make me apply the main rule to new facts.”
Step 3: check before you study
Read every card once against its supporting sentence. You're looking for three things: an answer the sentence doesn't actually support, a number or name that changed on the way, and a question so vague that several answers fit. Delete or fix those. It takes a few minutes per lecture and it's the difference between a deck you can trust and one you can't.
Also delete what you already know cold. A smaller deck you'll review beats a complete one you won't. How to make flashcards has the full rules for a good card.
Step 4: move the cards into a flashcard app
Cards in a chat window do nothing for your memory. What makes flashcards work is recalling each answer, again and again, at widening intervals, and that needs an app that keeps a schedule. See spaced repetition.
Into Anki
- Copy ChatGPT's output into a plain text editor and save it as a .txt file in UTF-8.
- In Anki, choose File › Import and pick the file.
- Anki detects the tab as the separator. Map the first column to Front and the second to Back. Map the third to a field of its own, or leave it out.
- Pick the deck and import.
Anki's manual notes that the file must be UTF-8 for accents and non-Latin scripts to survive, and that by default a line whose first field matches an existing note updates that note, which is handy when you regenerate a card.
Into FlashCardz
Save the same output as a text or CSV file and import it into a course: you choose which column is the question and which the answer. It's free, and the cards are scheduled with FSRS from the first review.
Where this method runs out
- Every lecture is a round of paste, prompt, check, save and import. For one course that's fine; for six it becomes a chore.
- Figures don't come along. A card about a diagram arrives as text with no diagram.
- The link to the page is lost. Weeks later, when a card looks wrong, you're searching your slides by hand.
- Nothing learns from your reviews. If you keep confusing two drugs, the chat that wrote the cards never finds out.
Tools built for this remove those steps. FlashCardz reads your files itself, slides and scans included, quotes the line behind every card and checks the card against it, keeps the page one tap away, and on Plus writes new cards overnight for what you missed. The Free plan includes a first set of AI cards to try it. We compare the options in the best AI flashcard makers.
If you're happy with the manual method, keep it. A checked deck in Anki, reviewed daily, is a perfectly good way to study.
Is this allowed?
Making flashcards from your own notes to test yourself is studying, not submitting work, and university AI rules are generally about what you hand in. Two cautions: check your university's policy if you're unsure, and think before uploading material you don't have the right to share, such as a lecturer's unpublished slides where the course forbids it, or anything containing other people's personal data. How to study with AI goes into this.
Questions
Can ChatGPT make flashcards?
Yes. Paste your notes or upload a file and ask for question-and-answer cards. Ask for tab-separated lines so you can import them into a flashcard app.
What is the best ChatGPT prompt for flashcards?
One that limits it to your notes, asks for one idea per card, bans fill-in-the-blank questions, and asks for the supporting sentence beside each answer. The full prompt is above.
How do I get ChatGPT flashcards into Anki?
Ask for one card per line with a tab between question and answer, save the output as a UTF-8 text file, and use File › Import in Anki.
Can ChatGPT make flashcards from a PDF?
If your plan lets you upload files, yes, though slides that are mostly images and scanned pages often come out thin. Check the cards against the document.
Are ChatGPT flashcards accurate?
Mostly, when they're made from your own text, but not always. Models can state things the source doesn't say, so check each card against the sentence it's based on.
Sources
- Anki Manual. Importing: text files. docs.ankiweb.net/importing/text-files.html
- Ji, Z., Lee, N., Frieske, R., et al. (2023). Survey of hallucination in natural language generation. ACM Computing Surveys, 55(12), 1–38. doi.org/10.1145/3571730
- Roediger, H. L., & Karpicke, J. D. (2006). Test-enhanced learning: Taking memory tests improves long-term retention. Psychological Science, 17(3), 249–255. doi.org/10.1111/j.1467-9280.2006.01693.x
- Dunlosky, J., Rawson, K. A., Marsh, E. J., Nathan, M. J., & Willingham, D. T. (2013). Improving students' learning with effective learning techniques. Psychological Science in the Public Interest, 14(1), 4–58. doi.org/10.1177/1529100612453266
We check every number in our articles against the work it comes from. Spotted a mistake? Write to support.flashcardz@gmail.com and we'll correct it.