Anki add-on: Stats & Review Log Exporter

Export a rich, machine-readable snapshot of your entire collection to a single JSON file — everything you need to analyse your learning outside Anki (spreadsheets, notebooks, scripts, dashboards). Unlike a plain note-text export (fields only) or the built-in Stats screen (graphics only), this gives you deck aggregates + per-card scheduling data + the complete review log in one structured file. Usage Tools → 📊 Export Stats & Review Log (JSON) A settings window opens — choose what to include. Pick where to save . A summary dashboard confirms the export. What it exports meta — collection & export metadata (Anki version, scheduler, FSRS status, today reference day). summary — collection-wide totals: cards, notes, reviews, retention (overall / young / mature), average time per review, total time, due today, new remaining, top decks by due. decks[] — every deck (leaf decks and parent roll-ups): counts by state (new / learning / young / mature / suspended / buried), reviews, time spent, lapses, average interval & ease, true retention, and a due forecast (overdue / today / next 7 / next 30 / later). cards[] — per card: type, queue, due, interval, ease, reps, lapses, leech flag, first/last review, and — when FSRS is on — stability, difficulty, desired retention and computed retrievability . revlog[] — the complete review history: timestamp, rating, interval, time spent and type, one entry per review. Options Include or exclude the per-card array and the full review log (to control file size). Optionally include note field text, with an HTML-stripping option. Off by default. Retention & time are honest Retention and time are computed from the full review history , independent of whether the reviewed card still exists — so they stay correct even if you regularly delete and rebuild decks. Reviews on deleted cards are reported separately. Privacy & safety Read-only — the add-on only runs SELECT queries and never modifies your collection. Note field contents are not exported unless you explicitly enable it. Interface available in English and German (Tools → Export Language). Open source, MIT licensed .