Paste flashcards as JSON lines or CSV (for example, from a ChatGPT or Claude chat), add images, and download an .apkg deck for Anki. Basic, reversed and cloze cards. Built in your browser; nothing is uploaded.
JSON lines: one object per line with front, back, tags (list or space-separated), image (filename or list), extra, and type (basic, reversed, cloze). Cloze notes use text with {{c1::...}} markers. A JSON array of the same objects also works; code fences are ignored.
CSV / TSV: comma, tab or semicolon separated; quoted fields may contain line breaks. Map each column below. A front containing {{c1::...}} becomes a cloze note.
HTML: fields with tags are kept as HTML; plain text is escaped and line breaks become <br>. Images are matched by filename from <img src="x.png"> or the image column.
Make Anki flashcards about: [TOPIC OR PASTED NOTES]
Output only JSON Lines inside one code block: one JSON object per line, no commas between lines, no surrounding array, nothing else inside the block. Use these shapes:
Basic question/answer:
{"front": "Which organelle makes most of a cell's ATP?", "back": "The mitochondrion", "tags": ["biology"]}
Both directions (vocabulary, translations; Anki makes a card each way):
{"type": "reversed", "front": "el perro", "back": "the dog", "tags": ["spanish"]}
Cloze deletion (fill in the blank; each distinct c1, c2, ... becomes its own card; reuse a number to hide several parts on one card):
{"text": "{{c1::Glycolysis}} takes place in the {{c2::cytoplasm}}.", "extra": "Optional note shown on the back", "tags": ["biochemistry"]}
Rules:
- One fact per card. Keep answers short enough to recall in a few seconds.
- Use cloze for definitions, sentences, lists and processes; basic for questions; reversed only when both directions are worth learning.
- Tags are lowercase with no spaces (use_underscores).
- Fields may use simple HTML: <b>, <i>, <br>, <ul><li>.
- If a card needs a picture, add "image": "filename.png" and list the image files I should supply after the code block.Use :: for subdecks, e.g. Biology::Unit 1.
Rows with cloze markers are always Cloze.
Matched by filename (case-insensitive). Only referenced files go into the deck.
| Line | Type | Front / Text | Back / Extra | Tags | Cards |
|---|---|---|---|---|---|
| 1 | Basic | Which organelle makes most of a cell's ATP? | The mitochondrion | biology | 1 |
| 2 | Reversed | el perro | the dog | spanish | 2 |
| 3 | Reversed | la biblioteca | the library | spanish | 2 |
| 4 | Cloze | {{c1::Glycolysis}} takes place in the {{c2::cytoplasm}}. | Net yield: 2 ATP per glucose | biochemistry | 2 |
| 5 | Cloze | Water boils at {{c1::100}} °C at sea level. | chemistry | 1 | |
| 6 | Basic | A right triangle has legs a and b. What is the hypotenuse c? | c = √(a² + b²) / [image triangle.svg] | math | 1 |
Re-importing an edited deck updates notes that keep the same front instead of adding duplicates. Note types are named “Basic (Deck Builder)”, “Basic (and reversed card) (Deck Builder)” and “Cloze (Deck Builder)” with Anki’s standard templates.