Last updated · Written and tested by The EraseTextFromImage team, who build and maintain this tool.
An AI text remover is two separate jobs glued together: finding the text, and filling the hole it leaves. Getting each one right is what separates a clean result from a smudge. Here is how ours works, step by step.
Step 1: text detection (OCR with regions)
A vision model scans the image and returns a box around every line of text it can read, along with the words. We use Microsoft's Florence-2. It handles printed text in most fonts, sizes and colours, including outlined meme text and small camera date stamps. You see each box numbered on the image, and the words in a list, so you can untick what to keep.
Step 2: a mask that follows the letters
A box is too coarse: a caption's rectangle also covers whatever the caption crosses. So inside each box, your browser works out the text colour (the most common colour that differs from the background around the box), marks the pixels close to it, and widens that by about a quarter of the line height to catch soft edges and outlines. Small text, like a date stamp, gets the padded box instead.

Step 3: inpainting
The image and the mask go to LaMa, an inpainting model built to fill large holes. It looks at the whole picture, not just the edge of the hole, which is why it can continue a horizon, a shoreline or a wood grain behind the text. It costs us about $0.002 per image, which is what makes a generous free tier possible.
Step 4: putting it back together
Your browser takes your original and replaces only the masked pixels with the inpainted ones. Then, for each masked area whose surroundings are one flat colour (a white chat bubble, a slide background), it fills with that exact colour, because inpainting models can leave faint "ghost" letters on flat colour.
What we tested and rejected
| Approach | Verdict |
|---|---|
| Generative one-click text removal | Clean, but redraws the whole image at a new size; about 25x the cost |
| Generic object-removal model | Good on plain colour, but invented fake letters on detailed areas |
| LaMa with rectangle masks | Wiped the edges of objects next to the text |
| LaMa with letter-tight masks + flat fill | Chosen: faithful, fast, cheap |
See every image from the comparison on our AI text removal test page.
AI text remover FAQ
Which AI models does this text remover use?
Florence-2 (from Microsoft) finds and reads the text, and LaMa (Large Mask inpainting) fills in the background. Both run on fal.ai's GPUs. We picked them after testing four approaches side by side.
Why not just ask an image generator to remove the text?
We tried. Generative editors remove text well, but they redraw the whole image, often at a different size, and quietly change details. For product photos or screenshots that is a problem.
Does the AI read my text?
Yes, it has to read the image to find the text. The words are sent back only to your browser so you can choose what to keep. We don't log or store them.
Can the AI remove handwriting?
Often. Neat handwriting is usually detected; messy or faint handwriting may not be. Brush over it and it is removed the same way as printed text.
Is AI text removal free?
Yes, on this site you get 5 images a day free. Each removal costs us a fraction of a cent in GPU time, which is why the free tier has a daily cap.