anki.info

Guides

Import, export and back up your Anki cards

Share a deck as .apkg, move your whole collection as .colpkg, and import spreadsheets as CSV. Anki also makes automatic backups you can restore from.

Anki has three file types you’ll meet, plus automatic backups.

File Contains Use it to
.apkg (deck package) One or more decks, their media, optionally your review history Share a deck, or import one someone shared
.colpkg (collection package) Your entire collection: every deck, all media and history Move everything to a new computer, or keep a full backup
.csv / .txt Plain text, one note per line Turn a spreadsheet or word list into cards

Importing

Double-click the file, or use File, Import in Anki. For deck packages, keep Import any deck presets ticked so the deck’s settings come in too. See importing a deck for phones.

Be careful with .colpkg files: importing one replaces your whole collection. Only do this when that’s what you want.

From a spreadsheet

  1. Save your sheet as CSV, with one column per field (for example, Word and Meaning).
  2. In Anki, File, Import, choose the file.
  3. Pick the note type and deck, and match each column to a field.
  4. Click Import.

Exporting

Choose File, Export, then the format:

Backups

Anki backs up your collection automatically while you use it, and AnkiWeb sync gives you an online copy too. You can also make one on demand with File, Create Backup.

To restore: File, Switch Profile, Open Backup, then choose a date. This replaces your current collection with that backup, so if you sync, choose to upload afterwards so your other devices get the restored version.

Before big changes (a new add-on, mass edits, switching to FSRS with rescheduling), make a backup first. It takes seconds.

Last updated