Home / AI / Magic Eraser (Remove Objects)

Magic Eraser (Remove Objects)

Brush over people, objects, text or watermarks and an on-device AI fills the area with matching background.

Free, no uploads, no sign-up. Runs 100% in your browser.

How Magic Eraser (Remove Objects) works

The area you paint is cut out together with the pixels around it, scaled to 512 × 512 and filled in by LaMa (Large Mask Inpainting, Apache-2.0) running with ONNX Runtime Web, on the GPU when your browser supports WebGPU and on the CPU otherwise. Only the painted area is replaced, with a soft edge, so the rest of the photo stays at full quality. The model (about 208 MB) is downloaded once and cached in your browser.

Input: JPG, PNG, WEBP, HEIC, TIFF, AVIF. Output: PNG, JPG, WEBP.

How to use Magic Eraser (Remove Objects)

  1. Drop a photo.
  2. Paint over what you want to remove. Use Unpaint to fix the mask.
  3. Press Remove and wait a few seconds.
  4. Repeat for more objects, then download the result.

Tips

  • Cover the whole object plus a little margin, including its shadow.
  • Remove large things in a few smaller passes for cleaner results.
  • Hold "Hold for original" to compare with the photo you started with.

Magic Eraser (Remove Objects) FAQ

Is my file uploaded?
No. Everything runs in this browser tab on your own device. Engines are downloaded once and cached, but your files never leave your computer.
Why is the first run slow?
The AI model is about 208 MB and is downloaded the first time only. After that it loads from your browser cache and each removal takes a few seconds.
Is the full resolution kept?
Yes. Only the painted area is replaced. Everything else is copied pixel for pixel from your original.
Are my files uploaded?
No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
Is it free? Are there limits or watermarks?
Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
Does it work offline?
Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.

Related tools

  • Background Remover: Remove image backgrounds with on-device AI. Replace with color or blur.
  • Photo Enhancer: Fix dull, dark, noisy or soft photos in one click: auto levels, white balance, denoise, sharpen, face-friendly smoothing and optional AI 2× upscale.
  • Blur & Redact Image: Auto-detect faces or paint areas to blur or pixelate.
  • AI Summarizer: Summarize PDFs, Word files and long text on your device, as paragraphs or key points.

OpenFile runs in your browser. Turn on JavaScript to use the tools.