Subdeck Optimization

AnkiWeb addon 1844743354

Adds tags to notes according to their cards' subdecks and can automatically flatten cluttered legacy decks, preserving hierarchy while speeding up Anki.
AI-generated summary; may contain mistakes.

taggingdeck-management

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
4 (πŸ‘ 4 Β· πŸ‘Ž 0)
Updated
2025-06-01
Anki versions
2.1.66~
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: 2025-06-17 (502 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 1 open, 0 closed.
  • Pull requests: 0 open, 1 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.55–2025-05-31
2.1.562.1.66+2025-06-01
History across monthly snapshots

Loading…

Similar addons

Tag Nicknames

Replaces cluttered hierarchical tags in the editor with a customizable, clickable list using bolded nicknames, middle truncation, wildcard rules, custom ordering, hover highlighting, and JSON import/export.

taggingsearch

3 votes 21% approval πŸ‘ 2 Β· πŸ‘Ž 1 Anki 23.09~ Updated 2025-10-27
Tag_to_Decks

Creates a deck and subdecks from a selected tag and its subtags, moving matching cards into alphanumerically ordered subdecks and showing progress during deck creation.

note-managementtaggingdeck-management

9 votes 45% approval πŸ‘ 7 Β· πŸ‘Ž 2 Anki 25.02.7~ Updated 2025-09-26
CSV Import Plus

Imports CSV or pasted text into Anki with auto-detected delimiters and note types, searchable deck selection, quick imports, subdeck creation, tag handling, and session history browsing or deletion.

card-creationimporttaggingdeck-management

8 votes 53% approval πŸ‘ 7 Β· πŸ‘Ž 1 ⭐ 1 Anki 25.09.4~ Updated 2026-10-22

Description

Too many subdecks will slow down Anki. This tool can add tags to every note in a deck based on the subdeck(s) that their cards belong to and can automatically flatten decks in order to clean up those cluttered legacy decks.

This is a new add-on. Please back-up your collection before using the add-on in case any new bugs are identified.
BUG: If you encounter a "Check database" error after using the add-on, please go to Tools > Check database. I'm working on making this automatic, but this will fix it in the meantime.

If something is not working, please follow this link to GitHub Issues, click "New Issue", and follow the template. If you would like to contribute, please open up a GitHub Issue for a new feature request so we can discuss before/while you fork and open a pull request. This is my very first add-on so please be kind and give me some time to fix any errors before a downvote, thank you so much!

Happy studying!
William Kariampuzha

README

Subdecks2tags

Too many subdecks will slow down Anki. This tool adds tags to every note in a deck based on the subdeck(s) that their cards belong to. This preserves a deck's hierarchy and allows anki subdecks to be removed. It was created to automate the process of reformatting legacy Anki decks towards the use of tags.

Contributing

Creating a Pull Request

  1. Submit a [feature request]((https://github.com/subdecks2tags/issues) first, to start the discussion and ensure that two people aren't working on the same thing at the same time and that the feature hasn't already been considered/tried.
  2. Fork this repository to your own GitHub account.
  3. Make your changes following this guide:
    • Include ample debug messages as print statements (not logging) when writing the code.
    • Utilize descriptive commit messages
    • Follow the Anki Add-on Guide) and ensure that you have passed all MyPy checks.
  4. Push your branch to your forked repository.
  5. Go to the original repository on GitHub and open a pull request from your branch.

Creating an Issue

If you encounter a bug or have a feature request, then go to the Issues tab of the repository and fill out one of the templates.

Thank you for helping improve Subdecks2tags!