265 5
Contact Author Sign in to rate


0.02MB. Updated 2023-04-12.
The author has shared 1 other item(s).


AnkiConnect enables external applications such as Yomichan to communicate with Anki over a simple HTTP API. Its capabilities include executing queries against the user's card deck, automatically creating new cards, and more. AnkiConnect is compatible with the latest stable (2.1.x) releases of Anki; older versions (2.0.x and below) are no longer supported. See the AnkiConnect homepage for more information.


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

Supported Anki versions:

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


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

All Anki 2.1.x Add-Ons Contact Author


on 1685315647
This add-on is super powerful. Because of this Add-on, we can do advance automation.
on 1684893096
on 1683771788
It's an awesome plugin!
on 1683022991
best one
on 1683005035
I updated to the newest version of Anki that was released today and I'm not sure if there is an issue but I've added many addons before and can't get this to work. I put in the code and click ok and it does nothing. Sorry for the hassle, I just thought maybe the update caused an issue:).
on 1682781569
Quick tips, if you are using WSL2 and your anki is on the windows host - the magic trick is setting port forwarding on windows: Run powershell as admin and then run `netsh interface portproxy add v4tov4 listenport=8765 listenaddress= connectport=8765 connectaddress=` Then in wsl2, you can test with `curl windows_ipv4_ip` .... took me several hours and going through all kinds of unsuccessful solution everywhere and finally find this one out. Great adds-on, I can finally create decks effectively!!!!!
on 1681969691
Very useful
on 1681789433
super useful
on 1681691761
No worker
on 1681093215
on 1680728687
Easy to use and sync - thank you!
on 1680527742
on 1680350265
on 1680280459
I use this for Ruzu Anki pop-ups extension for Google Chrome
on 1679841994
good extension very helpful
on 1679727182
on 1679556918
This is a great extension for developers! Thanks a lot for developing this extension :)
on 1678748046
AnkiConnect is, in my opinion, the single most useful add-on available for Anki. It opens up a bunch of Anki internals, and lets other applications use them. The myriad uses of this extension are truly astounding. Personally, I have used it for automatic card creation through browser extensions, external statistical analysis, integration with a front-end, and generation (and linking) cards to my notes in org-mode.
on 1677389495
shuan q
on 1675447334
Awesome! Thank you!
on 1675433423
I don't know how to use it, seems good anyway.
on 1674575495
very useful and dependable
on 1674548439
It's easy for us to build anki api to develop different functions to support Anki
on 1674485044
Works great, thanks a lot!
on 1674379654
helped create an seamless workflow for myself, thanks!
on 1673983497
on 1673804217
Makes integration with amazing tools like asbplayer possible! Love it.
on 1672844798
Thank you! Now i can automate personal wiki)
on 1672693554
great add-on
on 1672629856
i dunno how to use it but thnanks anyway
on 1672525368
Good connection with obsidian !
on 1671900129
I use this along with anki quick adder extension to add new notes directly from my browser to Anki. Thank you a lot. That's a great help.
on 1671653542
prolly the most powerful add-on of Anki
on 1671637935
on 1671467244
Very use
on 1670690695
really helpful, thank you
on 1669770854
That's great
on 1669305881
Just what I needed. Very complete interface. You can do almost anything with this API
on 1667976236
Very helpful to integrate with other apps like Obsidian.md
on 1667932305
works well with yomichan
on 1667806979
Great addon! I used it to create a web-app that can be helpful for English learners:
Free uptime is limited, so it may be unavailable at the end of the month
on 1666113206
It's essential and very useful.
on 1665924571
on 1663840636
on 1663186370
Nice for automation (fetching sample sentences from certain websites and putting them into Anki if one knows basic coding in e.g. Python).
on 1661793206
Can't live without this addon, seriously!
on 1661760481
on 1660837936
on 1660287182
on 1659758809
very helpful
on 1659547473
can't work with anki 2.1.49
on 1659343798
Any way to make work with anki 2.1.49? don't work for me.

