OfflaneAI

Change the background —
white, colour, blur, your own photo

Drop a photo and the AI finds the subject. Then pick a plain colour for ID or product shots, a gradient, a blurred version of the original, a photo of your own, or a white sticker outline — and download PNG or JPG. Runs on your device.

  • 🖼️ Colour · gradient · blur · photo
  • 🏷️ Sticker outline
  • 🔒 Photo stays on your device
  • 💸 Free, no watermark

Loading the tool… (JavaScript required)

How do I put a white background on a photo?

Drop the photo, wait for the cut-out, choose “Solid colour” and the white swatch, then download as JPG. The same works for any colour required by passport, visa, CV or marketplace listings.

Can I blur the background like a portrait-mode photo?

Yes — choose “Blur background” and adjust the strength. The subject stays sharp while the original background is blurred, so the result looks natural because it keeps the real lighting.

Is the cut-out good enough for hair and fur?

The general-purpose model handles hair, fur and semi-transparent edges well on most photos. If part of the subject is missing, use the Remove Background tool, which has a brush to fix the mask, then bring the PNG here as “Your photo”.

How to change a photo background

  1. Add the photo. Drop a JPG, PNG or WebP file on the upload area, click it to choose a file, or paste with Ctrl+V. The subject is detected automatically; there is nothing to outline.
  2. Wait for the cut-out. The first run downloads the model once. When it finishes, the mode buttons and a live preview appear.
  3. Choose a mode. “Solid colour”, “Gradient”, “Blur background”, “Your photo” or “Sticker outline”.
  4. Adjust the mode. Pick a swatch, move the “Blur strength” or “Outline width” slider, or drop a background picture. The preview redraws at once, because the cut-out is computed only one time.
  5. Decide on the shadow and the file type. “Soft drop shadow” is ticked by default; “Format” offers PNG and JPG.
  6. Download. The button shows the format and the file size before you save. “Another photo” clears everything for the next picture.

The five modes

Solid colour

Fills the frame with one colour. Ten swatches are ready: white, light grey, near-black, blue, red, green, amber, pink, violet and sky blue. The colour field next to them opens the full picker, so you can enter an exact brand or document colour. White is selected when the tool opens.

Gradient

Eight two-colour blends that run diagonally from the top left corner to the bottom right. They suit avatars, thumbnails and social posts. The colours of a gradient cannot be edited; for one exact tone use “Solid colour”.

Blur background

Keeps the real scene and softens it. The tool blurs the original photo and then draws the sharp subject on top. “Blur strength” goes from 2 to 40 px and starts at 12.

Your photo

Drop a second picture and it becomes the new background. It is scaled until it covers the whole frame and centred; whatever sticks out at the sides or at the top and bottom is cropped. The result keeps the size and proportions of the first photo.

Sticker outline

Draws a white border around the subject and leaves everything outside it transparent. “Outline width” goes from 4 to 40 px and starts at 14. This mode always saves a PNG and has no shadow option.

Mode and settings by purpose

GoalModeSettings
Main image for a marketplace listingSolid colour, whiteShadow off, JPG
Background for an ID or visa photoSolid colour, white or light greyShadow off, JPG
CV or profile headshotSolid colour or GradientShadow off, JPG
Portrait-mode look from an ordinary photoBlur background, 8–15 pxShadow off, JPG
Hide an untidy roomBlur background, 25–40 pxShadow off, JPG
Product placed in a lifestyle sceneYour photoShadow on, JPG
Thumbnail or social postGradientShadow on, PNG or JPG
Printable or messenger stickerSticker outline, 10–20 pxPNG is set automatically

For official documents the background colour is only one of the rules. Head size, margins and the print sheet are handled by the passport photo maker.

Soft drop shadow: when to keep it

The shadow is a soft dark copy of the subject, 35 % black, shifted slightly downwards and blurred in proportion to the image size. It is switched on when the tool opens.

Keep it

On gradients and on a replacement photo the shadow separates the subject from the new surface and hides small flaws along the edge.

Switch it off

  • On white for marketplaces and documents: the shadow shows as a grey rim, and many listing rules ask for a clean background.
  • In “Blur background”: the real scene already has its own light, and an extra dark outline looks pasted on.
  • For a person cut off at the bottom edge of the frame: the shadow under a cropped torso makes no physical sense.

PNG or JPG

