AnkiWeb
- Rating
- 0 (π 0 Β· π 0)
- Updated
- 2026-09-25
- Anki versions
- 23.10~
- Description language
- en
AnkiWeb addon 207505597
Finds potentially unused Anki media by searching note text, including custom references, and can move unused files to trash with configurable subfolder scanning.
Open on AnkiWeb GitHub Ask about alternatives
active
| Min Anki | Max Anki | Updated |
|---|---|---|
| 23.10 | + | 2026-09-25 |
Loadingβ¦
Browse, search, preview, insert, replace, rename, and clean up Anki media images, including orphans and duplicates, with automatic card-related suggestions and recoverable deletions.
Safely scans and consolidates byte-identical media in Anki's collection via dry runs, updating note references and trashing redundant copies through official APIs.
Scans Anki media folders to find unused audio, image, and video files, allowing preview, review, backup-protected batch deletion, statistics, and a public API for add-ons.
Normalizes card audio volume by measuring and creating verified, volume-adjusted copies for consistent playback while reviewing, preserving originals and processing locally.
Displays byte sizes for collections, notes, decks, media, unused media, trash, revision logs, found notes, and attachments, while allowing notes to be sorted by size.
Extends Anki's editor duplicate checking to user-configured fields and adds collection-wide duplicate searches, grouping matching notes for review.
Find media files in your Anki collection that may no longer be used by any of your notes.
Some notes refer to pictures or audio using Markdown, JavaScript, or custom templates. Anki's regular Check Media may not recognize those references, as it only handles basic <img> for images or [sound:] for audio, etc... This add-on also looks for filenames in your note text, so it can find media used in those less common ways. It works alongside Anki's regular check and does not change it. If you want a more thorough search, use this addon. Especially built for power users. If you don't know what I'm talking about, this means you haven't faced this problem before, and so this addon is not for you (yet).
The add-on checks whether each exact filename appears in the text of any note in your collection. Uppercase and lowercase letters must match. Files whose names start with _, as well as Anki-generated LaTeX files, are automatically skipped.
To include files stored in subfolders of collection.media, open Tools β Add-ons, select Check Media (Extended), and choose Config. Set additional_paths to a list of paths relative to collection.media. For example (keep any other settings already in the object):
{
"additional_paths": ["assets/spanish-tts"]
}
Configured folders are scanned recursively. Use forward slashes; absolute paths and paths that leave collection.media are rejected. This add-on setting is shared across profiles, so each profile uses the same list; a folder missing from the active profile is skipped with a warning. A nested file counts as used if a note mentions its relative path or its basename, so a basename-only reference can conservatively keep same-named files in multiple folders.
Because the add-on looks for filenames in note text rather than interpreting every kind of formatting, a filename mentioned in a note for another reason may count as being used. Treat the results as suggestions and review them before moving any files.
Scanning does not delete or move anything. Move Unused Files to Trash asks for confirmation and moves unused files from the root and configured subfolders of collection.media to Anki's media trash. Nested files keep their relative folder structure there.
Anki's built-in Restore Trash does not support nested entries. To recover a nested file, manually move it from the matching path under media.trash back to its original relative path under collection.media before emptying the trash. The add-on's Empty Trash recursively and permanently deletes all contents of media.trash, including nested folders and files from previous checks; it cannot be undone. Do not use it until you have manually restored any nested files you want to keep.
Anki 23.10 (2.1.65) or newer with Qt 6.