Skip to content
Tejo Tools
Search
Menu
Processed on your device

Remove background from image

Cut the subject out of a photo and save it as a PNG with a transparent background, right in your browser.

Background

The first run downloads the background model, up to 20 MB, once. Your images stay on your device.

Your files will appear here.

Last updated

What it does

Remove background finds the main subject of a photo, such as a person, a pet or a product, and makes everything around it see-through. The result is a PNG you can place on any other picture or page. The cleanest cut-outs come from a photo with one clear subject in front of a plain backdrop that contrasts with it.

Each file’s card shows the cut-out, so you can check it before you download.

How to use it

  1. Drop your photos on the drop area, paste them, or select Choose files. Select “Try a sample” to see an example photo with its background removed.
  2. Choose Transparent or White under Background. Every photo is done again when you change the choice.
  3. Select Download on a card to save one cut-out, or Download all to save them together in a ZIP file.
  4. Press Ctrl+Enter (⌘+Enter on a Mac) to run every photo again, or Esc to stop the ones still working.

The two backgrounds

How it works

The tool runs U²-Net-p, a small model trained to find the main subject of a picture, on your device. The model looks at a 320 × 320 pixel copy of your photo and estimates, for each pixel, how much of it belongs to the subject. That estimate is scaled up to the full size of your photo and used to make the backdrop see-through. Because the estimate is made at 320 × 320, fine hair and see-through parts such as glass come out soft.

Good to know

Worked examples

The sample, product.jpg, is a made-up 960 × 640 px product photo of a mug on a plain backdrop. It is 18.9 KB and holds 614,400 pixels. These examples use only the sample.

product.jpg on Transparent

The card reads “JPG → PNG · 960 × 640 px · background removed” and the file is product-no-bg.png, about 77.4 KB, which is about 4.1 times the size of the JPG. Of the 614,400 pixels, about 505,500 (82%) end fully see-through, about 87,000 (14%) fully solid and about 22,000 (3.6%) partly see-through. The corners are fully see-through. The pixel at the centre of the mug is fully solid and keeps the colour it has in the photo.

product.jpg on White

Choose White under Background. The card adds “on white” to the same line and the file is about 68.3 KB. All 614,400 pixels are solid and the corners are white. The pixel at the centre of the mug has the colour it has in the Transparent result.

A PNG that already has see-through areas

Take a PNG of the same photo whose outer 48 px and a 16 × 16 px patch on the mug are already transparent. The card reads “PNG · 960 × 640 px · background removed”. The edge and the patch are still fully see-through afterwards and the rest of the mug is solid. Each pixel’s transparency is the picture’s own transparency multiplied by the tool’s estimate of how much of the pixel belongs to the subject, so a part that was see-through stays see-through.

Common mistakes

Which photos cut out cleanly

The sample is the case this page describes: one clear subject in front of a plain backdrop. About 82% of its pixels end fully see-through and about 14% fully solid, with a soft band of about 3.6% between them. A photo with a busier backdrop, or a subject with fine or see-through edges, may leave a different share in the soft band, and one sample can’t show how another photo turns out. The card shows each cut-out before you download it, so you can look at the edge first.

Limits

You can add up to 10 images at once, each up to 50 MB and 50 megapixels.

Privacy and licence

Your images stay on your device: the tool runs in your browser and doesn’t upload them. The first run downloads the background model, up to 20 MB, from this site, once. When the site shows ads, Google can use cookies for them: in the EEA, the UK and Switzerland, Google asks for your consent first, and elsewhere Google’s own policies apply. The Privacy page explains how.

The background model is U²-Net by Xuebin Qin et al., under the Apache-2.0 licence, in the ONNX conversion from rembg, under the MIT licence. Both licence texts are at /licenses/u2net.txt on this site.

Advertisements

Frequently asked questions

Is my photo uploaded?

No. The background is removed by your browser, on your device, and your photo isn't uploaded. The first time, your browser fetches the background model from this site and keeps it for next time. The photo itself stays with you, and a new file is saved only when you select Download.

Why is the first run slower?

The first run downloads the background model and the program that runs it, up to 20 MB together, from this site. Your browser keeps both, so later runs start without downloading them again.

Why do hair and glass edges look soft?

The model works out the subject on a 320 × 320 pixel copy of your photo, and that estimate is scaled up to the full size. Fine detail such as loose hair, and see-through parts such as glass or a veil, can come out soft or partly removed. A photo with one clear subject in front of a plain, contrasting backdrop gives the cleanest edge.

What is the difference between Transparent and White?

Choose Transparent to place the cut-out on another picture or page: the backdrop is see-through. Choose White when the file goes somewhere that shows see-through areas oddly, such as a shop listing: the cut-out is laid over plain white and every pixel is solid. Both are saved as PNG.

Which formats can I use?

JPG, PNG, WebP, AVIF (where your browser opens it), GIF and BMP still images. Animated images and HEIC photos aren't supported. The result is always a PNG, named after yours, such as photo-no-bg.png.

Does it keep the full size of my photo?

Yes. The PNG has the same width and height in pixels as your photo, saved upright, even when the photo was taken sideways on a phone.

Advertisements