Automatically Sort Cards into Decks via Rules

AnkiWeb addon 1983579655

Moves selected Anki cards into specified decks using configurable note-type, tag, and card-template rules with wildcards, undo, and debug support.
AI-generated summary; may contain mistakes.

note-managementdeck-managementcard-templates

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-02-06
Anki versions
2.1.1~
License
Not found (this does not mean that the addon has no license)
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-02-06 (268 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-02-06
History across monthly snapshots

Loading…

Similar addons

Retire Cards Custom Interval

Automatically suspends mature cards on profile startup using per-deck interval thresholds, skipping already-suspended cards and tagging affected notes with a configurable retired tag.

schedulingtaggingdeck-management

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 Anki 25.09.2~ Updated 2026-04-20
Duplicate and Reorder has 1 fork β†’

Moves selected notes up or down and duplicates them beneath the originals in Anki's browser when the deck is sorted by Created, using keyboard shortcuts or menus.

note-managementshortcuts

96 votes 76% approval πŸ‘ 81 Β· πŸ‘Ž 15 Anki 2.1.66~ Updated 2023-08-27

Description

This add-on automates the sorting of Anki cards into specific decks based on user-defined logic.

It beneficial if you split cards of the same note into different decks (e.g. separate decks for Read/Write cards), or use an "Inbox" deck.

Functionality

The add-on adds a menu item to the Anki Browser. When cards are selected and the tool is triggered, it evaluates each card against a set of rules defined in the configuration file. If a card matches the criteria for a rule, it is moved to the specified deck.

What it can do

  • Rule Priority: Rules are processed from top to bottom. If multiple rules match a single card, the last rule in the list takes precedence.
  • Multi-Criteria Matching: Rules can target cards based on Note Type, Tags, or Card Template names. All criteria within a single rule must be met for the move to occur (AND logic).
  • Wildcard Support: Uses standard wildcard patterns (*) for flexible matching of names and tags.
  • Case Insensitivity: Matching ignores capitalization to prevent errors from inconsistent naming.
  • Undo: Moves can be reverted immediately using the standard Anki undo command (Ctrl+Z or Opt+Cmd+Z).
  • Debugging: Includes a debug mode to display why specific cards did or did not match the current ruleset.

Configuration Parameters

  • note_pattern: Matches the Note Type name.
  • tag_pattern: Matches any tag present on the note.
  • card_pattern: Matches the specific Card Template name. [REQUIRED]
  • deck: The destination deck path (e.g., "Parent::Subdeck"). [REQUIRED]

Usage

  1. Define rules in the add-on configuration.
  2. Open the Browser and select cards.
  3. Right-click or use the "Cards" menu to select "Move Cards by Config Rules".