Export Deck to HTML and Print to PDF

AnkiWeb addon 266464821

Exports an Anki deck to one-column HTML, then lets you print it in Chrome and save as PDF with improved formatting.
AI-generated summary; may contain mistakes.

exportfork-or-reupload

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
19 (πŸ‘ 11 Β· πŸ‘Ž 8)
Updated
2022-05-25
Anki versions
2.1.45~
License
AGPL-3.0 (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, Ignore List, JavaScript, CSV, Perl, CSS, JSON, Shell
Description language
en

Maintenance

abandoned

  • Last update or commit: 2022-05-25 (1621 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.45+2022-05-25
History across monthly snapshots

Loading…

Similar addons

Papercards - export & print flashcards to paper

Exports selected decks' cards into a printable layout for printing or saving as PDF or HTML, with configurable paper format, cards per sheet, and output folder.

export

84 votes 48% approval πŸ‘ 49 Β· πŸ‘Ž 35 Anki 26.09.3~ Updated 2026-10-16
Print Selected Cards

Exports selected cards, decks, or tags to a printable HTML file showing both card sides, with media and LaTeX support, for printing or saving as PDF.

exportshortcutsfork-or-reupload

2 votes 9% approval πŸ‘ 1 Β· πŸ‘Ž 1 Anki 26.05~ Updated 2026-07-07
Export Anki to PDF

Exports notes as HTML with customizable, premade PDF exporter templates, then lets you open the file in a browser and print it to PDF.

exportcard-templates

18 votes 49% approval πŸ‘ 13 Β· πŸ‘Ž 5 ⭐ 5 Anki 2.1.54~ Updated 2026-10-21
AnkiPdffer

Exports Anki decks as print-ready PDFs or standalone offline HTML files, with customizable layouts, themes, typography, native card rendering, and an interactive image viewer.

export

14 votes 78% approval πŸ‘ 14 Β· πŸ‘Ž 0 ⭐ 8 Anki 2.1.1~ Updated 2026-06-02
PDF/HTML Exporter

Exports the back sides of selected cards to a standalone HTML file, preserving styling and images, ready for printing, sharing, archiving, or saving as PDF.

export

3 votes 21% approval πŸ‘ 2 Β· πŸ‘Ž 1 ⭐ 0 Anki 25.09.2~ Updated 2025-12-16
πŸ–¨οΈExtended Printing Support

Exports cards from the current deck as a customizable printable HTML file with one- or multi-column layouts, suited for formula sheets and exam materials rather than uniform-size cards.

exportfork-or-reupload

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

Description

TLDR: SKIP DOWN AND READ #1, #2, #3. Ignore the rest. Works with anki 2.1.45 and older. As for newer versions, I haven't tried. _____ WHAT DOES THIS DO? This will let you print cards to PDF with proper formatting better than any other options I have found. WHO MADE THIS? This is originally glutanimate's work, but it's no longer available and he never updated it on patreon. It has a GNU license, so it's redistributable. I made minor changes to improve formatting. _____ OVERVIEW β€’ Use this to βž₯ export a deck to HTML βž₯ print in chrome βž₯ "save as pdf". β€’ I set chrome print options to "portrait" with "minimum margins". β€’ If a repeating element is super ugly in the chrome preview, you can hide it pretty easy. *Instructions below at very end. β€’ If the deck is large, printing to pdf may take a long time to process. If chrome struggles to print as PDF, try firefox, or export a smaller deck. β€’ If PDF file size is absurdly large, use acrobat pro or similar to "save as reduced size pdf" to reduce the file size (e.g. 1GB down to 40MB-100MB for a 2000 card deck). HOT TIP: When reducing the file size, set "image quality" to maximum, and set DPI to "Bicubic downsampling to 600 DPI for images above 601 dpi". This is sweet spot on an ipad to reduce file size dramatically without pixelation or readability issues when zooming to read screenshot from PDF textbook. _____ USAGE: #1 The images will be missing if you don't export the HTML file into the SAME folder anki stores images. On PC, by default that folder is here: %APPDATA%\Anki2\User 1\collection.media\ More info in documentation here: https://bit.ly/3sUdkKs or use "search everything" freeware and search for "collection.media". #2 From the main deck screen βž₯ click the options cog wheel next to the deck you want to export βž₯ click export βž₯ choose "Export one-column HTML Glossary" (this is only option that works as expected!) #3 Cards that use the following template will export correctly. If your question is repeating multiple times, make sure the template is using {{FrontSide}} and <hr id=answer> like below. Removing scripts from the card template may fix formatting issues. Front Template: {{Front}} Back Template: {{FrontSide}} <hr id=answer> {{Back}} #4 Use the "Change Card Creation Times" addon if cards are out of order on export, as that is how it orders the exported cards: https://ankiweb.net/shared/info/217650262 Below = FYI, not important. ↓ ↓ ↓ ***How To Hide Stuff: β€’ STEP #1: Open the HTML file in chrome βž₯ click... 3 dots menu βž₯ more tools βž₯ developer tools βž₯ mouse arrow icon βž₯ click the ugly thing βž₯ copy the "class" name of thing you want to hide. β€’ STEP #2: Go to file in explorer/finder, and drag it to a text editor like notepad. Insert a new line below <STYLE> exactly as follows except update the word CLASS using name from step 1: .CLASS {display:none !important;} Save changes βž₯ reload in chrome. Done.