Study
Lecture & PDF to Anki prompts
Ten copy-ready LLM prompts to turn lectures, PDFs, slides or notes into Anki-ready flashcards. Includes TSV/CSV export, cloze, images, and source checks.
The prompts
Copy a prompt, then replace the parts in [BRACKETS] with your own details.
Rules: 1) Use ONLY the provided text. 2) Make exactly 10 cloze cards. 3) One atomic fact per card. 4) If fact not found write SOURCE_NOT_FOUND in Source field. 5) Output as TSV with fields Front[TAB]Back[TAB]Tags[TAB]Source.
Source: [PASTE_TEXT_OR_TRANSCRIPT_HERE]
Target level: [TARGET_LEVEL, e.g., 1st-year undergrad]
Card style: Cloze. Use {{c1::term}} format inside a full sentence. Max 25 words per Front and 40 words per Back. Tags: [TAGS].
Example rows:
Front[TAB]Back[TAB]Tags[TAB]Source
"The Krebs cycle produces {{c1::ATP}} from acetyl-CoA."[TAB]"ATP is produced via substrate-level phosphorylation and oxidative phosphorylation in mitochondria."[TAB]"biochem;krebscycle"[TAB]"Slide 12: line 3"
Now generate the 10 TSV rows only. Tip: Paste a focused excerpt (200 to 800 words) to keep cards high-yield.
Rules: 1) Use ONLY the provided PDF text. 2) Produce one TSV row per card: Front[TAB]Back[TAB]Tags[TAB]Source(Page/Slide). 3) Max [MAX_CARDS_PER_SLIDE] cards per slide/page. 4) One idea per card. 5) If answer is not in source put SOURCE_NOT_FOUND. Source: [PASTE_EXTRACTED_TEXT_WITH_PAGE_NUMBERS] Target level: [TARGET_LEVEL] Card types: Mix of basic question-answer and cloze. Include Tag for page/slide like page12. Include a final mapping table: CardIndex -> Exact source excerpt (one line). Output only TSV rows, then the mapping after a blank line.
Tip: Split large PDFs by chapter and run the prompt per chapter to avoid token limits.
Rules: 1) Use ONLY provided text. 2) Extract up to [MAX_WORDS] target words. 3) Output TSV: Word[TAB]Definition[TAB]Example sentence[TAB]AudioPlaceholder[TAB]Source(Page). 4) If definition not in text write SOURCE_NOT_FOUND. Source: [PASTE_TEXT_OR_TRANSCRIPT] Target learner: [CEFR_LEVEL or exam]. Example row: "anastomosis"[TAB]"a surgical connection between vessels"[TAB]"The surgeon created an anastomosis to restore blood flow."[TAB]"audio_anastomosis.mp3"[TAB]"Slide 5" Generate the TSV rows only.
Tip: Provide the target language and whether you want simple or technical definitions.
Rules: 1) Use ONLY the provided image filenames and the caption text. 2) For each diagram, output one or more occlusion cards in TSV: Front[TAB]Back[TAB]Tags[TAB]ImagePlaceholder[TAB]Source. 3) For each occlusion give a short label and the area name. 4) Do not invent labels. Images: [IMAGE_FILENAMES with captions and slide numbers] Card style: Image occlusion cloze. Example row: "Label the shaded part"[TAB]"Left atrium"[TAB]"cardiology;image"[TAB]"heart_slide12.png:areaA"[TAB]"Slide 12" If a label cannot be found write SOURCE_NOT_FOUND.
Tip: Upload images with clear file names and include the slide caption text with file names.
Rules: 1) Use ONLY the provided text and formula images. 2) Convert formulas to LaTeX and put deletions around single symbols or terms. 3) Output TSV: Front[TAB]Back[TAB]Tags[TAB]Source.
Source: [PASTE_TEXT_WITH_EQUATIONS]
Example front: "Ohm's law: V = {{c1::IR}}" Back: "V is voltage, I current, R resistance." Tags: physics;ohm Slide 3.
Generate TSV rows only. Tip: Provide original equation images if OCR is unreliable and request LaTeX delimiters.
Rules: 1) Use ONLY provided text. 2) Produce TSV rows: Front[TAB]Back[TAB]Tags[TAB]Source. 3) After TSV, output a verification table: CardIndex[TAB]SourceExcerpt[TAB]SupportScore(0-2). 0 means not supported. Source: [PASTE_TEXT_OR_TRANSCRIPT_WITH_PAGINATION] Max cards: [MAX_TOTAL_CARDS] If evidence is missing write SOURCE_NOT_FOUND and use score 0.
Tip: Use this prompt to spot-check card reliability before bulk import.
Rules: 1) Use ONLY provided text. 2) Output CSV with columns: Front,Back,Tags,Source,MediaFiles. 3) MediaFiles is a semicolon separated list of file names to attach later. Source: [PASTE_TEXT_OR_TRANSCRIPT] Example row: "What is glomerular filtration rate?","The rate at which kidneys filter blood.","renal;definitions","Slide 8","kidney_diagram.png" Produce CSV text only.
Tip: If using commas in fields, ensure the model encloses fields in double quotes.
Rules: 1) USE ONLY the provided text. 2) If model must infer anything mark it SOURCE_NOT_FOUND. 3) Output TSV: Front[TAB]Back[TAB]Tags[TAB]Source. 4) Provide one-line source excerpt per card after TSV. Source: [PASTE_TEXT_WITH_PAGE_NUMBERS] Target: [TARGET_LEVEL] Generate TSV rows followed by excerpts.
Tip: This is the safest prompt; expect fewer cards but higher source fidelity.
Rules: 1) Convert each slide into up to [MAX_CARDS_PER_SLIDE] cards. 2) Prepend each Tag with slide number like slide05. 3) Output TSV rows and a short summary per slide listing omitted concepts. Slides: [PASTE_SLIDE_TEXT_WITH_NUMBERS] Card type: basic QA or cloze per slide. If slide lacks testable facts write NONE_FOR_SLIDE in Source. Now produce the TSV and the slide summaries.
Tip: Use when slides are noisy; the summary shows what the model skipped.
Answer first: use these prompts to get Anki-ready cards with slide or page citations and a one-line source excerpt for every card.
Why this pack helps
You get tested prompts that fix common failures: hallucinated facts, multi-idea cards, missing slide numbers, and bad export formats. The prompts follow patterns used by NoteMate, AnkiDecks and Scholarly, and by guides such as ia-to-anki. Each prompt requires the model to use only the text you provide and to mark missing info as SOURCE_NOT_FOUND.
How to use the prompts
Prepare inputs. For audio or video, make a transcript first. For slides or PDFs, include page or slide numbers beside each excerpt. Keep each prompt input under the model token limit or split by chapter.
Pick a prompt. Use quick cloze for fast review, full conversion for large PDFs, vocabulary for language lists, image occlusion for diagrams, or formula prompts for equations.
Import. Paste the model output into a TSV or CSV file with fields Front[TAB]Back[TAB]Tags[TAB]Source. Then import to Anki desktop or use a conversion script like genanki or an online service.
How to adapt the prompts
Adjust [MAX_CARDS_PER_SLIDE] to 1 to 6 depending on slide density. Request LaTeX delimiters for formulas, for example ( ... ) or $$ ... $$. For images include file names and captions. Ask the model to output image placeholders that match your file names.
Common mistakes to avoid
Do not trust cards without source excerpts. Use the proof-check prompt to map each card to an exact sentence or line number. Avoid over-clozing. Delete one fact per cloze. Always manually review a random 10 percent sample before study.
Sources and further reading
NoteMate lecture tool: https://note-mate.app/tools/lecture-to-flashcards AnkiDecks: https://ankidecks.ai/ Scholarly lecture tool: https://scholarly.so/tools/lecture-to-flashcards ia-to-anki guide: https://ia-to-anki.github.io/ Raskh (Gulf): https://raskh.app
Use FreeToolr pages for related tasks such as PDF splitting at PDF Tools and SEO batch export at SEO Tools.
Frequently asked questions
Will AI cards be accurate enough to study from without checking?
No. Treat AI-generated flashcards as drafts. Check a random 10 to 20 cards for factual accuracy and source support. For health or tax subjects treat outputs as estimates and verify with official sources such as PLOS or medRxiv summaries.
How many cards per slide should I allow?
Use 1 to 4 cards per slide as a starting point. For dense slides with multiple formulas, allow up to 6. Always aim for one testable idea per card to keep recall effective and to avoid unnecessary repetition.
What format should the model output for easy Anki import?
Ask for TSV with fields Front[TAB]Back[TAB]Tags[TAB]Source. You can also request CSV with quoted fields. Include a sample row in the prompt so the model follows the format exactly and requires image placeholders for media files.
How do I prevent hallucinations in generated cards?
Require the model to use ONLY the provided text and to mark missing facts as SOURCE_NOT_FOUND. Ask for a one-line excerpt per card showing the supporting sentence and run the proof-check prompt before bulk import.
Can I make image occlusion cards from diagrams?
Yes. Upload images and include captions and slide numbers. Ask the model to output occlusion card rows with image filename placeholders and area labels. Then attach the files during import or use an import script that maps filenames to media.
More in Study
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.