Automatic Cloze Card

AnkiWeb addon 1703542984

Automatically converts notes containing cloze deletions into cloze cards, using configurable source and target note types, so you can skip switching note types manually.
AI-generated summary; may contain mistakes.

card-creationnote-managementcloze

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2025-04-13
Anki versions
23.09~
License
AGPL-3.0 (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: 2025-04-13 (567 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.2823.09+2025-04-13
History across monthly snapshots

Loading…

Similar addons

Cloze Generator

Generates cloze notes from existing non-cloze notes using configurable mappings, field templates, filters, optional tags, and skips duplicates or empty cloze elements.

card-creationnote-managementcloze

9 votes 35% approval πŸ‘ 6 Β· πŸ‘Ž 3 Updated 2018-07-22
No-Sync Note Converter

Converts Anki notes between types without triggering a full sync, offering field mapping, presets, review-history preservation, deck/tag retention, browser and reviewer conversion, and one-step undo.

schedulingnote-managementcard-templatescloze

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 1 Anki 2.1.1~ Updated 2026-09-02
Roam Import

Imports cloze notes from Roam JSON exports, converting blocks with curly-bracket deletions into numbered Anki cloze notes while skipping duplicates, with configurable model, deck, and fields.

card-creationimportcloze

2 votes 9% approval πŸ‘ 1 Β· πŸ‘Ž 1 ⭐ 54 Anki 2.1.21~ Updated 2020-03-25

Description

Automatic Cloze Cards

Description

This Anki add-on automates the creation of cloze deletion cards from your notes, streamlining your card creation workflow. If you've ever found yourself creating a basic card and then realizing you'd rather have a cloze deletion, this add-on solves that problem! It allows you to write cloze deletions in your note, even if you've selected a basic note type, and it will automatically convert it to a cloze card.

Configure Note Type Change window in Anki
Configuration window for Automatic Cloze Cards add-on in Anki

This add-on was created with a lot of inspiration from RisingOrange's Basic to Cloze add-on.

Key Features

  • Automatic Cloze Conversion: Automatically converts notes to cloze cards when cloze deletions are detected.
  • Simplified Workflow: Write cloze deletions directly, without needing to switch note types manually.
  • Configurable: Specify source and target card types in the add-on's configuration.

Installation

  1. Open Anki.
  2. Go to "Tools" -> "Add-ons" -> "Get Add-ons".
  3. Enter the add-on code: (1703542984)
  4. Click "Ok" to install the add-on.
  5. Restart Anki, as you can only change the settings after this step

Usage

  1. Configure Source and Target Note Types: In the add-on's configuration, define which note types should be considered for automatic conversion (source note types) and which note type should be used for the cloze cards (target note type).
  2. Create Notes with Cloze Deletions: Create a new note using one of the configured source note types. Include cloze deletions in your note's text using the standard Anki cloze syntax (e.g., {{c1::keyword}}).
  3. Automatic Conversion: When you add the note, the add-on will automatically convert it to a cloze note using the target note type you specified in the configuration.

Configuration

The add-on's settings can be found in Anki's add-on configuration dialog ("Tools" -> "Add-ons" -> "Automatic Cloze Cards" -> "Config")

Contribution

You are welcome to improve and help this project / addon Just create a pullrequest on Github: https://github.com/liwoe/AutomaticClozeCards

README

Automatic Cloze Cards Add-on for Anki

This Anki add-on automates the creation of cloze deletion cards from your notes.

Features

  • Automatically generates cloze cards.
  • Configuration options to customize the cloze generation process.

Configuration

The add-on's settings can be found in Anki:

  1. Go to "Tools" -> "Add-ons".
  2. Select "Automatic cloze cards"
  3. Click on "Config".

Advanced Configuration

For advanced users:

  • The main logic of the add-on is located in the change_logic.py file.
  • You can uncomment the last part of the change_logic.py file if you want to have the settings/configuration options directly accessible in the "Tools" menu. This provides a more direct way to access the add-on's settings.

Usage

  1. Configure Source and Target Card Types: In the add-on's configuration, you can specify multiple source card types and one target card type.
  2. Create Cloze Deletions: When creating a note using one of the source card types, include cloze deletions in your text (e.g., {{c1::example}}).
  3. Automatic Conversion: Even if you initially select a basic card type, the add-on will automatically convert the note to the cloze card type specified as the target in the configuration when the note is added.

Installation

  1. See https://ankiweb.net/shared/info/1703542984

Dependencies

  • re
  • time
  • typing (Optional, List, Dict, Any)
  • anki (version as anki_version, errors.NotFoundError, hooks.wrap, notes.Note)
  • aqt (gui_hooks, mw, editor.Editor, utils.showWarning)

Contributing

Contributions are welcome! Please submit pull requests to suggest improvements or new features.