← Tools

Anki Deck Builder

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.

1. Cards

JSON · 6 rows
Accepted formats

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.

Show the chatbot prompt
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.

2. Deck

Use :: for subdecks, e.g. Biology::Unit 1.

Note type when a row has none

Rows with cloze markers are always Cloze.

Put image-column images on

3. Images

Matched by filename (case-insensitive). Only referenced files go into the deck.

  • triangle.svg · used

4. Preview

6 notes → 9 cards (2 basic, 2 reversed, 2 cloze)
LineTypeFront / TextBack / ExtraTagsCards
1BasicWhich organelle makes most of a cell's ATP?The mitochondrionbiology1
2Reversedel perrothe dogspanish2
3Reversedla bibliotecathe libraryspanish2
4Cloze{{c1::Glycolysis}} takes place in the {{c2::cytoplasm}}.Net yield: 2 ATP per glucosebiochemistry2
5ClozeWater boils at {{c1::100}} °C at sea level.chemistry1
6BasicA right triangle has legs a and b. What is the hypotenuse c?c = √(a² + b²) / [image triangle.svg]math1
6 notes, 9 cards, 1 image

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.