Skip to main content

Change Image Background

The subject is cut out automatically, then you choose what goes behind it: a solid colour, your own picture, a gradient or a blurred version of the original.

Upload a photo to change its background

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 to change a photo background

  1. Open a photo. The subject (a person, pet, product or car, for example) is found automatically. The first time, the model files are downloaded and then cached by your browser.
  2. Pick the new background in the Background panel: Colour (white is selected to start), Image (upload your own picture or choose a gradient), Blur (your original background, blurred), or None for a transparent cut-out.
  3. Check the edges. Zoom in on hair and outlines and hold the compare button to see the original. If needed, open Edges to change the edge quality, or use Erase and Restore to paint away leftover background or bring back missing parts.
  4. Download as JPG, PNG or WebP at the full resolution of your photo.

You can switch between backgrounds as often as you like; the subject is only detected once.

How the subject is separated

The tool uses the same in-browser pipeline as the AI Background Remover. An open-source segmentation model (IMG.LY background removal) estimates which pixels belong to the subject. The rough mask is then refined against the full-resolution photo with a guided filter, so edges follow the real outline, and fine strands of hair are kept in the Fine hair setting. Colour left over from the old background is removed from soft edges, so a subject shot in front of a green wall does not keep a green rim on its new background.

No automatic method is perfect. Fine hair, fur, glass, smoke and objects that are the same colour as their background are the hardest cases, which is why the Erase and Restore brushes are there.

Choosing a new background

BackgroundGood forTip
White or light greyProduct photos for online shops, passport and ID photos, CV picturesDownload as JPG for a small file
Brand colourSocial media posts, team pages, thumbnailsUse the custom colour picker to match an exact hex code
Your own picturePlacing a person or product in a new sceneChoose a picture with similar lighting and perspective
GradientProfile pictures and clean studio-style portraitsSoft, light gradients look the most natural
BlurA portrait-mode look that keeps the original settingRaise the strength until the background no longer distracts
None (transparent)Logos, stickers, designs and further editingDownload as PNG or WebP; JPG cannot store transparency

A background picture is scaled so it covers the whole photo and is centred; whatever overflows is cropped, so it is never stretched or squashed. A landscape picture suits a landscape photo best.

Downloading

  • JPG gives small files and is accepted everywhere. It cannot store transparency, so a transparent background becomes white.
  • PNG is lossless and keeps transparency. Use it for cut-outs and graphics.
  • WebP gives small files and keeps transparency, but some older software cannot open it.

The image keeps its original size, unless you tick Crop to subject, which trims the canvas to the subject's outline. Camera metadata such as EXIF and GPS location is not included in the download.

Where the processing happens

Your photo and any background picture are processed in your browser and are not uploaded. The model files are downloaded from IMG.LY's servers (or through this site if that server is blocked on your network) on first use, then cached; your images stay on your device. The site itself still loads analytics and advertising scripts, described in the Privacy Policy.

Questions about this tool

How do I put my product photo on a plain white background?

Open the photo. White is already selected in the Background panel. Zoom in to check the edges, then download as JPG for a small file. Use Erase to remove any shadow or leftover background you do not want.

How do I add my own picture behind the subject?

Open the Background panel, choose Image and press Upload a background picture. It is scaled to cover the whole photo without being stretched. You can also pick one of the gradients.

Can I blur the background instead of replacing it?

Yes. Choose Blur in the Background panel and set the strength. The subject stays sharp and the original background is blurred, similar to portrait mode on a phone.

Why is there a thin outline or halo around my subject?

Open Edges and keep Remove colour fringing on. Moving Shift edge to −1 or −2 trims a pixel or two from the outline. For leftover patches, use the Erase brush.

Part of my subject disappeared. What can I do?

Use the Restore brush and paint over the missing part, zooming in for precise edges. Choosing Fine hair in Edges can also keep more detail.

How do I get a transparent PNG?

Choose None in the Background panel and download as PNG (or WebP). JPG cannot store transparency, so it would use a white background.

Is my photo uploaded anywhere?

No. The subject detection, the new background and the download are all created in your browser. Only the model files are downloaded, and only the first time.