backfill-anki-yomitan

AnkiWeb addon 1184164376

Backfills Anki note fields, including media and audio, with data from Yomitan’s API for entire decks or selected cards, supporting handlebars, presets, and undo.
AI-generated summary; may contain mistakes.

card-creationsync-integrationnote-management

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
26 (👍 26 · 👎 0)
Updated
2026-01-06
Anki versions
23.10~
License
MIT (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2026-03-27 (219 days before the snapshot).
  • Commits in the last year: 4.
  • Issues: 2 open, 19 closed.
  • Pull requests: 0 open, 16 merged.
  • Median first response: 2 hours (20 answered issues and pull requests).
  • Outside pull requests: 0% of 1 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
23.10+2026-01-06
History across monthly snapshots

Loading…

Similar addons

AnkiAutoImage

Adds images, audio, and sentences to Anki notes using Yahoo image search, legacy Google Custom Search, Nadeshiko, and Gemini image generation, with configurable settings and review hotkeys.

card-creationaisync-integrationshortcuts

9 votes 35% approval 👍 6 · 👎 3 ⭐ 10 Anki 2.1.1~ Updated 2026-06-06
Yomitan → Anki: AI Sentence Translator

Automatically translates example sentences and target words on newly created Yomitan cards into a chosen language via Google Gemini, filling the SentenceTranslation field in the background without blocking card creation.

card-creationaisync-integration

1 votes 0% approval 👍 0 · 👎 1 Anki 2.1.1~ Updated 2026-08-22

Description

backfill-anki-yomitan

Anki add-on to backfill fields including media and audio using Yomitan's API

Installation

  1. Install the Yomitan API like specified in the README.
  2. Install the add-on from AnkiWeb
  3. Restart Anki

Usage

Create a Backup of your profile/deck before doing any of these steps

Make sure your Browser is running and the API is working.

Run on deck

  1. Go to Tools -> Backfill from Yomitan in the top bar.
  2. Select your deck in the Deck dropdown

Run on select cards

  1. Select Cards you want to backfill in Browse
  2. Go to Edit -> Backfill from Yomitan in the top bar of the card browser.

General Steps

  1. For Expression Field choose the expression field (e.g. Expression in Lapis) of your note type, this is the field that will be queried into Yomitan.
  2. Optionally choose a Reading Field (e.g. ExpressionReading in Lapis) to differentiate expressions using their reading. If left blank, the add-on uses the first result Yomitan returns.
  3. For Field choose the field to backfilled.
  4. In Handlebar type in the Yomitan handlebar, from which you wish to pull data from (e.g. frequency-harmonic-rank). You can concatenate multiple handlebars using a , (e.g. single-glossary-jmdict-2025-08-08,single-glossary-デジタル大辞泉)
  5. Optionally tick Replace if you wish to replace the current content of the field in every card.
  6. Press Run.

You can cancel backfilling by pressing on the close button of the processing popup. Changes can be undone with Edit -> Undo or with CTRL + Z.

Depending on the dictionaries, backfilling can cause a large amount of inline css to be added to your cards. You can use the Inline CSS Cleanup addon to reduce your collection size.

Presets

You can backfill multiple fields using a .json preset. Presets are stored in the user_files folder in the addon directory. An example for Lapis is included and can be found here.

Format:

{
    "targets": {
        "FieldName": {
            "handlebar": "{handlebar}",
            "replace": true
        },
        "FieldName2": {
            "handlebar": "{handlebar2},{handlebar3}",
            "replace": false
        },
        ...
    }
}

handlebar and replace behave identically to above.

Make sure every handlebar in the preset is a valid handlebar in Yomitan. Otherwise backfilling will fail, because all handlebars are requested in a single API call. For the included Lapis preset, this means adjusting the MainDefinition handlebar to the one matching your preferred dictionary.

Config

Tools -> Add-ons -> backfill-anki-yomitan -> Config

max_entries

Default: 4

Amount of entries to request when Reading Field is specified.

reading_handlebar

Default: reading

Handlebar used to compare against Reading Field.

yomitan_api_ip

Default: 127.0.0.1

yomitan_api_port

Default: 19633

yomitan_api_timeout

Default: 10

Issues

If you're backfilling audio, please be aware that retrieving audio, depending on the audio sources configured in Yomitan, can be quite slow. You can reduce the time by decreasing max_entries in the config.

If you encounter any issues, please report them on GitHub or in the add-on's TMW #resources-sharing thread. Please attach the backfill-log.log file, which can be found in the add-on's user_files directory.

Screenshot

screenshot

README

backfill-anki-yomitan

Anki add-on to backfill fields including media and audio using Yomitan's API

Installation

  1. Install the Yomitan API like specified in the README.
  2. Install the add-on from AnkiWeb
  3. Restart Anki

Usage

Create a Backup of your profile/deck before doing any of these steps

Make sure your Browser is running and the API is working.

Run on deck

  1. Go to Tools -> Backfill from Yomitan in the top bar.
  2. Select your deck in the Deck dropdown

Run on select cards

  1. Select Cards you want to backfill in Browse
  2. Go to Edit -> Backfill from Yomitan in the top bar of the card browser.

General Steps

  1. For Expression Field choose the expression field (e.g. Expression in Lapis) of your note type, this is the field that will be queried into Yomitan.
  2. Optionally choose a Reading Field (e.g. ExpressionReading in Lapis) to differentiate expressions using their reading. If left blank, the add-on uses the first result Yomitan returns.
  3. For Field choose the field to backfilled.
  4. In Handlebar type in the Yomitan handlebar, from which you wish to pull data from (e.g. frequency-harmonic-rank). You can concatenate multiple handlebars using a , (e.g. single-glossary-jmdict-2025-08-08,single-glossary-デジタル大辞泉)
  5. Optionally tick Replace if you wish to replace the current content of the field in every card.
  6. Press Run.

You can cancel backfilling by pressing on the close button of the processing popup. Changes can be undone with Edit -> Undo or with CTRL + Z.

Depending on the dictionaries, backfilling can cause a large amount of inline css to be added to your cards. You can use the Inline CSS Cleanup addon to reduce your collection size.

Presets

You can backfill multiple fields using a .json preset. Presets are stored in the user_files folder in the addon directory. An example for Lapis is included and can be found here.

Format:

{
    "targets": {
        "FieldName": {
            "handlebar": "{handlebar}",
            "replace": true
        },
        "FieldName2": {
            "handlebar": "{handlebar2},{handlebar3}",
            "replace": false
        },
        ...
    }
}

handlebar and replace behave identically to above.

Make sure every handlebar in the preset is a valid handlebar in Yomitan. Otherwise backfilling will fail, because all handlebars are requested in a single API call. For the included Lapis preset, this means adjusting the MainDefinition handlebar to the one matching your preferred dictionary.

Config

Tools -> Add-ons -> backfill-anki-yomitan -> Config

max_entries

Default: 4

Amount of entries to request when Reading Field is specified.

reading_handlebar

Default: reading

Handlebar used to compare against Reading Field.

yomitan_api_ip

Default: 127.0.0.1

yomitan_api_port

Default: 19633

yomitan_api_timeout

Default: 10

Issues

If you're backfilling audio, please be aware that retrieving audio, depending on the audio sources configured in Yomitan, can be quite slow. You can reduce the time by decreasing max_entries in the config.

If you encounter any issues, please report them on GitHub or in the add-on's TMW #resources-sharing thread. Please attach the backfill-log.log file, which can be found in the add-on's user_files directory.

Screenshot

screenshot