Remove image background

Cut out the subject of a photo with AI.

loading Remove image background
About this tool

What does removing an image background mean?

Removing the background means separating the subject of a photo (a person, a product, a pet, a logo) from everything behind it. The result is a cut-out with transparent background pixels, ready to place on a slide, a white product page, a banner or another photo. A small neural network finds the subject for you in a few seconds.

This tool uses U2-Net-p, an open model (Apache-2.0) that predicts, for every pixel, how likely it is to belong to the main subject. The model is about 5 MB and runs with ONNX Runtime compiled to WebAssembly, which is around 15 MB more. Both download the first time you use the tool, from this site, and stay saved in your browser, so the next visits open instantly. Your photo is processed on your own device: it is never uploaded, there is no account, no watermark and no daily limit.

You can keep a transparent background (PNG or WebP) or put the subject on a solid colour, which is handy for marketplace listings, ID-style photos and profile pictures. A brush editor lets you fix the spots the model got wrong.

How to remove the background from a photo

  1. Drop one or more pictures on the page, pick them with the file button or paste one with Ctrl+V. JPG, PNG, WebP, HEIC/HEIF (iPhone photos), AVIF and BMP are accepted. An example photo is loaded so you can see the result before using your own.
  2. Under Background, choose Transparent to get a cut-out, or Solid colour and pick the Colour (white is the default).
  3. Choose the Format: PNG keeps the transparency without losing quality, WebP keeps it in a smaller file, and JPG appears only when the background is a solid colour, because JPG cannot store transparency.
  4. Click Remove background. The first time, the engine and the model download (you see their size before and the progress during the download); after that, each photo takes a few seconds.
  5. Compare the before and after. If hair or edges look rough, raise Soft edge; if a thin halo of the old background remains, move Edge: grow / cut closer towards cut closer; if parts of the subject were eaten, move it towards grow.
  6. Still not perfect? Click Open the editor, pick Restore to paint back parts of the subject or Erase to remove leftovers, adjust the Brush size, then click Update the result.
  7. Download the picture, or every result at once as a ZIP when you processed several photos.

Examples

Product photo for an online store

A phone photo of a sneaker, sneaker.jpg, 4032 × 3024 pixels. Settings: Solid colour, white, format JPG.

InputOutput
sneaker.jpg, 4032 × 3024, background: a wooden tablesneaker-no-background.jpg, 4032 × 3024, pure white background

The size is kept because the longest side is below the 4096-pixel limit of the tool.

Portrait for a profile picture

portrait.heic from an iPhone, 3024 × 4032. Settings: Transparent, PNG, Soft edge 2.5 for the hair.

InputOutput
portrait.heic, 3024 × 4032portrait-no-background.png, 3024 × 4032, transparent background

The HEIC photo is read directly; no need to convert it to JPG first.

Very large camera picture

dog.jpg from a 24-megapixel camera, 6000 × 4000. Settings: Transparent, WebP.

InputOutput
dog.jpg, 6000 × 4000dog-no-background.webp, 4096 × 2731, transparent background

Pictures whose longest side exceeds 4096 pixels are scaled down to 4096 on that side, keeping the proportion, so the browser does not run out of memory.

Batch of five catalogue photos

Five PNG files dropped at once, same settings for all. Each one gets its own result, and Download all as ZIP saves them in no-background.zip.

Common errors and how to fix them

  • The download of the engine fails or stops: the 20 MB of engine and model come from this site the first time. Check the connection and click Try again; what already arrived is kept. After the first download the tool works offline.
  • The browser ran out of memory: very large pictures or many at once can exhaust the memory of a phone. Process fewer files at a time, close other tabs, or reduce the photo first with Resize image.
  • Parts of the subject disappeared: the model works best with one clear subject that stands out from the background. Move Edge: grow / cut closer towards grow, or paint the missing parts back with Restore in the editor.
  • A coloured halo around the subject: typical when the old background had a strong colour. Move the edge slider towards cut closer and lower Soft edge.
  • "is not a supported file for this tool": the file is not an image the tool reads (for example a PDF or a RAW camera file). Export it as JPG or PNG first; for HEIC, WebP and AVIF there is no need.
  • The JPG option is missing: JPG has no transparency, so it only appears when you pick Solid colour.

Frequently asked questions

Is it really free, without a watermark?

Yes. No account, no credits, no watermark, and as many pictures as your device can handle: the work is done by your own browser.

Are my photos uploaded to a server?

No. After the engine and the model download from this site, the picture is decoded, analysed and saved inside your browser. You can check it: once the engine is saved, the tool keeps working with the connection turned off, as long as the page is open.

How do I make a background transparent and keep it that way?

Choose Transparent and save as PNG or WebP. JPG always fills transparent areas with a colour, which is why the tool hides it in transparent mode.

Can I put a white background on a product photo?

Yes: choose Solid colour and keep the default white, or pick any colour. Save as JPG for the smallest file accepted by most marketplaces, then shrink it further with Compress image if the store has a size limit.

Does it work on hair and fur?

Reasonably well for a 5 MB model. Fine hair can lose detail; raising Soft edge gives a more natural transition, and the editor fixes the rest. Busy backgrounds with the subject's colours are the hardest case.

What can I do with the cut-out next?

Make an icon with the Favicon and ICO generator, change its size with Resize image, or put several cut-outs into one document with Images to PDF.

Report a problem