Free Image Occlusion Maker for Anki
Add a diagram, draw a mask over each label, and download an .apkg. No AI, and the picture never leaves your browser.
How it works
- Drop in a picture, paste a screenshot, or choose a file. Big photos are shrunk to fit.
- Pick Rectangle or Ellipse and drag over each thing you want to learn. Use Select to move or resize a mask, and Undo if you slip.
- Type what each mask hides. That label is the answer on the back of the card. Tick masks that belong together and press Hide together to make them one card.
- Choose how the cards ask, check the preview, name the deck and download the .apkg.
Anki's built-in tool, the add-on, or this one
Anki 23.10 and newer has Image Occlusion built in. If you already have Anki open on a computer, it is the better choice for most people, because you can edit masks afterwards. This tool is for when you want a file without opening Anki: on a laptop that does not have it, on a phone, or to hand a ready deck to someone else.
| Anki built-in | Image Occlusion Enhanced add-on | This tool | |
|---|---|---|---|
| What it is | Part of Anki 23.10 and newer. Add screen, Type, Image Occlusion. | An Anki add-on for image-based cloze deletions. Its page asks for Anki 2.1. | A web page. No install and no account. |
| Mask shapes | Rectangle, ellipse and polygon. | See its page. | Rectangle and ellipse. No polygon yet. |
| Edit masks later | Yes, from review or the browser. | See its page. | No. Make the deck again here. |
| Modes | Hide all, guess one. Hide one, guess one. | See its page. | The same two. |
| Needs Anki open | Yes. | Yes. | No, only to import the file. |
Anki's own description is in the manual and the add-on is described on its GitHub page. We left a cell as "See its page" where we have not checked the facts ourselves.
What it does not do
It does not find labels, and it has no polygon tool yet. The masks are baked into each card, so Anki cannot move them. One picture at a time, up to 100 masks. If you have a whole lecture of diagrams, the signed-in version detects the regions for you, see the image occlusion generator.
Frequently asked questions
Is my picture uploaded?
No. The picture is read into your browser's memory, the masks are drawn there, and the .apkg is built there. Nothing you add is sent to a server or stored. The first download does fetch the file builder from this site, which carries none of your data. A refresh starts again, so download before you close the tab.
Does it find the labels for me?
No. There is no AI in this tool, on purpose. You draw every mask yourself. If you want the boxes found for you, sign in for the upgraded version, which detects labels and regions automatically.
What is the difference between Hide all, guess one and Hide one, guess one?
In Hide all, guess one, every mask stays on the card and the one being asked is red. In Hide one, guess one, only the asked mask is drawn and the rest of the picture is visible. Anki's manual describes the same two modes for its own Image Occlusion.
Can I edit the masks in Anki afterwards?
No. This tool draws each mask into the card as a picture overlay, so Anki treats the cards as ordinary cards with images. Anki's built-in Image Occlusion keeps masks editable inside Anki. If you may want to change a mask later, come back here and make the deck again, or use Anki's own tool.
Will it work on AnkiDroid and my phone?
The cards use plain images and no scripts, so they are meant to show on desktop Anki, AnkiDroid and AnkiMobile. We have only checked the file by reading it, so import it once and look at a card before you build a big deck. You can also draw on a phone: choose a drawing tool and drag, then switch to Select to scroll.
What size and type of picture can I use?
JPG, PNG, WebP or GIF (first frame), up to 10 MB. Pictures over 4096 pixels on the longest side are shrunk to fit, and a picture over 50 megapixels is refused because a browser cannot safely open it. You can put up to 100 masks on one picture.
My iPhone photo will not open. Why?
iPhones save photos as HEIC, which most browsers cannot read. Convert it to JPG or PNG first, or take a screenshot of the photo and paste that.
Does the file keep my photo's location?
No. The picture is redrawn and saved again in your browser before it goes into the file, which drops camera details such as the time and GPS position. The rotation your camera recorded is applied first, so the picture stays the right way up.