Skip to content
AnkiPrint

Print an Anki deck as cards: a PDF with pictures, plus HTML — Step-by-step guide

An Anki deck is a ZIP with a SQLite database and numbered media files. AnkiPrint reads the deck in your browser and lays the cards out as an A4 PDF, two columns per page by default, with pictures embedded and bold, italic and lists kept. It also writes the same cards as one HTML file. Nothing is uploaded.

What the sample produces

The sample is an Anki deck written without Anki: a SQLite collection, a media map and numbered picture and sound files. AnkiPrint places the 8 cards on 2 A4 pages, embeds the PNG, lists the GIF and the missing picture as not printed, and names the audio clip. The check reads the PDF with a raw parser that inflates the page streams and reads the text operators, reads the HTML by pattern, and compares every number with a count made by hand.

Pages
2 A4 pages, 4 cards each
Pictures in the PDF
1 PNG embedded
Not printed
1 GIF in the PDF, 1 missing picture, 1 audio clip, 1 LaTeX formula

How to use it

  1. In Anki, choose Export for the deck, pick Anki Deck Package, tick Include media and Support older Anki versions, then save the file.
  2. Drop the file here. Choose the cards per page and, if you want, a deck or tag filter. The preview counts the cards and says what cannot be printed.
  3. Download the PDF to print, or the HTML file to open in a browser. Audio, LaTeX and typed answers are listed as not rendered, never guessed.

Supported files

Reads the legacy .apkg and .colpkg formats: a SQLite collection and a JSON media map. Packages from recent Anki versions, compressed with zstd, are reported with instructions to export again. Card templates are rendered for fields, conditionals, cloze and FrontSide; other template helpers show as plain field text. Audio is not played: the PDF names the clip. LaTeX and MathJax appear as typed source. Typed-answer boxes are left blank. The PDF uses the standard Helvetica font, so characters outside Western Latin print as a question mark; the HTML keeps them. GIF and WebP pictures appear in the HTML only. Note-type CSS is not applied. Up to 3000 cards per run and 512 MB per deck, read in browser memory. Scheduling, review history and decks outside the filter are not exported.

Open AnkiPrint

Compare AnkiPrint with alternatives