apkg-tools 0.1.0

apkg-tools reads and writes Anki .apkg and .colpkg packages and converts them to and from CSV, in the browser and in Node.js, with no Anki install; files never leave the device. It opens anki2, anki21 and zstd-compressed anki21b collections (Anki's current default export) and returns notes, cards, decks, note types and media. It exports CSV with a spreadsheet preset or an Anki round-trip preset, parses RFC 4180 CSV including Anki #separator/#columns headers and Quizlet exports, and builds new .apkg decks from CSV. Written in TypeScript, ESM-only, Node.js 18 or newer. It is the conversion core behind GuruOwl's free in-browser Anki tools.

Tags anki apkg flashcards csv typescript spaced-repetition
License MITL
State initial

Recent Releases

0.1.011 Nov 2026 08:05 major feature: First public release: read and write .apkg and .colpkg packages, export CSV, import CSV and Quizlet exports, and build .apkg decks from CSV.