How to set up AnkiConnect

Kana typing can pull due cards from your Anki deck and grade them as you type. That only works on desktop Anki with the AnkiConnect add-on. AnkiMobile, AnkiWeb, and phones cannot accept connections from this site.

1. Install desktop Anki

Download Anki from apps.ankiweb.net and open it on the same computer as your browser. Leave it running while you practice.

2. Install AnkiConnect

  1. In Anki, open Tools → Add-ons → Get Add-ons….
  2. Paste the add-on code 2055492159 and click OK.
  3. Restart Anki when it asks you to.

The add-on page is AnkiConnect on AnkiWeb.

3. Allow this site

On kanatyping.com, tap Settings on the session card, then turn on Review due cards from Anki. Anki should prompt you to grant access. Click Allow.

If you dismissed the prompt or it never appeared:

  1. In Anki, open Tools → Add-ons, select AnkiConnect, then Config.
  2. Add https://kanatyping.com to webCorsOriginList (keep http://localhost if it is already there):
    {
        "webCorsOriginList": [
            "http://localhost",
            "https://kanatyping.com"
        ]
    }
  3. Save the config and restart Anki.

4. Choose a deck

Back in Settings, pick the deck and confirm the Reading, Meaning, and Word fields. The session loads due cards first, then new cards, up to 40. Finish a word without peeking to grade Good; peek to grade Again.

5. If port 8765 is already in use

AnkiConnect listens on 127.0.0.1:8765 by default. If another program already uses that port, pick a free one and set it in both places:

  1. In Anki, open Tools → Add-ons, select AnkiConnect, then Config.
  2. Change webBindPort (keep webBindAddress as 127.0.0.1):
    {
        "webBindAddress": "127.0.0.1",
        "webBindPort": 8770,
        "webCorsOriginList": [
            "http://localhost",
            "https://kanatyping.com"
        ]
    }
  3. Save the config and restart Anki.
  4. On kanatyping.com, tap Settings on the session card and set Port to the same number (8770 in the example), then turn on review.

If it still cannot connect

Back to practice →

Related guides

What is JIS kana input? · How to enable kana input · Kana vs romaji