Anki Flashcards
Generate flashcards with AI from a topic, notes or a PDF, study them with spaced repetition (SM-2) and export to Anki.
My decks
Start in seconds
Sample decks (20 cards each)
—
Pick a deck to study.
—
✨ Generate flashcards with AI
Give a topic or your own material: the AI writes the cards, you review them and choose what goes into the deck.
Prefer your own ChatGPT, Claude or Gemini?
Copy the prompt, paste it in the chat, then paste the answer into ⋯ → Import.
Create a flashcard deck about: [YOUR TOPIC HERE]. Rules: 1. One card per line: Front<TAB>Back<TAB>tags 2. Between 20 and 50 cards, one idea per card 3. Front: short, direct question (max. 120 characters) 4. Back: concise answer (max. 200 characters) 5. Tags: lowercase keywords separated by spaces 6. No header, numbering or explanations — only the lines Example: What is the capital of Japan? Tokyo geography asia Who wrote Hamlet? William Shakespeare literature
+ New deck
Give it a name, then add cards by hand or with AI.
📂 Import cards
New decks are added without replacing the ones you have.
⬇ Export deck
⚙️ Deck settings
⌨️ Keyboard shortcuts
They work while studying.
| Space / Enter | Flip the card |
| 1 | Again — comes back this session and tomorrow |
| 2 3 4 | Hard · Good · Easy |
| Z | Undo the last grade |
📈 Progress
📅 Reviews over the next 14 days
What is spaced repetition?
Spaced repetition is a learning technique based on cognitive science: instead of studying the same material every day, you review cards at increasing intervals — right before you’re about to forget them. This dramatically reduces the total study time needed while achieving far higher long-term retention than traditional cramming.
Studies consistently show that spaced repetition produces retention rates above 90% with a fraction of the review time compared to massed practice.
Jump to: Generate flashcards with AI · The 4 answer buttons · SM-2 · How to use · Export to Anki · FAQ
Generate flashcards with AI
Writing good cards is the slowest part of spaced repetition. Click ✨ Generate with AI and pick a source:
| Source | Use it when | What the AI does |
|---|---|---|
| Topic | You are starting a subject from scratch (e.g. Krebs cycle, Spanish irregular verbs) | Writes cards with well-established, textbook-level facts |
| Text | You have a summary, notes or a book excerpt | Builds cards only from what is in your text — no invented facts |
| Lecture notes, exported slides or a paper | Extracts the PDF text in your browser and builds the cards from it |
Choose how many cards (10 to 40) and the card type: question & answer, cloze deletion or mixed. A preview appears in a few seconds: untick anything you don’t want, name the deck (or add to an existing one) and click Add. Everything stays editable in Cards.
How the cards are written:
- one fact per card (atomic cards are easier to remember and to grade);
- a short, unambiguous front — no yes/no questions;
- the direct answer first on the back, plus a short clarification only when it helps;
- 1 to 3 tags per card, so you can filter study sessions later.
Limits: AI generation needs a free account (2 generations a day); Premium is unlimited. Scanned PDFs (page images) contain no text, so copy the text or use Topic mode. Very long material is cut at the first 24,000 characters (about 10 pages) — for a whole textbook, generate chapter by chapter.
Always review. The AI gets textbook facts right the vast majority of the time but can slip on details. Unticking or fixing a card in the preview takes seconds and keeps you from memorizing a mistake.
Prefer your own ChatGPT, Claude or Gemini? The same window has a ready-made prompt to copy; paste the answer into ⋯ → Import → paste text.
The SM-2 Algorithm
This tool implements SM-2 (SuperMemo 2), the algorithm behind the original Anki Desktop application. Every card has two key parameters:
- Ease Factor (EF): starts at 2.5. Reflects how easy the card is for you. Higher EF → longer next interval.
- Interval: days until next review. Starts at 1 day, then grows based on your grades.
The 4 answer buttons
Like Anki, you answer with four buttons (or keys 1–4). Each maps to a grade on the SM-2 0–5 scale:
| Button | Key | SM-2 grade | Use it when | Next interval |
|---|---|---|---|---|
| Again | 1 | 1 | You forgot or got it wrong | Comes back later in this session and again tomorrow |
| Hard | 2 | 3 | Correct, but with real effort | SM-2 interval × 0.6 (never shorter than the previous one) |
| Good | 3 | 4 | Correct, with slight hesitation | SM-2 interval |
| Easy | 4 | 5 | Instant, effortless recall | SM-2 interval × 1.3; a new card jumps straight to 4 days |
In plain SM-2, Hard, Good and Easy all lead to the same next interval — the grade only changes the EF. So, like Anki, this tool also lets the button shorten or stretch the interval. Each button shows when the card will come back if you pick it.
Example — a card with a 6-day interval and EF 2.5 (SM-2 interval = 15 days): Hard → 9 days, Good → 15 days, Easy → 20 days, Again → tomorrow.
Grades 0 and 2 (both failures) still exist in older decks but no longer have their own button.
How the next interval is calculated
Any grade below 3 (the Again button) resets the card to the beginning (interval = 1 day, repetitions = 0). The Hard/Easy adjustment above is then applied on top of .
Ease Factor update
Where is your grade (0–5). Lower grades decrease EF, making future intervals shorter.
Response Time Integration
Beyond the grade, this tool also measures retrieval latency — the time from when the card front appears until you flip it. This time is incorporated into the SM-2 update to capture not just whether you remembered, but how quickly.
Speed tiers
| Response time | Modifier | Badge |
|---|---|---|
| < 3 seconds | +0.10 EF | ⚡ Fast |
| 3 – 8 seconds | 0.00 | ✅ Normal |
| 8 – 20 seconds | −0.10 EF | 🐢 Slow |
| > 20 seconds | −0.20 EF | 🔴 Very slow |
Full formula with speed modifier
Numeric example — grade 4 (Good), response time 2.5 s:
The interval of this review still uses the old EF (6 × 2.5 = 15 days); the new EF of 2.60 takes effect on the next one (15 × 2.60 = 39 days).
Exponential weighted moving average (EWM)
Response time is smoothed per card using EWM with :
This prevents a single unusually fast or slow response from distorting the card’s historical average.
Scheduling Algorithm
Cards in the Scheduled Review queue are sorted as follows:
- Overdue reviews first — cards you have studied before and that are now due, most overdue first
- Then new cards (never reviewed), up to the deck’s new cards per day limit
This ensures you always prioritize the cards you’re most at risk of forgetting.
Within a session, a card you mark Again is scheduled for tomorrow and goes back to the end of the current queue (marked ↻ Relearning) until you get it right. Those extra passes are practice only: SM-2 is updated once per card per session, on the first answer.
Statistics & Charts
Deck-level stats
Each deck displays six live stats:
| Stat | Description |
|---|---|
| Due | Cards whose review interval has expired today |
| New | Cards never reviewed |
| Learning | Cards reviewed at least once, interval < 21 days |
| Mature | Cards with interval ≥ 21 days |
| Retention | % of reviewed cards whose last answer was a pass (Hard, Good or Easy) |
| ⏱ Avg. time | Exponentially weighted average retrieval time |
Session stats
After each session the tool shows:
- Cards done and lapses relearned
- Session average retrieval time
- Current deck retention (scheduled mode only)
Charts
The Progress panel below the tool shows the interval distribution of the active deck (New, 1–3d, 4–7d, 8–21d, 22–60d, >60d), a 14-day review forecast and a 28-day activity heatmap.
The PDF report (⋯ → Export deck → Report / PDF) adds two more charts: average response time per card and the Ease Factor distribution.
How to Use
The screen has a command bar (✨ Generate with AI, + New deck and the ⋯ menu), a today summary (due, reviewed today, streak and retention) and three sections: Decks, Study and Cards. Import, export, settings and shortcuts open in windows from the ⋯ menu.
Decks
- My decks: every deck with its due count and a Study → button. Click a deck to make it active.
- To start: generate a deck with AI, import a file, or create an empty deck.
- Sample decks: add any of the 4 presets (Basic Math, Spanish Vocabulary, Human Anatomy, Programming Concepts) in one click.
Study
- Pick a deck and open Study to see the setup screen.
- Choose mode:
- Scheduled review — only due cards; SM-2 progress is saved.
- Free practice — any card in the deck; no SM-2 update.
- Filter by tag to study a subset of cards.
- Set the number of cards and whether to shuffle.
- Click ▶ Start.
- Read the front, then tap the card, click Show answer or press Space/Enter.
- Answer with Again, Hard, Good or Easy (keys 1–4). The speed badge appears after flipping.
- At the end, export your deck or start a new session.
Action buttons during study:
| Button | Action |
|---|---|
| ↩ Undo | Reverts the last grade (SM-2 + study log restored) |
| ☁ Bury | Skips the card until tomorrow without changing SM-2 |
| 🚫 Suspend | Removes the card from all queues indefinitely |
| ✏️ Edit | Edit front and back inline without leaving the session |
| ⏹ End | Ends the session and shows the summary |
Cards
- Add cards with front, back and tags (use
{{answer}}for cloze cards). - Search by front, back or tag.
- Each card shows its next review, interval, lapses and average response time.
- Badges show 🩸 Leech, 🚫 Suspended and ☁ Buried status.
- Edit (✏️), suspend (🚫) or delete (✕) any card — a deleted card can be restored from the notice that pops up.
- Deck settings, rename and delete are in the ⋯ menu.
Deck Settings
| Field | Default | Description |
|---|---|---|
| New cards per day | 20 | Max cards with 0 repetitions per scheduled session |
| Leech threshold | 4 | Number of incorrect answers to flag a card as 🩸 Leech |
Import & export (⋯ menu)
| Option | What it does |
|---|---|
| Import → file | .txt/.tsv from Anki Desktop, or a .json exported here (one deck or a full backup) |
| Import → paste text | One card per line: question<TAB>answer<TAB>tags, question ; answer or question :: answer |
| Export deck → TSV for Anki | File for Anki Desktop (File → Import) |
| Export deck → JSON | The deck with all SM-2 progress, to import here again |
| Export deck → Report / PDF | All cards with charts; opens the print dialog to save as PDF |
| Backup all decks | Every deck and its progress in a single JSON |
Importing never replaces what you have: each imported deck is added as a new deck.
Streak & Study History
After studying, the result panel shows a streak (consecutive days with at least one review) and a 28-day heatmap showing review frequency by day. Useful for tracking consistency.
Review Forecast
The 📅 Review forecast chart shows how many cards become due over the next 14 days based on current SM-2 intervals. Use it to plan longer or lighter sessions.
Cloze Cards
Use {{answer}} inside a card’s text to create fill-in-the-blank cards:
- Front:
The capital of France is {{Paris}}→ displaysThe capital of France is [...] - Back: highlights the answer in green —
Paris
Multiple {{...}} in the same card are all masked at once.
TSV File Format
#separator:tab
#html:false
Front text Back text tag1 tag2
What is REST? Architectural style for HTTP APIs using GET/POST/PUT/DELETE web api
- Separator: tab character (
\t) - First line:
#separator:tab - Second line:
#html:false - Columns: Front
\tBack\tTags (tags are space-separated) - Compatible with Anki Desktop’s File → Import dialog
Tips
- Keyboard shortcuts: Space/Enter to flip, 1–4 to answer (Again, Hard, Good, Easy), Z to undo.
- Daily habit: even 5–10 minutes of scheduled review is far more effective than long occasional sessions.
- Grade honestly: overrating yourself (always pressing Easy) will inflate intervals and hurt long-term retention.
- Free practice before an exam: use free practice mode to review any card without affecting your SM-2 schedule.
- Leeches are signals: if a card becomes a leech (🩸), rethink the question — it’s probably too vague or covers more than one concept.
- New cards per day: keep this at 10–20 to avoid overwhelming future review queues.
- Shared data: the PT (Portuguese) and EN versions of this tool share the same localStorage data — your decks appear in both.
Frequently Asked Questions
Does this tool work offline?
Studying does: all scheduling runs in the browser and your decks live in localStorage. Only Generate with AI needs a connection.
How do I make flashcards from a PDF? In ✨ Generate with AI, choose PDF, pick the file, the number of cards and the card type. The text is extracted in your browser and only that text is sent to the AI. Scanned PDFs (images) have no text — copy the content or use Topic mode.
Is the AI generator free? A free account gets 2 generations a day (up to 40 cards each). Premium is unlimited. Studying, importing and exporting have no limits.
Will my decks be lost if I clear browser storage? Yes. Download a backup regularly from ⋯ → Backup all decks to avoid data loss.
Can I import decks from Anki Desktop? Yes — use Anki Desktop’s File → Export → Notes in Plain Text (.txt) with the tab separator option. Import the resulting file here.
What is a “mature” card? A card whose interval is greater than 21 days. Mature cards indicate solid long-term learning.
What is the maximum interval? There is no hard cap. After many successful reviews a card can reach intervals of 6 months, 1 year or more.
Why does Easy sometimes increase EF by less than expected? The speed modifier applies on top of the grade modifier. An Easy answer with a very slow response (>20 s) has its EF reduced by 0.20, which partially offsets the grade bonus.
Is my data stored on a server?
Your decks and progress stay in your browser’s localStorage. When you use Generate with AI, only the topic or text you chose is sent to generate the cards — your decks are never uploaded.
Was this tool helpful?
Your feedback is anonymous and helps improve this and other UtiliBox tools.
Found an issue?