How to open it, step by step
- Go to ankitti.com and choose Import an Anki deck.
- Select your
.apkgfile. It works in Chrome, Edge, Firefox and Safari, including on iPhone and Android. - Ankitti unpacks the deck on your device and adds it to your decks.
- Open the deck and press Space to start reviewing.
What is inside an .apkg file
An .apkg is a ZIP archive with a small database inside. Rename one to .zip and you will see:
- The collection database. A SQLite file called
collection.anki2in older packages,collection.anki21from Anki 2.1, orcollection.anki21bin packages from Anki 2.1.50 onwards, which is compressed with Zstandard. It holds the notes (your card text), the cards and their scheduling. - A file called
mediathat maps numbered files to their real names. - The numbered media files themselves: images and sounds used on the cards.
Ankitti reads all three database versions, so packages from old and new Anki releases both open.
What comes across
| Part of the deck | Imported |
|---|---|
| Front and back text | Yes |
| Cloze deletions | Yes |
| Tags | Yes |
| Interval, ease, reviews and lapses | Yes, when exported with scheduling |
| Images and audio | Not yet |
How to export an .apkg from Anki
- Open Anki on your computer and choose File → Export…
- Set the format to Anki Deck Package (*.apkg) and pick the deck.
- Tick Include scheduling information if you want to keep your progress.
- Press Export and save the file somewhere easy to find.
Shared decks from AnkiWeb download as .apkg files already, so you can import them straight away.
Other formats
No .apkg? Ankitti also imports .csv and .tsv files with the front in the first column and the back in the second, and .json exports. A spreadsheet saved as CSV is often the quickest way to turn a vocabulary list into a deck.
If the file will not open
- It ends in .colpkg. That is a whole-collection backup. In Anki, export the deck you want as an .apkg instead.
- It says the archive is damaged. The download probably stopped early. Download or export it again.
- The cards look like code. Some decks use heavy custom templates. The text still imports; styling from the template does not.
New to flashcards? Start with what spaced repetition is, or read how Ankitti compares to Anki.
Questions
- Can I open an .apkg file without Anki?
- Yes. Ankitti opens .apkg files in any modern browser, on a computer or a phone, without installing anything.
- Is my deck uploaded to read it?
- No. The .apkg is unpacked inside your browser using WebAssembly. Nothing has to be uploaded to read the file.
- Can I open an .apkg file on an iPhone?
- Yes. Open ankitti.com in Safari, choose Import and pick the file from the Files app.
- Can I edit the cards after importing?
- Yes. Every imported card can be edited, tagged or deleted in the card browser.