Anki (software)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Anki 2.1.6 screenshot.png
Anki 2.1.6
Developer(s)Damien Elmes
Initial release5 October 2006; 15 years ago (2006-10-05)
Stable release
2.1.48 / 21 September 2021; 2 months ago (2021-09-21)[1]
Written inPython, Rust
Operating systemWindows, macOS, Linux, FreeBSD; Android and iOS (special versions)
  • Windows: 107 MB
  • macOS: 140 MB
  • Linux: 134 MB
  • Android: 14.7 MB
  • iOS: 33.8 MB
Available in48 (desktop)/14 (AnkiMobile) languages
List of languages
  • Desktop: Afrikaans, Arabic, Armenian, Basque, Bulgarian, Catalan, Simplified Chinese, Traditional Chinese, Croatian, Czech, Danish, Dutch, English (United Kingdom), English (United States), Esperanto, Estonian, Finnish, French, Galician, German, Greek, Hebrew, Hungarian, Irish, Italian, Japanese, Korean, Latin, Lojban, Malay, Mongolian, Norwegian, Occitan, Persian, Polish, Portuguese, Brazilian Portuguese, Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese
  • AnkiMobile: English, Arabic, French, German, Irish, Japanese, Persian, Polish, Portuguese, Russian, Simplified Chinese, Spanish, Traditional Chinese, Turkish
TypeFlashcard spaced repetition
Desktop: GNU AGPL v3+[2]

Android GNU GPL v3[3]


Anki (/ˈɒnkiː/; Japanese: [aŋki]) is a free and open-source flashcard program using spaced repetition, a technique from cognitive science for fast and long-lasting memorization.[4] "Anki" (暗記) is the Japanese word for "memorization".[5]

The SM-2 algorithm, created for SuperMemo in the late 1980s, forms the basis of the spaced repetition methods employed in the program. Anki's implementation of the algorithm has been modified to allow priorities on cards and to show flashcards in order of their urgency.[6]

The cards are presented using HTML and may include text, images, sounds, videos,[7] and LaTeX equations. The decks of cards, along with the user's statistics, are stored in the open SQLite format.



Cards are generated from information stored as "notes". Notes are analogous to database entries and can have an arbitrary number of fields. For example, with respect to learning a language, a note may have the following fields and example entries:

  • Field 1: Expression in target language – "gâteau"
  • Field 2: Pronunciation – [sound file with the word "gâteau" pronounced]
  • Field 3: Meaning of expression in familiar language – "cake"

This example illustrates what some programs call a three-sided flashcard, but Anki's model is more general and allows any number of fields to be combined in various cards.

The user can design cards that test the information contained in each note. One card may have a question (expression) and an answer (pronunciation, meaning).

By keeping the separate cards linked to the same fact, spelling mistakes can be adjusted against all cards at the same time, and Anki can ensure that related cards are not shown in too short a spacing.

A special note type allows generation of cloze deletion cards (in Anki 1.2.x, those were ordinary cards with cloze markup added using a tool in the fact editor).


Anki supports synchronization with a free (but proprietary) online service called AnkiWeb.[8] This allows users to keep decks synchronized across multiple computers and to study online or on a cell phone.

There also is a third-party open-source (AGPLv3) AnkiWeb alternative, called ankisyncd, which users can run on their own local computers or servers.[9]

Japanese and Chinese reading generation[edit]

Anki can automatically fill in the reading of Japanese and Chinese text. Since version, these features are in separate plug-ins.


More than 750 add-ons for Anki are available,[10] often written by third-party developers.[11] They provide support for speech synthesis, enhanced user statistics, image occlusion, incremental reading, more efficient editing and creation of cards through batch editing, modifying the GUI, simplifying import of flashcards from other digital sources, adding an element of gamification,[12] etc.

Shared decks[edit]

