Change the background of a photo without uploading it
Put your subject on a plain color, a gradient, a blurred version of the original or a picture of your own, with an optional drop shadow.
- Photos never leave your device
- Free, no sign-up
- No limits, no watermark
Drop a photo here
or drag it here, or paste with Ctrl+V. JPG, PNG, WEBP, GIF.
Privacy: your photos are opened and changed by your browser, on this device. They are never uploaded to YardMaths or anyone else, and they are gone when you close the tab.
How to change the background of a photo
- Choose a photo, drop it on the box or paste it with Ctrl+V. Your device finds the subject; the first time, the browser downloads the cut-out model once.
- Pick the new background: a color (type a hex code, use a quick color or the eyedropper), a gradient, a blur of the original background, a picture of your own, or transparent.
- Turn on the drop shadow if the subject should sit on the new background, and set its softness, distance and strength.
- Drag the handle of the before and after view to check the edges. If the cut-out missed something, open Refine edges and paint with Erase or Restore.
- Choose PNG, JPG or WEBP and press Save picture: the file has the full size of your photo.
Why this tool runs in your browser
A background swap is often done on the photos people care about most: a portrait for a profile, a family picture, a product shot before launch. Here the second picture you choose as a background stays on your device too, so neither of the two ever reaches a server.
Because the whole composition is drawn in this tab, you can try ten backgrounds in a minute without spending credits or waiting for uploads, and the saved file keeps the width and height of your original instead of a reduced preview.
Which background to choose
| Background | Good for | Tip |
|---|---|---|
| Plain color | Profile pictures, ID-style portraits, online shops | White or light gray looks clean; a soft color makes a portrait stand out in a list of avatars. |
| Gradient | Social posts, presentation slides, banners | Two close colors look natural; From the center gives a studio light effect. |
| Blur the original | Portraits taken in a busy place, pets, food | A medium blur keeps the place recognizable while the subject pops, like a phone portrait mode. |
| Your picture | Travel montages, fun edits, mock-ups | Choose a picture with light coming from the same side as on your subject. |
| Transparent | Logos, stickers, layouts in other apps | Save as PNG or WEBP: JPG has no transparency. |
Making the result look real
- Match the light: a subject lit from the left looks pasted on a background lit from the right.
- Add a soft drop shadow with a small distance when the subject should stand on a surface; leave it off for a portrait in front of a wall.
- Check the hair and edges on a dark and a light background before saving: a fringe that hides on one shows on the other.
- For a pure white background with the product centered in a square, the Product Photo Maker does the framing for you. To only cut out the subject, use Remove Background.
Limits to know before you start
- The cut-out is automatic: fine flyaway hair, fur on a busy background, glass and smoke can keep traces of the old background or lose some detail. The brush fixes most cases, not every strand.
- The drop shadow is drawn from the outline of the subject, as a soft shape behind it. It does not know the 3D shape of the scene, so a shadow on the floor of a real room may still look different.
- The blurred background is computed on a smaller working copy and scaled up, which is invisible once blurred; a very light blur on a very large photo is therefore a little smoother than the slider suggests.
- The first use downloads the cut-out model, a large file kept by your browser for next time. One photo at a time; an animated GIF keeps only its first frame.
Change Background FAQ
Can I put my own picture behind the subject?
Yes. Choose Your picture, then pick any JPG, PNG, WEBP, GIF or BMP on your device. Fill crops it to cover the whole photo, Show it whole keeps it complete with the background color around it. Like your photo, it is never uploaded.
How do I blur the background instead of replacing it?
Choose Blur the original and move the Blur strength slider. The subject is left out of the blur, so its colors do not smear around it. If you only want that, the Blur Background tool has the same effect with fewer settings.
Does the new background keep the full resolution of my photo?
Yes. The saved PNG, JPG or WEBP has exactly the width and height of the photo you opened, with no watermark and no account.
Why does the drop shadow look wrong on some photos?
The shadow is made from the outline of the subject and placed behind it. It looks right for objects and people standing on a plain surface, less so when the photo was taken from above or the subject is cut off by the frame. Lower the distance or turn it off.
Which format should I save a new background in?
JPG for a photo with an opaque background, it makes the smallest file. PNG keeps every detail and supports transparency. WEBP supports transparency and stays small, and most recent apps open it.
Last updated . Free to use, no sign-up.