The method in five steps
- Copy a small piece of your notes. A few pages at a time. Long pastes are where content goes missing.
- Paste it with a strict prompt (below).
- Read the cards in the chat and ask for fixes before you export anything.
- Save the result as a plain text file, one card per line.
- 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
- Paste the cards into a text editor and save the file as cards.txt.
- In Anki, choose File → Import and select the file.
- Set the note type to Cloze and pick the deck.
- 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.
- 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
| Problem | What you see | Fix |
|---|---|---|
| Invented facts | A card your notes never said | Add "use only facts stated in the text" and trace a sample back to your notes |
| Dropped content | Whole sections with no cards | Work in smaller pieces and compare card count to page count |
| Broken format | Numbering, bullets or extra lines that break the import | Ask for "one card per line, nothing else" and check the file before importing |
| Bad blanks | A filler word is hidden, or several answers fit | Ask it to hide "the term a test would ask for", then fix by hand |
| Style drift | Card quality drops after a few batches | Start 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.
When a chat tool is the better choice
- Short, simple material. A vocabulary list or a page of definitions is easy to check by eye.
- Unusual card styles. You can describe exactly the format you want.
- Cards about something that isn't in a document, like a topic you want to learn from scratch. There is no source to check against anyway, so verify the facts elsewhere.
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.