# Anki HTML Export Plugin

**URL:** <https://forums.ankiweb.net/t/anki-html-export-plugin/58579>\
**Category:** Add-ons\
**Created:** [April 6, 2025, 3:44pm UTC](https://forums.ankiweb.net/t/anki-html-export-plugin/58579 "2025-04-06T15:44:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dinv](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dinv](https://forums.ankiweb.net/u/dinv)\
**Post date:** [April 6, 2025, 3:44pm UTC](https://forums.ankiweb.net/t/anki-html-export-plugin/58579/1 "2025-04-06T15:44:48Z")

</div>

Hello,

Based on my previous HTML Export script, I continued my work and brought the functionality into a GUI-based Anki Add-on.

The plugin uses Anki Connect for data handling.  
I might deploy it to Anki Web in the future. Happy to receive any feedback!

[https://github.com/GitCrush/anki-html-exporter-plugin](https://github.com/GitCrush/anki-html-exporter-plugin)

---

<div class="post-metadata">

**Author:** ![salman](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@salman](https://forums.ankiweb.net/u/salman)\
**Post date:** [June 21, 2025, 11:48am UTC](https://forums.ankiweb.net/t/anki-html-export-plugin/58579/4 "2025-06-21T11:48:52Z")

</div>

Anki 25.06b4 (b2dc5a02) (ao)  
Python 3.13.5 Qt 6.8.1 PyQt 6.8.0  
Platform: Windows-11-10.0.26100-SP0

When loading Anki HTML Exporter:  
Traceback (most recent call last):  
File “C:\Users\salma\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\addons.py”, line 250, in loadAddons  
**import** (addon.dir\_name)  
~~~~~~~~~~ ^^^^^^^^^^^^^^^^  
File “C:\Users\salma\AppData\Roaming\Anki2\addons21\265861717\__init_\_.py”, line 5, in   
from .exporter import export\_to\_html\_gui  
File “C:\Users\salma\AppData\Roaming\Anki2\addons21\265861717\exporter.py”, line 4, in   
import imghdr  
ModuleNotFoundError: No module named ‘imghdr’

---

<div class="post-metadata">

**Author:** ![dinv](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dinv](https://forums.ankiweb.net/u/dinv)\
**Post date:** [June 21, 2025, 1:20pm UTC](https://forums.ankiweb.net/t/anki-html-export-plugin/58579/5 "2025-06-21T13:20:48Z")

</div>

Appreciate your feedback!  
I removed imghrd since it is a non-standard dependency and updated the plugin.  
Now it should work for you too.

---

<div class="post-metadata">

**Author:** ![dpl-dpl](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@dpl-dpl](https://forums.ankiweb.net/u/dpl-dpl)\
**Post date:** [August 14, 2026, 10:51pm UTC](https://forums.ankiweb.net/t/anki-html-export-plugin/58579/6 "2026-08-14T22:51:17Z")

</div>

Hi, thanks for the Addon. I have two issues:

- I use JavaScript to size the font according to how many characters are in the field. E.g., for Chinese, if a card contains only 1 character, I want it displayed big, as in, half the page big. If the card is to memorize a 20-character proverb, obviously I use JS to size the font down. This does not get reflected in the export, unfortunately.
- Maybe it’s due to my fundamental misunderstanding of the interplay of cards, notes, front/back sides, etc. However, here goes: after using your add-on to export, I only see what I consider the backside of my cards, not the front side. But I want both, just as the Anki program preview button gives me. My setup is that I have one deck, one note type, one card type, and in this card type I use Anki card browser’s “Front template” and “Back template” section to add fields. Maybe that’s a mistake. But what I naively expect is to get both front and back exported, instead I only get the backside.

---

<div class="post-metadata">

**Author:** ![dinv](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dinv](https://forums.ankiweb.net/u/dinv)\
**Post date:** [August 18, 2026, 10:29am UTC](https://forums.ankiweb.net/t/anki-html-export-plugin/58579/7 "2026-08-18T10:29:50Z")

</div>

Hello,

Thank you for your feedback! I just uploaded a new release of the addon with improved functionality. It should work now. Just give it a try!

---

<div class="post-metadata">

**Author:** ![dinv](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dinv](https://forums.ankiweb.net/u/dinv)\
**Post date:** [August 23, 2026, 2:49pm UTC](https://forums.ankiweb.net/t/anki-html-export-plugin/58579/8 "2026-08-23T14:49:37Z")

</div>

I performed a major updated with improved rendering and better functionality. Hope you find it useful!

![anki-html-exporter](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/a/a/aa12933050234602abbc13d4dabd67a7e896cfcd.webp)

[https://ankiweb.net/shared/info/265861717](https://ankiweb.net/shared/info/265861717)
