APKG Importer

AnkiWeb addon 1033347215

Imports multiple .apkg files from a folder into one deck and note type, maps fields, optionally archives files, and automatically repairs image and audio references.
AI-generated summary; may contain mistakes.

importnote-managementbackup-maintenance

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2025-12-17
Anki versions
2.1.1~
License
Not found (this does not mean that the addon has no license)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2025-12-17 (319 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2025-12-17
History across monthly snapshots

Loading…

Similar addons

Multi Deck Importer

Batch-imports multiple .apkg deck packages from files or folders, with optional recursive scanning, zip support, automatic backups, collection-package skipping, progress reporting, and configurable Anki import options.

importbackup-maintenance

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 Anki 25.09.2~ Updated 2026-05-07
MultiDeckImporter has 1 fork β†’

Imports multiple .apkg decks from a chosen folder at once, preserving the folder structure as nested parent decks; flat-structure importing is planned for a future version.

importdeck-management

23 votes 45% approval πŸ‘ 15 Β· πŸ‘Ž 8 ⭐ 1 Anki 2.1.30~ Updated 2020-08-20
Multiple APKG export and import

Exports selected Anki decks and subdecks as individual .apkg files to a chosen folder, and imports multiple .apkg files or folders, including empty decks.

importexportdeck-management

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 Anki 25.02~ Updated 2025-05-26

Description

APKG Importer

Import multiple .apkg files into one deck and note type (e.g. Lapis), with automatic media repair.

This add-on helps you quickly import one or more .apkg files into a single deck and single note type in your Anki collection. It is especially useful if you regularly export or download .apkg files (for example from tools like Migaku) and want everything consolidated into one consistent setup, such as a Lapis-style note type.

After importing, the add-on automatically runs a media repair step on the target deck to normalize image and audio references so your media works correctly.

What this add-on does

  • Imports all .apkg files from a selected folder in one step
  • Sends all imported notes into one deck and one note type
  • Supports flexible field mapping from source fields to your target model
  • Automatically repairs image and audio references after importing
  • Designed to work well with Lapis-style note types, but works with others too

Main features

  • One-click import of all .apkg files in a folder
  • Choose the target deck and target note type
  • Flexible field mapping (Word β†’ Expression, Sentence β†’ Example, etc.)
  • Handles images and audio automatically
  • Fixes <img> and [sound:...] references after import
  • Infers correct file extensions for extensionless media (for example .m4a, .webp, .jpg) based on actual file content
  • Runs Repair media references automatically after every import started from the add-on
  • Optional archiving of successfully imported .apkg files into an apkg_archive folder

How to use

  1. Install the add-on and restart Anki
  2. Open Tools β†’ APKG Importer β†’ Settings…
  3. Set:
    • Source folder (where your .apkg files are stored)
    • Target deck (where imported notes should go)
    • Target note type (for example Lapis)
    • (Optional) Enable archiving of imported .apkg files
  4. (Optional) Adjust Field mapping…
  5. Place one or more .apkg files in the source folder
  6. Run Tools β†’ APKG Importer β†’ Import .apkg
  7. The add-on imports the decks, archives them if enabled, repairs media, and then shows a summary

Extra tools

  • Check… – preview what will be imported (source folder, file count, deck and note type status, archive options)
  • Repair media references – fix media in the target deck without importing anything

Notes

  • Media repair always runs automatically after imports started from Import .apkg; there is no longer an option to disable this
  • Extensionless media coming from source .apkg files is automatically detected and saved with a suitable file extension
  • Settings and field mapping changes apply immediately (restart Anki only after updating the add-on files themselves)

Field order (important for Migaku exports)

By default, the importer assumes a Migaku-style logical field order:

Word β†’ Sentence β†’ Translated Sentence β†’ Definitions β†’ Example Sentences β†’
Notes β†’ Images β†’ Sentence Audio β†’ Word Audio

The importer uses the position of fields rather than their names. The first source field is treated as β€œWord”, the second as β€œSentence”, and so on.

If your .apkg files use a different order, you can:

  • Adjust the source field order in the add-on config (Tools β†’ Add-ons β†’ APKG Importer β†’ Config)
  • Or fine-tune mappings using the Field mapping… button in Settings

For advanced usage and troubleshooting, see the README included with the add-on.

Note: This add-on is not affiliated with Migaku. It is simply designed to work well with common Migaku-to-Anki workflows and exports.

Support

If you find this add-on useful and would like to support development:

Buy Me a Coffee at ko-fi.com