While Anki's user manual encourages the creation of one's own decks for most material, there is still a large and active database of shared decks that users can download and use.[13] Available decks range from foreign-language decks (often constructed with frequency tables) to geography, physics, biology, chemistry and more. Various medical science decks, often made by multiple users in collaboration, are also available.


Anki's current scheduling algorithm is derived from SM-2 (an older version of the SuperMemo algorithm), though the algorithm has been significantly changed from SM-2 and is also far more configurable.[6] One of the most apparent differences is that while SuperMemo provides users a 6-point grading system (0 through 5, inclusive), Anki only provides at most 4 grades (again, hard, good, and easy). Anki also has significantly changed how review intervals grow and shrink (making many of these aspects of the scheduler configurable through deck options), though the core algorithm is still based on SM-2's concept of ease factors as the primary mechanism of evolving card review intervals.

Anki was originally based on the SM-5 algorithm, but the implementation was found to have seemingly incorrect behaviour (harder cards would have their intervals grow more quickly than easier cards in certain circumstances) leading the authors to switch Anki's algorithm to SM-2 (which was further evolved into the modern Anki algorithm).[6] At the time, this led Elmes to claim that SM-5 and later algorithms were flawed[14] which was strongly rebutted by Piotr Woźniak, the author of SuperMemo.[15] Since then, Elmes has clarified[6] that it is possible that the flaw was due to a bug in their implementation of SM-5 (the SuperMemo website does not describe SM-5 in complete detail), but added that due to licensing requirements Anki will not use any newer versions of the SuperMemo algorithm. The latest SuperMemo algorithm in 2019 is SM-18.[16]

Some Anki users who have experimented with the Anki algorithm and its settings have published configuration recommendations,[17] made add-ons to modify Anki's algorithm,[18] or developed their own separate software.

Mobile versions[edit]

The following smartphone/tablet and Web clients are available as companions to the desktop version:[19][20][21]

  • AnkiMobile[22] for iPhone, iPod touch or iPad (paid)
  • AnkiWeb[23] (online server, free to use; includes add-on and deck hosting)
  • AnkiDroid[24] for Android (free of charge, under GPLv3; by Nicolas Raoul)

The flashcards and learning progress can be synchronized both ways with Anki using AnkiWeb. With AnkiDroid it is possible to have the flashcards read in several languages using text-to-speech (TTS). If a language does not exist in the Android TTS engine (e.g. Russian in the Android version Ice Cream Sandwich), a different TTS engine such as SVOX TTS Classic can be used.


The oldest mention of Anki that the developer, Damien Elmes, could find in 2011 was dated 5 October 2006, which was thus declared Anki's birthdate.[25]

Version 2.0 was released on 6 October 2012.

Version 2.1 was released on 6 August 2018.


While Anki may primarily be used for language learning or a classroom setting, many have reported other uses for Anki: scientist Michael Nielsen is using it to remember complex topics in a fast-moving field,[26] others are using it to remember memorable quotes, the faces of business partners or medical residents, or to remember business interviewing strategies.

In 2010, Roger Craig obtained the then-all-time record for single-day winnings on the quiz show Jeopardy![27] after using Anki to memorize a vast number of facts.[28]

Medical education[edit]

Anki is quickly becoming an important resource for many medical students in the US. A study in 2015 at Washington University School of Medicine found that 31% of students who responded to a medical education survey reported using Anki as a study resource. The same study found a positive relationship between the number of unique Anki cards studied and USMLE Step 1 scores in a multi-variate analysis.[29] Some third-party resources, such as Boards and Beyond, have Anki decks based on them.[30][31]

Copera Inc.'s Anki for Palm OS[edit]

An unrelated flashcard program called Anki for Palm OS[32] was created by Copera, Inc. (formerly known as Cooperative Computers, Inc.) and released at the PalmSource conference in February 2002. Anki for Palm OS was sold from 2002 to 2006 as a commercial product. In late 2007, Copera, Inc. decided to release Anki for Palm OS as freeware.

