Skip to main content

AI Background Remover

Cut out the main subject of a photo, refine the edges, touch up anything the model missed, and download a transparent PNG. The photo is processed in your browser, not uploaded.

Upload Image for Background Removal

JPG, PNG or WebP. People, products, animals, cars and more.
Choose file

or paste an image (Ctrl+V)

Processed in your browser, never uploaded. You keep full ownership of your images. View license

Runs in your browser. Your photo is never uploaded.

How the background is removed

This tool uses IMG.LY's open-source background removal library, which runs an IS-Net segmentation model with ONNX Runtime and WebAssembly in your browser. The model looks at a 1024 x 1024 version of the photo and estimates, for every pixel, how likely it is to belong to the main subject.

That rough mask is then refined at your photo's full resolution: an edge-aware filter uses the original photo to sharpen the outline, small stray spots are removed, and background colour that bleeds into semi-transparent edges (a green fringe around hair against grass, for example) is subtracted. On GPUs that support it the model runs on the graphics card; otherwise it runs on the processor.

Refining and touching up

  • Edge quality: Smooth for simple outlines such as products and logos, Balanced for most photos, Fine hair to keep more strand detail.
  • Shift edge and Feather: pull the edge in a few pixels to lose a halo, or soften it so the cut-out blends into a new background.
  • Erase and Restore brushes: paint over leftover background, or bring back parts of the subject the model removed. Zoom in for precise work; Ctrl+Z undoes a stroke.
  • Compare: hold the compare button to see the original photo.

The first run downloads the model

The model and its runtime are not part of the web page. The first time you open a photo, your browser downloads them (roughly 100 MB) from IMG.LY's content network, staticimgly.com. If your network blocks that address, the tool retries through imageyork.com, which passes the same files through unchanged. The browser caches the files, so later runs start much faster.

Only program and model files are downloaded. Your photo is not sent to IMG.LY or to Image York; it is processed on your device. The servers delivering the files see an ordinary download request, including your IP address, as with any web resource.

What it handles well and what needs checking

  • Good results: people, pets and products with a clear separation from the background.
  • Check carefully: fine hair against a busy background, glass and other transparent objects, shadows (which may be kept or removed), objects touching the frame edge, and photos with several possible subjects. The Restore and Erase brushes are there for these.
  • Not designed for: removing a specific object while keeping the rest, or keeping the background and removing the person.

For simple graphics on a flat colour (a logo on white, for example), the colour-based Transparent Background Maker can give cleaner straight edges.

Downloading the result

Download as PNG or WebP to keep transparency, or as JPG with a background colour you choose. Crop to subject trims the empty transparent margin. Results are saved at your photo's original size. Processing uses your device's memory, so a very large photo on an older phone can be slow; images above 40 megapixels are refused with a message to resize first.

To put the cut-out on a new background, use Change Background or Background Color Changer, or open it as a layer in the Advanced Image Editor.

Software credit

The background removal library and model are published by IMG.LY under the GNU Affero General Public License (AGPL).

Questions about this tool

Why is the first run slow?

Your browser is downloading the segmentation model and runtime. Later runs reuse the cached files.

Does it work offline?

Only after the model has been downloaded and cached by your browser, and only if the page itself is still loaded. The site does not offer a full offline mode.

I need a photo of myself without the background for a profile or document. How do I do it?

Open the photo; the background is removed automatically. Check the edges, touch up with the Erase or Restore brush if needed, and download a PNG. To put it on a plain colour instead, pick the colour in the Background panel and download a JPG.

Part of my subject was removed, or some background was kept. Can I fix it?

Yes. Use the Restore brush to paint back parts of the subject, and the Erase brush to remove leftover background. Shift edge pulls the outline in or out by a few pixels. For a product or logo on a plain background, the Transparent Background Maker may give cleaner straight edges.

I saved the result as JPG and the background turned white or black. Why?

JPG cannot store transparency, so the transparent area is filled with a colour (white unless you pick another in the Background panel). Download as PNG, or WebP for a smaller file that stays transparent.

How do I put the cut-out on a new background?

Use Change Background to place the subject on a colour or a picture of your choice, or open the PNG as a layer in the Advanced Image Editor.

Is my photo uploaded to remove the background?

No. The model runs on your own device. Only the model files are downloaded from IMG.LY the first time; your photo stays in your browser.