50 1
Sign in to rate


0.03MB. Updated 2018-11-08. Supports both Anki 2.0.x and 2.1.x.


The AnkiConnect plugin for Anki provides a RESTful interface for creating flash cards from external applications. When installed, AnkiConnect will run a minimal Ajax server on port 8765 when Anki is running; connecting clients, such as the Yomichan Browser Extension can make use of the exposed API extend Anki functionality. This plugin is compatible with the Anki 2.1.x (alpha) releases! Please see the AnkiConnect homepage for more information. If you are upgrading, please be sure to remove existing copies of this plugin in your addons directory.


As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

To download this add-on, please copy and paste the following code into the desktop program:


If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

Other Anki 2.0.x Add-Ons Other Anki 2.1.x Add-Ons Ask a Question


on 1545137472
on 1544951636
I use this with Chrome Yomichan extension and it works great. Has worked well since I first installed it over half a year ago. Thank you for the awesome add-on :)
on 1544444508
This is a really excellent project
on 1542569320
Love this plugin.. We use it with Polar to sync flashcards form PDF books directly into Anki. You can read your PDFs and HTML content in Polar and create the flashcards there and then we use Anki Connect to transfer them to Anki.

on 1542202269
This is such a fantastic idea!
on 1542030950
on 1541305555
Great add-on. One drawback that I don't know if it's the fault of Anki or the add-on:
I can't figure out how to make fields keep new line characters when sending them to Anki. Adding both \n and \r\n to the field doesn't result in Anki breaking the text up into lines.
on 1540726965
Very Good , Thanks
on 1539877667
This app is helpful
on 1539747739
Thanks so much!! This plugin helped me write this Hammerspoon Spoon https://github.com/ldanilov/AnkiShortcuts to add notes with simple shortcuts.
on 1539497575
Required for Yomichan
on 1539359105
Great app!

And I'm so happy that there's a firefox extension. I've always been using chrome since I assumed the more niche extensions would never make their way to firefox. But this is the only "killer" extension I need, and I didn't even check if it was on firefox lol.

Cheers for the good work.
on 1536927854
Hot damn, this makes adding cards a breeze!
on 1536138792
Really useful
on 1535983279
Extremely useful feature.
on 1533817724
Very useful to automate add cards!
on 1530994716
Very useful
on 1529215806
just very good
on 1526428800
Works perfectly!
on 1525651200
The only "approved" way to interact with the app after https://anki.tenderapp.com/discussions/ankiweb/1886-issue-with-saving-cards-via-rest-api
on 1525392000
Can't imagine building a vocabulary deck without AnkiConnect (+ Yomichan).
on 1524355200
on 1523491200
Great documentation, great add-on, thanks!
on 1521849600
This extension made it possible for me to make an emacs-based ui for anki! Thanks!
on 1520467200
on 1519344000
Thankyou let me save a lot of time as this add-on
on 1518480000
Very helpful. Thank you very much!
on 1514505600
Thank you for the effort, saves a lot of time for adding new notes!
on 1513728000
explain what it does! It does not appear in my anki
on 1512000000
I have some ideal to use this API,
your add-on really save me a lots of time,
Thank you for contribute it.
on 1509753600
I'm sure this addon is awesome but

If you could speak in plain english what this add-on does, it would be quite helpful...
on 1505433600
Exception when requesting from AnkiConnect

I'm using last Anki 2.1 beta 15 and cot exception when trying default request:
curl localhost:8765 -X POST -d '{"action": "deckNames", "version": 5}'
Caught exception:
File "C:/Users/VC/AppData/Roaming/Anki2\addons21\2055492159\__init__.py", line 889, in advance
File "C:/Users/VC/AppData/Roaming/Anki2\addons21\2055492159\__init__.py", line 235, in advance
File "C:/Users/VC/AppData/Roaming/Anki2\addons21\2055492159\__init__.py", line 250, in advanceClients
self.clients = list(filter(lambda c: c.advance(), self.clients))
File "C:/Users/VC/AppData/Roaming/Anki2\addons21\2055492159\__init__.py", line 250, in <lambda>
self.clients = list(filter(lambda c: c.advance(), self.clients))
File "C:/Users/VC/AppData/Roaming/Anki2\addons21\2055492159\__init__.py", line 159, in advance
self.writeBuff += self.handler(req)
File "C:/Users/VC/AppData/Roaming/Anki2\addons21\2055492159\__init__.py", line 285, in handlerWrapper
resp += body
<class 'TypeError'>: can't concat bytes to str
on 1496102400
Incredibly helpful addition by a very responsive dev

on 1489795200
This is the add-on that's been keeping a bunch of Anki-related Google/Firefox ex

Not sure it the author would see it or not, but thank you for your work!
As a code-dummy,I don't know whether this is a beautifully written py. file or not, but sure to say that without it, a couple of Anki extension would be at great trouble.