See also[edit]


  1. ^ "Changes". Anki Changes. Retrieved 21 September 2021.
  2. ^ "LICENSE". Anki. Damien Elmes. 1 June 2020 – via GitHub.
  3. ^ "COPYING". GitHub. Retrieved 1 June 2020.
  4. ^ Smolen, Paul; Zhang, Yili; Byrne, John H. (25 January 2016). "The right time to learn: mechanisms and optimization of spaced learning". Nature Reviews Neuroscience. 17 (2): 77–88. arXiv:1606.08370. Bibcode:2016arXiv160608370S. doi:10.1038/nrn.2015.18. PMC 5126970. PMID 26806627.
  5. ^ wikt:暗記
  6. ^ a b c d "What spaced repetition algorithm does Anki use?".
  7. ^ Played in a separate MPlayer window.
  8. ^ "Anki – friendly, intelligent flashcards".
  9. ^ ankisyncd, Anki Community, 9 November 2021, retrieved 9 November 2021
  10. ^ "Add-ons for Anki 2.1".
  11. ^ "Writing Anki Add-ons".
  12. ^ "AnkiEmperor – Gamification for Anki". Retrieved 26 March 2020.
  13. ^ "Anki Manual". Retrieved 26 August 2018.
  14. ^ "Google Groups".
  15. ^ Woźniak, Piotr (June 2018). "Criticism of Algorithm SM-5". Retrieved 22 September 2020.
  16. ^ "Three Decades: From SuperMemo 1.0 to SuperMemo 18.0". 22 September 2019.
  17. ^ "Low-Key Anki".
  18. ^ "Thoughts On A New Algorithm For Anki". 18 February 2017.
  19. ^ "Anki - powerful, intelligent flashcards". 29 October 2017. AnkiMobile is a paid companion to the free computer program,
  20. ^ "Anki-Android Wiki: FAQ: Do I need Anki Desktop too?". 29 October 2017. AnkiDroid is designed primarily as a tool for reviewing cards created with Anki Desktop, rather than as a complete replacement for it.
  21. ^ "About - AnkiWeb". 29 October 2017. AnkiWeb is intended to be used in conjunction with the computer version of Anki. While it is possible to create basic text-only cards and review them using only AnkiWeb,
  22. ^ "Anki - powerful, intelligent flashcards".
  23. ^ "Anki - friendly, intelligent flashcards".
  24. ^ "Anki on Android". 26 July 2019.
  25. ^ Happy birthday, Anki!, a thread started by Damien Elmes in the ankisrs Google Group on 5 October 2011.
  26. ^ Coren, Michael J. "The latest brain hack to get ahead in Silicon Valley: flashcards". Quartz. Retrieved 29 September 2019.
  27. ^ Itzkoff, Dave (15 September 2010). "Record Set On 'Jeopardy!'". The New York Times. Retrieved 20 September 2010.
  28. ^ Baker, Stephen (2011). "How to Play the Game". Final Jeopardy: Man vs. Machine and the Quest to Know Everything. Houghton Mifflin Harcourt. p. 214. ISBN 978-0-547-48316-0. LCCN 2010051653. OCLC 651912283. OL 25136706M. Retrieved 25 April 2015.
  29. ^ Deng, Francis; Gluckstein, Jeffrey A.; Larsen, Douglas P. (1 December 2015). "Student-directed retrieval practice is a predictor of medical licensing examination performance". Perspectives on Medical Education. 4 (6): 308–313. doi:10.1007/s40037-015-0220-x. ISSN 2212-277X. PMC 4673073. PMID 26498443.
  30. ^ "r/medicalschoolanki - LIGHTYEAR: A Boards and Beyond based STEP 1 Anki deck (~22.5k cards)". reddit. Retrieved 26 March 2020.
  31. ^ Ryan, Jason. "Boards and Beyond". Boards and Beyond. Retrieved 25 March 2020.
  32. ^ "About Anki for Palm OS". Mirror of old website.

Further reading[edit]

External links[edit]