Eraslino

Eraslino › Guides

How to remove text from an image: three backgrounds tested

By Eraslino · Published 2026-11-15 · Updated 2026-11-15

Short answer: open the image in an inpainting tool, paint over the text with a brush a little wider than the letters, and let the tool fill the area from its surroundings. In Eraslino that is three clicks and runs in your browser without uploading the image.

Which fill method to pick depends on what is behind the text. In our test on three backgrounds, Quick patch was closest to the original on smooth sky, while Smart fill was the only one that kept the grain of wood and the pattern of brick.

To measure this rather than eyeball it, we put captions on three public-domain photos ourselves, so the untouched photo is the answer key. Each example below opens in the eraser with the same selection, so you can repeat it.

Step by step

  1. Open the image. Drop a PNG, JPEG, WebP or iPhone HEIC file onto the page, paste it, or click Choose photo. The file is read by your browser; nothing is sent to a server.
  2. Paint over the text. Set the brush a little taller than the letters and drag along each line. Cover the whole letter, including anti-aliased edges and any drop shadow. One stroke per line of text is enough.
  3. Pick a fill method and erase. Smart fill (MI-GAN) generates texture; Quick patch (Telea) pulls the surrounding colours in. Hold Hold to compare to flick between the result and the original.
  4. Fix leftovers and download. Paint over any trace and erase again on the result, then download a PNG or JPG at the original size.
Eraslino with a sunset cloud photo loaded; the words GOLDEN HOUR and Seedskadee, Wyoming are covered by two red brush strokes
Step 2 in the eraser: two strokes, one per line, each about 20 px taller than the letters. The Fill method panel on the right is where you choose Smart fill or Quick patch.
Open the sky example in the eraser →

Test 1: text on a smooth sky

A white two-line caption over sunset clouds (selection: 99,609 pixels, 9.2% of the 1280 × 850 photo).

Crops of the cloud photo: with the caption, after smart fill, after quick patch, and the original
Top to bottom: caption, smart fill, quick patch, original. Smart fill draws new clouds that are believable but not the real ones; quick patch leaves soft vertical streaks where the letters were.

On a gradient sky, quick patch had the lowest error of all our tests (16.5). Smart fill's invented cloud shapes were further from the real clouds (26.4) than leaving the text in (24.6): plausible is not the same as correct.

Test 2: text on weathered wood

"FOR SALE / call 555-0142" with a drop shadow, over grey planks (83,426 pixels, 7.6%).

Crops of the wood photo: with the text, after smart fill, after quick patch, and the original
Smart fill continues the grain lines through the letters; quick patch fills them with flat grey that reads as a smudge on a textured surface.
Open the wood example →

Test 3: text on a brick wall

"NO PARKING" over a brick wall (71,595 pixels, 5.8%). Brick is the hardest of the three because the mortar lines must line up.

Crops of the brick photo: with the text, after smart fill, after quick patch, and the original
Smart fill keeps the brick texture but bends the mortar lines; quick patch removes the letters and leaves a blurred band across two courses of brick.
Open the brick example →

Results

Error is the average absolute difference from the original photo over the selected pixels (0–255 scale; lower is closer). Detail compares the fine texture inside the selection with the original (1.00 = as much fine detail; near 0 = smooth). Time is the fill itself in Chrome on an Apple M4 Pro, model already cached; the first smart fill also downloads about 39 MB.

BackgroundText left inSmart fillQuick patchDetail (smart / quick)Time (smart / quick)
Sky (gradient, clouds)24.626.416.50.41 / 0.56*0.8 s / 0.1 s
Weathered wood40.723.726.00.30 / 0.030.8 s / 0.1 s
Brick wall49.121.720.20.22 / 0.050.9 s / 0.1 s

* On the sky, quick patch's streak edges count as "detail", so its score is not a sign of real texture there.

What the numbers say

On a phone

The same page works on a phone: paint with a finger, and the Erase and Download buttons move into a bar at the bottom of the screen.

The eraser on a 390 px wide phone screen with the cloud photo and its red selection
Phone width (390 px). Smart fill runs on the phone itself, so it is slower than on a laptop.

Sources

Keep going