Scratch & Spot Remover

Brush away thin scratches, dust specks and age stains from old photographs with smart local smoothing — free, private, and right in your browser.

Private by design — your photo is processed locally and never uploaded.

Drop a photo here, or click to browse

Supported formats: JPG, PNG, WebP, GIF, BMP

Before After

Drag to compare

Tip: upload the largest scan you have — bigger input gives better results.

How It Works

Most old prints carry small enemies: a hair dragged across the scanner glass, dust that baked onto the emulsion, a thin crack in the negative, foxing stains in the paper. A global blur would erase these marks — but also every eyelash and pore. The Scratch & Spot Remover instead asks one question of every pixel: "are you suspicious compared to your local neighborhood?" If yes, it blends you toward the neighborhood median; if no, it leaves you completely alone. Everything runs locally in your browser, so the photo never leaves your device.

The two controls:

Repair radius

The size of the neighborhood inspected around each pixel. Radius 1 handles hairline scratches and dust dots; radius 2 covers wider specks and light stains, at the cost of slightly softer fine detail.

Sensitivity (threshold)

How different a pixel must look from its surroundings before it is treated as damage. Higher sensitivity removes more scratches, but also starts softening real texture; lower sensitivity is conservative and keeps faces intact.

Why median, not blur

A median filter takes the middle value of the neighborhood instead of the average. A single bright scratch line is the minority in every window it crosses, so it is voted out — while real edges, where half the pixels are dark and half light, survive the vote.

Selective blending

Only pixels that strongly disagree with the median are pulled toward it. Skin, walls and sky that look normal are never touched, which is why the result stays natural instead of going plastic.

An honest note: this tool is tuned for thin scratches, dust and small spots. It cannot fill a large torn-out area, inpaint around a big fold, or remove a heavy stain that covers a whole face — those need cropping or careful manual work. If a mark is wider than a few pixels, raise the repair radius and sensitivity gradually and check the before/after preview.

How to Use

  1. Upload the damaged scanDrop in the photo with visible scratches or dust. A clean flatbed scan at 300+ DPI gives the algorithm clear signal to work with.
  2. Click "Auto Smooth"The default radius 1 and sensitivity 50 remove most hairline scratches and dust specks while keeping faces natural.
  3. Raise sensitivity for bad scansIf visible scratches survive, nudge "Sensitivity" up in steps of 10 until they fade — stop before skin texture starts to soften.
  4. Widen the radius for big spotsFor larger dust blobs or light stains, switch "Repair radius" to 2; keep an eye on eyelashes and fine lines.
  5. Download the cleaned photoExport PNG for your archive, JPG for sharing, WebP for the smallest size.

Who this is for — and what it will not do

Use it for discrete marks — dust specks, hot pixels, emulsion flakes, short creases and the dotted damage left by a dirty scanner glass. It is not a replacement for retouching a torn corner, and it is not meant for long diagonal scratches that cross a face.

  • Flatbed dust. White and black specks spread evenly across a scan, worst in skies and dark clothing.
  • Short emulsion cracks. The little hairline breaks that appear on prints stored in dry heat.
  • Pre-print cleanup. Removing a handful of distracting marks before an enlargement, without touching real texture.

Mistakes that ruin the result, and the fix for each

  • Sensitivity at maximum on a textured photo. At the top end the detector starts treating knitwear, freckles and film grain as marks. Work upward from 50 and stop as soon as the specks disappear.
  • Chasing a long scratch with the spot brush. It will leave a smeared stripe. Long damage needs a proper clone/heal pass in a desktop editor.
  • Forgetting the physical cause. If the same specks appear on every frame of a scan batch, clean the scanner glass first — removing them digitally is the expensive way.

Field Notes: Settings That Actually Work

Concrete starting values taken from the tool's own parameters, plus what to change when the first result is not right.

