Skip to content

Convert an Anki deck to CSV

Get the cards out of any Anki deck: every field in its own column, formatting cleaned, the deck name in the last column.

An .apkg or .colpkg file. In Anki: File, Export, Anki Deck Package. Untick Include media for a smaller file.

  • Nothing is uploaded
  • No sign-up
  • Free

How to use it

  1. In Anki choose File, Export, Anki Deck Package. Untick Include media for a smaller file.

  2. Drop the .apkg or .colpkg file here. Every note type in it is listed; pick the one you want.

  3. Download the CSV, Excel or TSV file.

Good to know

  • Each note is one row and each field one column.
  • HTML formatting and [sound:] tags are removed unless you choose to keep them.
  • A full collection export (.colpkg) works and keeps the deck of every note.

What the CSV looks like

One row per note, one column per field, the deck in the last column. Text is UTF-8 with a marker that tells Excel so, so accents show correctly.

Front,Back,Deck
la manzana,apple,Spanish::Food
el perro,dog hound,Spanish::Food
der Hund,dog,German

Questions

Why not use Anki's own text export?

It keeps HTML in the fields, mixes note types in one file and often opens with broken accents in Excel. This tool cleans all three.

My deck says it needs a newer version.

When exporting in Anki, tick Support older Anki versions and drop the new file.

What happens to pictures and sound?

They are left out. The spreadsheet holds only text.

Is my file uploaded anywhere?

No. The file is read by your browser on your own device and never sent to a server. Once the page has loaded it even works offline.