PNGJPG
QualityLosslessSaved at 92 % quality
File sizeLarge for photosSeveral times smaller
TransparencyKept in “Sticker outline”Not possible
Use it forStickers, further editing, graphics with flat colourListings, documents, e-mail, social media

PNG is preselected. For a photo on a colour, a blur or another picture, switch to JPG unless you plan to edit the file again: the picture looks the same and uploads faster. If a form sets a maximum file size, check the number on the download button and reduce it with the image compressor when needed.

How the subject is found

A segmentation model marks every pixel as subject or background, and the mask is cleaned the same way as in our background remover: faint leftovers are cleared and small detached specks are dropped. You do not choose the model here.

  • On a computer whose graphics card can run it (most Macs, some Linux machines) the cut-out comes from BiRefNet-lite, which draws the finest hair and fur edges.
  • Everywhere else it comes from ISNet general-use on the CPU. Phones get compact weights.

On some computers the page first tries the larger model and moves to ISNet when it cannot run. That only lengthens the first cut-out.

This tool has no brush. When the mask misses a part, see the first entry under Troubleshooting.

Choosing a background photo that looks believable

Match the light

If the subject is lit from the left, pick a scene lit from the left. A face photographed indoors under a lamp never sits well on a beach at noon.

Match the camera height

A product shot from above needs a surface seen from above. A person photographed at eye level needs a horizon near eye level.

Match the proportions

A wide landscape behind a tall portrait loses most of its width when it is scaled to cover the frame. Cut the background to the same proportions first with the image cropper, and you decide which part stays.

Prefer a calm, slightly soft scene

A background with less detail than the subject keeps attention where it belongs and hides small edge errors. A tack-sharp, busy scene does the opposite.

Getting natural-looking blur

The slider counts pixels of the image, not of your screen. The same 12 px is clearly visible on an 800 px photo and subtle on a 2000 px one, so judge by the preview rather than by the number.

Lens blur in a camera grows with distance; this blur is even across the whole background. On a head-and-shoulders shot nobody notices. On a full-length shot the ground at the person’s feet is blurred as much as the far wall, which can look odd, so stay with low values there.

Because the whole original is blurred before the sharp subject is drawn on top, very high values spread a faint glow in the subject’s own colours around its outline. If you see it, lower the strength a few steps.

Photos that work, and photos that struggle

PhotoResult
One person or product, clearly separated from the sceneClean edge in every mode
Pet or person with fluffy hairGood; fine tips may be shortened
Group of people standing togetherTreated as one subject
Subject in the same colour as its surroundingsParts may be missing
Glass, mesh, veils, smokeUnreliable
Small figure in a wide landscapeCoarse outline; crop closer first

Sizes, formats and limits

  • Input: JPG, PNG and WebP. HEIC photos open only where the browser can decode them itself.
  • Output size: the same as the photo, up to 2048 px on the long side. Larger photos are scaled down to that size. The line under the buttons shows the exact pixel size.
  • Layout: the subject stays where it was and keeps its size. You cannot move, scale or rotate it, and the background photo cannot be shifted.
  • Outline colour: white only.
  • One photo at a time.

When the result has to be an exact pixel size for a platform, finish with the image resizer.

What is downloaded and where the work happens

The page downloads one model file on first use and stores it in the browser’s cache: 115 MB for BiRefNet-lite, or ISNet at about 45 MB on a phone and up to 176 MB on a computer. Detection runs in a background thread on your device. Everything after that, such as colour, blur, shadow and outline, is plain canvas drawing with no model involved, which is why changing a setting costs no time and no data. Neither the portrait nor the background picture is sent to a server.

On a phone, keep the tab in front until the cut-out is ready; a tab in the background can be paused by the system.

Troubleshooting

Part of the subject is missing or a piece of background stayed

Open the photo in the background remover, correct the mask with its “Erase” and “Restore” brushes, and save from there. For a plain colour its “Download with color” button gives the finished picture directly.

A grey rim surrounds the subject on white

That is “Soft drop shadow”. Untick it.

The background photo is cut off at the sides

It is scaled to cover the frame. Crop it to the proportions of the main photo before you drop it.

The saved JPG has a black background

“Your photo” was selected but no background picture was added, so the area behind the subject was empty, and JPG cannot store transparency. Add a background or choose another mode.

The sticker outline looks jagged

The outline follows the mask, so every stray hair and every dent is repeated in it. Subjects with a smooth contour give the cleanest border; for fluffy hair or fur keep “Outline width” low.

The first run is slow

The model is being downloaded. Later photos skip this step, even after you close the tab.