The realistic job for this tool is a single flatbed pass over a shoebox of prints: ninety percent of the frames are fine, and ten carry a hairline scratch, a scatter of dust, or a fingerprint smudge. Those marks are a few pixels wide, which is exactly the scale where a median test can tell damage from detail. Only two sliders exist, and the second one is not "more cleaning" — it is a threshold that decides how big a difference between a pixel and its neighbours counts as damage. That is why setting it to 100 does not simply erase more: it starts treating real texture as damage.

What you seeStart hereWhy it worksIf it is still wrong
A single hairline scratch across a smooth sky or wallRepair radius 1 · Sensitivity 65Radius 1 takes the median of 9 neighbours. At sensitivity 65 a pixel is fully replaced once it differs from that median by about 77 grey levels, and blended proportionally below that — so the soft gradient of the sky is untouched.Scratch survives: 80 (full replacement at about 63 levels). Sky turns blotchy: 55 and widen the radius instead.
Dust specks and salt-and-pepper dots on a light shirtRepair radius 1 · Sensitivity 45At 45 the full-replacement point moves to roughly 111 levels, so only genuinely hard specks are rewritten, and the fabric weave keeps its texture. Light dust gets partial blending rather than a hard edit.Specks still visible: 60, then check the collar — the place where fabric meets skin is where over-smoothing shows first.
A soft 3–4 px stain or a dust blob that reads as a smudgeRepair radius 2 · Sensitivity 55Radius 2 samples a 5×5 window, so a mark has to be a minority of 25 pixels before the median can vote it out. Larger windows also smooth the repair itself, which is what keeps the patch from showing as a hard coin.If the blob is still there, the median is contaminated by the blob itself — stop, that mark needs cropping or manual work, not a bigger radius.
A scratch crosses a cheek or an eye areaRepair radius 1 · Sensitivity 35At 35 nothing is fully replaced below about 143 levels, so only the strongest part of the scratch is pulled toward its neighbourhood; facial gradients and lashes survive at the cost of a faint remaining trace.If the mark is still obvious on the cheek, go to 50 and compare at 100% zoom; if lashes start to blur, back off and accept the trace.

The median test has one blind spot worth respecting: it judges a pixel against its surroundings, so it only works when the damage is the minority. A thin crease that runs the full height of the frame, a torn corner, or a stain wider than the window cannot be voted out — it becomes part of what "normal" looks like. For long folds the AI Photo Restorer has a dedicated multi-row fold pass that tracks a wavy ridge across the frame. For grain rather than marks, Photo Denoiser blends the whole frame instead of only the suspicious pixels. For a missing corner, Photo Cropper is the honest answer.

What it cannot do: the radius tops out at 2, a 5×5 neighbourhood, so anything wider than about four pixels is out of scope — and raising sensitivity instead will soften eyelashes, hair strands and engraved text before the stain goes. The channels are processed independently, so a coloured mark on a strongly coloured edge can leave a faint colour fringe even when the brightness looks repaired. There is no inpainting, no texture synthesis and no way to redraw a face. Preview work happens at 2000 px on the long side, which is why a mark you cannot see in the preview but can see in the download is worth fixing on the full-size export.

Sources & further reading

FAQ

Is my photo uploaded to a server?
No. The scratch-smoothing runs entirely in your browser with the Canvas API. Your photo never leaves your device, and the page keeps working after you disconnect from the internet.
Can it remove big tears or missing areas?
No — and honestly, no simple local tool can. This algorithm blends small damaged pixels toward their neighborhood; a torn-out area has no good neighborhood to borrow from. Crop around big damage or plan a careful manual touch-up after using this tool for the small marks.
Some thin scratches are still visible. What now?
Raise the "Sensitivity" slider. It controls how strongly a pixel must disagree with its surroundings before it is treated as a scratch. Increase it in steps of 10 and watch the preview — too high and flat skin areas start to soften.
Why does the photo look soft after processing?
Either the repair radius is 2 on a detailed portrait, or sensitivity is too high. Drop sensitivity back toward 40–50; the tool only softens pixels it believes are damaged, so a more conservative setting protects fine detail.
Is it free?
Yes — free, unlimited, no watermark. We support the site with ads and an optional Pro tier later.

Related Tools

Related Guides