Remove Background from Photos
The first time, the background-removal model (about 16 MB) is downloaded once. After that, each photo takes just seconds.
With the background set to transparent, PNG keeps it transparent. JPG can't store transparency, so it's filled with the chosen color (white if transparent).
Remove backgrounds without installing anything or uploading photos
Cutting a person or product out of its background is handy for online shops, profile pictures and slides. This tool runs an AI model that finds the most prominent subject (a compact U²-Net) inside your browser. Your photo isn't uploaded anywhere — your own device does the work with a model downloaded once.
How to use it
- Drop a photo and the result appears on the right. The checkerboard shows transparent areas.
- Raise Edge sharpness for crisper outlines; lower it to keep fine details such as hair softer.
- Edge softness slightly blurs the outline so the subject sits naturally on a new background.
- Paint leftover background with the Erase brush and wrongly removed parts with Restore — fingers work too.
- Pick a background color and save as PNG or JPG. Turn on “Trim margins” for stickers or logos.
What works and what's hard
- Works well — people, products and pets in front of plain or simple backgrounds; objects with clear outlines like cups or shoes.
- Harder — subjects similar in color to the background, flyaway hair and fur, glass and other transparent objects, overlapping group shots, subjects cut off at the edge.
The model finds the subject at 320×320 and the mask is scaled back up, so edges on very large photos can be a little soft. Results are saved up to 2,400 px on the long side.
White background for an ID photo?
Choose white and save. Note that official passport photos can be rejected if the face or hair outline has been edited, so for official submissions a photo taken against a white wall is safest.
Model and licenses
Background separation uses U2NETP, the lightweight model from U²-Net (Qin et al., 2020), under the Apache License 2.0, running on Microsoft's ONNX Runtime Web (MIT License). Both are hosted on this site, so nothing is loaded from third-party servers.
Sources
Frequently asked questions
Is my photo sent to a server?
No. Only the model file is downloaded from this site once; all processing happens in your browser.
The first run is slow.
The engine and model (about 16 MB together) download the first time and are cached by your browser. On mobile data, Wi-Fi is recommended.
The hair edges look messy.
Lower “Edge sharpness” and raise “Edge softness” slightly, then clean up leftovers with the Erase brush.
Can I use the results commercially?
Images you make here are yours to use, but copyright and portrait rights in the original photo belong to its owner — make sure you have permission.
The page seems frozen.
Older phones and very large photos can take a few extra seconds. If it stays stuck, try a smaller photo.
Related tools
- Social Media Image Sizes (YouTube Thumbnail, Instagram)Fit photos to YouTube 16:9 or Instagram 1:1, 4:5, 3:4, 9:16 — crop or pad with a blurred background
- Compress ImageShrink JPG and PNG photos to a target size like 300 KB — batch, ZIP
- Resize ImageSet width and height in pixels or percent, use common sizes, batch resize
- HEIC to JPGConvert iPhone HEIC photos to JPG or PNG — many at once, ZIP
- WEBP to JPGConvert WEBP, AVIF, PNG and GIF to JPG or PNG — choose a background color
- Blur & Pixelate ImageDrag a box over faces, plates or personal info → pixelate, blur or black box