Skip to content
ApkgBridge

Get the cards, text and media files out of an Anki .apkg

Anki’s .apkg deck files keep their pictures and sounds inside a ZIP as numbered files, with the real names in a JSON map. ApkgBridge reads the package in your browser and gives you a CSV with one row per note, with plain text and the original HTML, plus every media file under its real name, byte for byte. Nothing is uploaded.

Preview your files

Free preview US$4 per deck package

Files stay on your device. No account needed.

apkgbridge-demo.apkgSource file
Anki .apkg
Notes in the deck
7 notes
Media files in the package
4 binary files
apkgbridge-demo-notes.csv + media ZIPSample result
7 notes read4 media files kept by name1 missing media item

Anki .apkgYou upload

CSV + mediaYou download

PrivacyYour file never leaves your device

Seven notes, four media files, one missing picture

What makes this file tricky

An Anki .apkg is a ZIP in which pictures and sounds are stored as files called 0, 1, 2 and so on; their real names are only in a JSON map inside the package. Many tools open the ZIP, find binary files they cannot read, and skip or corrupt them. Text exports drop the bold, italic and layout that the card HTML carries, and sharing a deck can leave its images missing without any warning.

What the tool accepts

Reads the legacy .apkg format: a SQLite collection (collection.anki2) and a JSON media map. Packages from recent Anki versions store the collection with zstd compression; this tool reports them and asks you to export again with “Support older Anki versions” ticked, instead of guessing. Plain-text columns drop the HTML formatting, so bold, italic and layout are kept in the front_html and back_html columns. Notes with more than two fields put the extra fields in back. Cards, decks, scheduling and review history are not exported. Every media file in the package is extracted, including ones no note uses. Up to 512 MB per package, read in browser memory. The reader does not repair damaged databases.

From source file to export

  1. Open the source file

    In Anki, open the deck, choose Export, pick “Anki Deck Package (*.apkg)”, tick “Include media” and “Support older Anki versions”, then save the file.

  2. Check your preview

    Drop the .apkg here. The preview counts the notes, the media files and any reference to a file that is missing from the package. Nothing is uploaded.

  3. Save the export

    Download the CSV and the media ZIP. Import the CSV into Anki or a spreadsheet; the media folder keeps the file names that the HTML references.

Read the step-by-step guide

Open ApkgBridge

Try a sample or open your own files. The preview runs in this browser.

Source files

Anki .apkg

No files selected.

Preview & export

CSV + media

Choose a file or try the sample to see the result here.

What the sample produces

The sample is a legacy Anki package written without Anki: a SQLite collection, a media map and numbered binary files that contain 0x00 and 0xFF bytes. ApkgBridge writes each note as a CSV row, keeps the HTML in its own columns and copies each media file byte for byte under its real name. A note that points at ghost.jpg, which is not in the package, is flagged instead of exported as a broken link. The check reads the same database with Python’s sqlite3 and compares every field.

apkgbridge-demo-notes.csv + media ZIP

Rows in the CSV
7, one per note
Media files kept
4, with their real names
Flagged
ghost.jpg is not in the package

ApkgBridge and other ways to do the job

Comparison of ApkgBridge and other tools
ToolWhat it does
ApkgBridgeThe sample is a legacy Anki package written without Anki: a SQLite collection, a media map and numbered binary files that contain 0x00 and 0xFF bytes. ApkgBridge writes each note as a CSV row, keeps the HTML in its own columns and copies each media file byte for byte under its real name. A note that points at ghost.jpg, which is not in the package, is flagged instead of exported as a broken link. The check reads the same database with Python’s sqlite3 and compares every field.
convert.guru APKG converterFree online converter that uploads the .apkg to its servers and extracts text only; the media files are not returned.
Media Exporter (Anki add-on)Free Anki add-on that works inside Anki, so Anki must be installed and the deck open there.

The links describe each alternative's documented workflow.

Preview for free. Pay when you download.

Free preview

$0

Open a sample or your own files and inspect the result before deciding whether to export.

Full export

US$4 per deck package

Pay once to download the full result shown in your preview.

Already paid? Restore your purchase.

Frequently asked questions

Does this work with decks exported by the newest Anki version?

Not in this version. Newer packages store the collection with zstd compression. In Anki’s export window, tick “Support older Anki versions” to get a package this tool reads. If a package is still in the newer format, the tool stops with a clear message instead of guessing.

Will I lose the formatting from my cards?

Not in the front_html and back_html columns, which keep the original HTML. The front and back columns are plain text for reading and searching, so formatting is removed there on purpose. The HTML columns are the ones to import back into Anki.

Does it upload my deck or change the original file?

No. The package is read in your browser and the original file is not modified. The CSV and the media ZIP are new files that you download.

How much does ApkgBridge cost?

The preview is free. Each deck package is US$4, charged once at download.

Do my files get uploaded?

Your files are processed in your browser. Stripe handles checkout separately.

Do I need an account to pay or download?

No account is needed. Complete Stripe Checkout and return to this browser to download the result.

Can I come back to finish a paid download?

Open this tool in the same browser and select Restore purchase. Prepared exports are kept locally for up to seven days.

Guides and support

Try ApkgBridge with a sample

Open the tool and preview the result for free.

Open the tool