Tutorials · Beginner How to create flashcards for studying with AI Learn to generate study flashcards with ChatGPT, Claude or NotebookLM: paste your text and get ready-to-memorize cards. Free, easy and much faster than making them by hand.
Making flashcards by hand can take hours. With AI you can generate dozens of study cards in minutes: just paste your notes or upload the PDF and ask for questions and answers. In this tutorial you’ll learn how to create flashcards with ChatGPT, Claude and NotebookLM, and how to bring them to Anki to study with the spaced repetition method.
Tap each step to open it and follow it at your own pace.
Before you start: you need your study material in digital format: a PDF, your notes in a text document, or simply text copied from your book or slides. All the main tools in this tutorial are free.
1 Prepare your study material
AI generates better flashcards when the text is well organized. Before starting:
- Choose the right unit: don’t try to process an entire book at once. Work by chapter, topic or week of class. Flashcards from a small, coherent block are more useful.
- Clean the text if needed: if you copied text from a PDF it may have odd line breaks or page numbers in the middle. Delete those before pasting.
- Formats that work well:
- Text copied from notes, slides or a book (paste it directly in the chat)
- PDF files (for NotebookLM or ChatGPT with file upload)
- Google Docs or Word documents (copy the content and paste it)
- Decide what type of card you want:
- Direct question / answer (e.g. “What is mitosis?”)
- Fill in the blank (e.g. “The cell divides through the process of ___”)
- Term / definition (e.g. “Mitosis: process of cell division…”)
You can mix formats, but start with just one so it’s easier to import to Anki.
2 Generate flashcards with ChatGPT or Claude
This is the fastest way to get started. It works with either one (ChatGPT at https://chatgpt.com or Claude at https://claude.ai).
- Open a new conversation.
- Paste your study text in the chat.
- Write your request right after the text. Use specific prompts for better results:
For question/answer cards:
From the text above, create 20 study flashcards.
Format: Question | Answer
One per line. No numbering.
For term/definition cards:
From the text above, extract the key concepts and their
definitions in this format:
Term | Definition
One per line. Maximum 15 cards.
For fill in the blank:
Convert the main ideas from the text into sentences
with a blank space to fill in:
Incomplete sentence | Correct answer
One per line.
- The AI returns the list. Review it: correct any errors before using it to study.
Free plan: both ChatGPT and Claude have limits on their free version. If you hit the limit, wait a few hours or use the other tool. For continuous generation without limits, ChatGPT Plus or Claude Pro cost $20/mo. Confirm on the official page.
3 Create flashcards from a PDF with NotebookLM
NotebookLM (by Google) is free and works directly with your documents: PDFs, Google Docs, web pages or text files. It’s especially good when the study material is long or technical.
- Go to https://notebooklm.google.com and sign in with your Google account.
- Create a new Notebook.
- Upload your sources: click ”+” and select the PDF, Google Doc or URL you want to use.
- Once NotebookLM processes the document, type in the notebook chat:
Create 25 study flashcards from this document.
Format: Question | Answer
Focus on the most important concepts.
- NotebookLM generates the cards based on your document. Copy the list.
NotebookLM advantage: answers cite the original document, so if a card seems incorrect you can verify it in the source text with one click.
NotebookLM is 100% free. Learn more about using it to organize all your study material in the tutorial How to create your second brain with NotebookLM.
4 Import your flashcards to Anki
Anki is the most powerful spaced repetition tool for long-term memorization. It’s free on desktop, web and Android.
Step A: Export the cards as CSV
Go back to the ChatGPT or Claude chat and ask:
Export the previous flashcards as CSV text:
first column Question, second column Answer,
separated by semicolon (;). No headers.
Copy the result and paste it into a text file (Notepad or TextEdit). Save it with a .txt extension.
Step B: Import in Anki
- Download and install Anki at https://apps.ankiweb.net (free on Windows, Mac and Linux).
- Open Anki and go to File → Import.
- Select the
.txt file you saved.
- In the import screen:
- “Note type” → Basic
- Field separator → semicolon (;)
- Make sure “Front” and “Back” fields are mapped to the correct columns
- Click Import. The cards appear in your deck.
- Click Study Now and begin.
AnkiMobile (iPhone) has a one-time cost of $24.99. On Android, AnkiDroid is free. To study from a browser, https://ankiweb.net is free.
Shortcut: study directly in Quizlet
If you don’t want to import files and prefer to study directly on the platform, Quizlet is the fastest alternative.
- Go to https://quizlet.com and create an account (free).
- Click “Create” to start a new flashcard set.
- Quizlet Plus ($35.99/year) has an AI feature that automatically generates flashcards from text: type or paste the material and the cards are created on their own.
- With the free plan, you can create cards manually by copying and pasting the ones ChatGPT generated.
- Use the built-in study modes (Learn, Write, Test) directly on the platform.
When to choose Quizlet over Anki:
- You want to start studying today without configuring anything
- You prefer to study from your phone without installing additional apps
- You want to share the card set with other classmates
When to choose Anki:
- You need to memorize long-term (license exams, languages, medicine)
- You want the most refined spaced repetition algorithm
- You have many decks to sync across devices
To learn more comprehensive study techniques with AI, visit the tutorial How to study for exams with artificial intelligence.
If something goes wrong
| Problem | Fix |
|---|
| ChatGPT generates very few cards | Ask for a specific number: “Create exactly 30 flashcards” | | Answers seem made up or incorrect | Check the source text; AI can hallucinate on specific data, correct them before studying | | Anki doesn’t recognize the CSV file | Make sure to save as .txt and that the separator matches what you set in the import screen | | Cards in Anki appear flipped (question and answer reversed) | In Anki’s import screen, swap the “Front” and “Back” fields | | NotebookLM takes a long time to process the PDF | PDFs over 200 pages may take several minutes; split the material into smaller files |
Frequently asked questions What are flashcards and why do they work for studying? Flashcards are question-and-answer cards that activate active recall: instead of passively re-reading, your brain has to retrieve the information. This method is proven to improve long-term retention compared to just reading or highlighting. Can I create flashcards from a PDF with AI? Yes. With NotebookLM you upload the PDF directly and ask it to generate questions and answers. With ChatGPT or Claude, you can paste the PDF text (copy and paste a few pages at a time) and ask for the flashcards. Are AI-generated flashcards reliable? Generally yes, but always review them before studying. AI can make mistakes on very specific data (dates, proper names, formulas). Use them as a starting point and correct what's not accurate. Can I import ChatGPT flashcards to Anki? Yes. Ask ChatGPT to export the flashcards as a CSV (two columns: question and answer, separated by comma or semicolon). Then in Anki go to File → Import and select that CSV. The process takes less than 5 minutes. What's the difference between using NotebookLM and ChatGPT for flashcards? NotebookLM works with your original documents (PDFs, notes, web pages) and stays faithful to those sources. ChatGPT uses its general knowledge, so it's better for topics already in its training. For course content or your own notes, NotebookLM is more accurate. |