Update /
Fixed, just put the code on anki again and download the plugin normally.
on 1659218390
Simple and very useful. Works great with Emacs anki-editor.
on 1658253890
Is there a way to connect with an audio editing program such as Audacity?
on 1657972567
It makes work with Emacs possible and easy.
on 1657842712
It's awesome! Thanks
on 1656945183
Very helpful
on 1655785895
good to use.
on 1654956812
This API makes things really easy to update Anki deck.
on 1654697267
on 1654669063
hope more connect in future
on 1653333045
It's an amazing work that this guy did, Obsidian/Logseq provide much better functionality for editing & building a database of knowledge, but they still lack good Spaced Repetition funcitonality. To be able to combine both with this plugin is amazing, thanks a lot!
on 1653182188
Love it. Really helps to create flashcards for words as I learn them.
on 1653128473
Thanks for the timely fix!
BTW, is there anyone using Obsidian to Anki but having issues? It doesn't work for me right now
on 1653054540
it didn't work for me
on 1652691667
This plugin is so critical to my workflow. Really appreciate it.
on 1652690276
on 1652663422
New version suddenly decided to stop working with 2.1.49, although I've been using 2.1.49 with AnkiConnect for a few months now with no problems whatsoever.

Edit: works now. Thanks for the timely fix.
on 1652648708
Great, thanks for fixing whatever the issue with version 2.1.49 or above was so quickly. Seems to be working perfectly for me once again!
on 1652628555
Used to work fine in 2.1.49 ... until it updated itself to say it only worked up to 2.1.44.
on 1652627769
This latest version is not available on Anki 2.1.49
on 1652627560
on 1652620037
It literally says what Anki versions work with AnkiConnect, these morons giving negative ratings need to learn how to read
on 1651466688
on 1650835870
Works great out of the box!
on 1650375919
useful to other tools
on 1647173049
I used this add-on to enable the "Obsidian to Anki" plugin. Brilliant workflow!!
on 1645894164
Perfect integrating vscode into Anki
on 1645559146
Wonderful! This is add-on is essential in order to connect to Obsidian. Thanks!
on 1644773697
This is really, really useful! Thank you!
on 1643489452
This plugin is extremely handy! I managed to write a simple command-line utility that generates bulk text-to-speech for many different note fields just in one evening! If I wrote a full-fledged Anki GUI plugin, it would take ages as I'm not fluent in Python & Qt.

Thank you very much for the effort you put to develop and maintain it!
on 1643258655
Very Useful!
on 1642533482
on 1642473299
Amazing, Anki wouldn't be the same without it
on 1642428881
Very helpful
on 1641454664
on 1640462353
works out of box. thx.
on 1637313557
on 1635582543
wonderful add-on!
on 1635105009
its good
on 1632142838
Wonderful add-on for adding external functionality to Anki 🗃🤖
I use it for reviewing decks in a random order (https://gitlab.com/-/snippets/2177504) 🎲
on 1630153938
on 1629654460
Works like a charm, never had any problems
on 1629350570
on 1629164309
on 1628645553
on 1628451318
on 1628366912
Cool! Nice sync tho
on 1628237472
defaults write net.ankiweb.dtop NSAppSleepDisabled -bool true
defaults write net.ichi2.anki NSAppSleepDisabled -bool true
defaults write org.qt-project.Qt.QtWebEngineCore NSAppSleepDisabled -bool true

need to run on Mac OS
on 1627577653
on 1625825679
Amazing! Must have together with VS Code extension "Anki for VSCode"
on 1625460764
it's gut
on 1624238413
It's very helpful for web users.
on 1624071739
on 1624048998
on 1622680488
on 1621991644
on 1620224145
on 1619279792
on 1618374489
Maybe now somebody can connect GoldenDict with Anki so that GoldenDict also looks up words in Anki collection.
on 1616620294
Essential! Works well.
on 1614611885
good for python developer and js developer
on 1614594141
on 1614070273
This is awesome ~I'm learning Korean it really help me. I think it would be great if you add it to Morphman to let Morphman process the Korean context like this Japanese plug in: MeCab UniDic Japanese Dictionary (https://ankiweb.net/shared/info/13462835). It supports Morphman. Thank you so much
on 1612961725
Thanks for creating such an amazing tool for Anki!
on 1611938256
暗記= Anki= memorisation
on 1611844135
Thanks! :)
on 1611202428
Good Job!
on 1610899873
so cool
on 1610553261
Essential add-on that is solid.
on 1610151317
Thank you very much. It's a fantastic tool for learning languages!!

At this moment, using the AnkiConnect addon, the Back Template of the card is not created well. But you can edit it and copy it from here: https://github.com/dobladov/youtube2Anki

I prefer to work on my listening, so I removed this two lines from the Front Template:

And put in the Black Template:

<hr id=answer>
on 1609587386
on 1609392847
on 1609249414
I cannot download the plug-in digitally. Is there an address to obtain the file directly?
on 1609105664
Fucking awesome
on 1606241847
Thank you!
on 1605449590
on 1604696106
Makes anki run slowly for me, but this is yomichans fault. I have a large deck and it might be related to yomichans duplicate check

