6 0
Contact Author Sign in to rate

rebuild all/empty all filtered decks (enhanced fork)

0.01MB. Updated 2021-12-11.
The author has shared 75 other item(s).


An Anki add-on that adds "Rebuild All" and "Empty All" buttons to the bottom of the main screen, to rebuild or empty all filtered decks at once.   Make sure to sync all changes on other devices to your desktop before you do any emptying/rebuilding. This avoids scheduling problems like lost repetitions. The anki creator explains why: "Moving cards to a different deck marks them as modified, and if you then sync to a device that has earlier pending changes, those changes will be overridden with the more recent change. To ensure this doesn’t happen, you need to make sure all changes made on other devices have been synced to your desktop before you do any emptying/rebuilding." This is not a bug in my add-on or the other "Rebuild All"/"Empty All" add-ons. This is also not a bug in Anki. It's just a mismatch. The filtered decks feature was not designed for batch rebuilds so when an add-on nevertheless does them there are some side effects. If you have substantial parts of your collection in filtered decks this also means that much more than expected has to be synced which could take much longer etc.   The original for Anki 2.0 is here. khonkhortisan released it for 2.1 as Rebuild All & Empty All for Anki 2.1. Arthur published his version as Automatically rebuild filtered deck. My release adds the following features: - an option to set in the add-on config which decks are built first and last: This might be useful if a card matches the criteria of multiple of your filtered decks because cards can only be in one filtered deck. - it works with the add-on Slackers' Delight (Postpone/Defer Button). Use this at your own risk. So far it has very few users. compatibility with other add-ons - In 2021-04 it does not wok with the add-on Advanced Review Bottom Bar. For some background and a workaround see this discussion. # bugs, errors, feedback Please do not use reviews for bug reports or support requests. I don't get notified of your reviews, and properly troubleshooting an issue through them is nearly impossible (formatting is limited and I can't reply multiple times). If you find a bug let me know in the official anki support forum, on github. versions - 2021-12-11 fix for 2.1.50/qt6, no more detection of slacker' delight that was removed from ankiweb - 2021-07-05 disable hidden auto rebuild feature for 2.1.45+ which breaks in these newer versions - 2020-10-08 fix for 2.1.36 - 2020-09-16 work with the add-on Slackers' Delight (Postpone/Defer Button) - 2020-05-27 bug fix - 2020-03-03 initial release


As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:


If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author


on 1651132275
This is one of my "must have" addons. I work on filtered decks (with scheduling enabled) that I rebuild and empty very often. It works perfectly on 2.1.49 (I haven't tested the auto-rebuild feature though)
on 1642703077
Would love to see the auto rebuild feature to be updated for 2.1.49+
on 1636594195
Very useful! Thank you very much indeed for this marvel, I beg you not to be outdated please
on 1606168039
Very useful
on 1591588409
what a wonderful add on. love it
on 1589693505
Good! Thank you