5 0
Contact Author Sign in to rate

If a note has no more card, warns instead of deleting it

<10kB. Updated 2019-04-28.
The author has shared 82 other item(s).


Sometime, you press «Empty cards...», and anki also delete note. Because when a note has no more card, anki deletes it. However, maybe you didn't actually want to delete the whole note and lose its entire content. May be you thought anki were going to delete a few card which became empty, not realizing it will in fact delete EVERY cards, and thus delete the note, and its fields, and its tag... With this add-on, when you press «Empty cards», cards are deleted as usual, with one exception. If deleting the cards leave the note empty, then the cards are not deleted. Instead, the tag NoteWithNoCard is added to those notes, and the browser is opened to show those notes.


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 1588518230
This is the text of the warning (for documentary purposes):

1 note(s) should have been deleted because they had no more cards. They now have the tag "NoteWithNoCard". Please go check them. Then either edit them to save their content, or delete them from the browser.
Comment from author
Do you think I should add it in the add-on description ? I'm not sure I understand the point of this comment.
on 1560025176
on 1558551169
Great. Works great and protects from a danger I've never even considered.
on 1556421282
Very nice addon. I use anki for notetaking also and some notes have no cards. This addon takes care of them. Thanks :)
Comment from author
You are welcome. Just, pay attention if you use anki on computers without this add-on. They may still delete the note
on 1556375178
very nice. maybe even indispensable if you have many fields on your notes and maybe some conditional replacements and you are forgetful.