Had to start anki with Shift key held to disable all addons, then disabled ankiconnect. Everything besides ankiconnect is working fine now.
on 1604235867
on 1603891454
on 1603620076
very good
on 1603560750
Very nice way to integrate with other softwares. With vscode extension I can create cards without leaving my editor.
on 1603347145
I use AnkiConnect for connecting extension Online Dictionary Helper
on 1603140136
Works as advertised!
on 1602538056
Very useful for iterations with Anki via API.
on 1601176166
a bridge over Anki
on 1600425742
I use it with a chrome extension creating cards has never been so fast
on 1599655137
good job but doesnt work on old version 2.0
on 1599323103
Incredibly useful
on 1597230701
Thank you soooo much for this wonderful addon!
on 1595462555
This add-on is fantastic but it will be greater if we can add not only a word but also a phrase or something like that
thank you very much
on 1594868585
like it!
on 1594610539
Invaluable tool for use with Yomichan. ありがとうございます
on 1594402033
on 1592955804
Because it's cool.
on 1592747937
on 1589515646
Great add-on!
on 1589149228
Works with no problem, PolarConnect didnt work
on 1588770654
Makes life so much easier.
on 1587919916
Works great
on 1587258876
Amazing and useful tool!
on 1586971470
on 1586951779
on 1586520367
so cool!!!!
on 1585810535
thank you
on 1585744674
Great plugin! Thanks!

I use it in my project:
on 1585484472
Love it !
on 1583991053
on 1583896179
on 1583551763
useful! will yomichan for 2.1 come soon?
on 1582541176
on 1581868760
very useful.
on 1581689104
on 1581614073
on 1578676250
on 1577640160
on 1575223134
Works very well with anki-editor in Emacs
on 1574631967
Works great! Thanks.
on 1574272590
on 1574158600
on 1573610342
on 1573512338
on 1573157557
Works great. I was able to integrate it into emacs's pdftools pdf reader and send the selected word directly to Anki.
on 1572111060
on 1571193792
doesnt work for me
on 1570053330
Testing it for PowerApps Solution development
on 1568958591
on 1566566368
Useful for chrome extension.
on 1565548485
Super cool!
on 1564127566
It's really helpful for making notes out side of the app.
on 1563461974
on 1562940586
useful,highly recommend!
on 1561710436
on 1561102474
Great tool to automate some of the tedious things! Kudos!
on 1560947678
Must have !
on 1560665846
on 1559932742
Wonderful. But context.reverso.net does not work.
on 1559737842
very useful addon, I could use Emacs to create Anki cards, amazing.
on 1559612097
I combined it with Google search. It works great.
on 1559611561
on 1559150000
on 1558467209
looks great and the idea is brilliant! Hope it will support other languages as well in the future.
on 1557927429
on 1556731239
on 1556546431
非常好 帮助了我学习语言
on 1556190534
very good
on 1556037756
good use
on 1555869572
on 1554937156
on 1554662809
good tool
on 1554496063
Works great
on 1554029127
Everything works!
on 1553944654
good thing
on 1553796104
works great, thanks
on 1552610650
mac 工具在屏幕最左上角 附加组件快捷键 command+Shift+A 点击第一个 获取插件 输入 2055492159 就行了
on 1552277462
on 1551516906
on 1551106218
Very useful
on 1550344230
on 1550079342
It hasn't been working with firefox for three days now. I can't get the + signs in yomichan to show up for some reason.
on 1549963026
Mac users remember to change app nap as the below review says.
on 1549130665
essential add-on.
on 1548920851
I think it's a great idea, and it gives a lot of freedom to augment/redesign Anki. Thanks!
on 1547820670
it is very good
on 1547231603
I use it on my application that retrieves definitions and examples for words.

on 1546759321
on 1546702683
on 1545832868
very useful
on 1545673061
Very useful!
on 1545352043
For Mac User

Anki 2.1.6 2.1.7 changed it's app domain name,

so if you want to change the app nap for anki

1. Start the Terminal application.
2. Execute the following commands in the terminal window:

defaults write net.ankiweb.dtop NSAppSleepDisabled -bool true
defaults write org.qt-project.Qt.QtWebEngineCore NSAppSleepDisabled -bool true
3. Restart Anki.
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 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 1506816000
on 1505606400
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 1503187200
on 1503100800
on 1500768000
on 1498953600
on 1498694400
on 1496102400
Incredibly helpful addition by a very responsive dev

on 1495324800
on 1492560000
on 1492387200
on 1491868800
on 1491436800
on 1491091200
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.
on 1488844800
on 1488585600
on 1474588800
on 1464739200