Export Deck to HTML and Print to PDF

AnkiWeb addon 266464821

Exports decks to HTML so cards can be printed to PDF through Chrome, improving formatting and requiring images to be in the collection.media folder.
AI-generated summary; may contain mistakes.

exportfork-or-reupload

Open on AnkiWeb Ask about alternatives

AnkiWeb

Rating
19 (πŸ‘ 11 Β· πŸ‘Ž 8)
Updated
2022-05-25
Anki versions
2.1.45~
Description language
en

Maintenance

abandoned

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

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

Export Anki to PDF

Exports notes as an HTML file, which can be opened in a browser and printed to PDF using customizable print templates.

exportcard-templates

Rating 18 πŸ‘ 13 Β· πŸ‘Ž 5 ⭐ 5 Anki 2.1.54~ Updated 2025-06-22
AnkiPdffer

Exports Anki decks to print-ready PDFs or standalone offline HTML with native rendering, themes, typography, layout controls, subdeck picking, and interactive image viewing.

exportformattingappearance

Rating 13 πŸ‘ 13 Β· πŸ‘Ž 0 ⭐ 8 Anki 2.1.1~ Updated 2026-06-02
Print Selected Cards

Exports selected or deck/tag-filtered Anki cards to printable HTML/PDF, showing both sides, with configurable rendering and searchable tag picking.

exportshortcutsfork-or-reupload

Rating 2 πŸ‘ 1 Β· πŸ‘Ž 1 Anki 26.05~ Updated 2026-07-07
PDF/HTML Exporter

Exports selected Anki card backs into a standalone HTML file with original CSS and images, suitable for printing, sharing, archiving, or saving as PDF.

export

Rating 3 πŸ‘ 2 Β· πŸ‘Ž 1 ⭐ 0 Anki 25.09.2~ Updated 2025-12-16

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.