Remove an image background with a clear processing choice
This background remover uses a real foreground segmentation model, BiRefNet, through Cloudflare Images or ONNX Runtime Web. Cloudflare Images handles the first removal after you explicitly consent, which gives a fast result without waiting for a large download. After that first result, the tool prepares a local BiRefNet Lite model so later visits can run privately on your device. Both paths produce a soft alpha matte, and the editor refines that matte against the original pixels. The result is a cutout with smooth transitions instead of a hard, jagged outline.
The tool is designed for portraits, product shots, pets, objects and other photos with one clear main subject. It can also handle several subjects, but the strongest results come from a subject that is reasonably separated from the background.
How to remove a background from an image
- Choose an image. Drag a JPG, PNG, WebP or AVIF file into the stage, paste it, or use the file picker. The limit is 25 MB per image.
- Select Remove background. On a first visit, confirm the Cloudflare consent dialog to process the image. The local AI model is then prepared in the background for later visits. Returning visitors with a verified cached model run locally and are not uploaded.
- Check the matte. Use Compare original to inspect the source. Choose Erase or Restore, set a brush size and softness, then drag over the image to correct missed hair, a leftover background patch or an over-cut edge.
- Pick a background. Keep transparency, use pure white or black, choose a solid colour, build a gradient, upload your own background image, or apply the studio white effect with a contact shadow and optional floor reflection.
- Download. PNG preserves transparency, JPG bakes the selected background, and WebP gives a smaller file. The shadow, reflection and background blur you see in the preview are rendered into the exported file.
Transparent PNG or white background?
A transparent PNG or WebP is the right choice when the cutout will be placed on another design, a product page, a slide or a video. Transparency keeps every soft hair edge intact. A white background is better when the image will be printed, used in a marketplace listing that requires a white backdrop, or shown where transparent pixels would appear black or checkered.
JPG cannot store transparency. If you choose JPG while the transparent background is active, the exporter places the subject on white and says so in the download panel. It does not silently turn transparent pixels black.
Create a clean white studio product photo
The Studio white option is more than a white fill. It adds a bright studio sweep with a subtle ambient falloff, a soft contact shadow under the subject, and an optional floor reflection. The shadow controls let you change opacity, blur, direction, offset and fade. The reflection has separate intensity and fade controls. This produces a more natural product-photo look than a flat white rectangle, especially for shoes, bottles, watches and other objects that need to feel grounded.
For the most believable result, keep the shadow opacity moderate, place the light direction consistently, and use a small reflection rather than a mirror-perfect copy. The effect is rendered at the export resolution, not just painted on the preview.
Hair, fur and difficult edges
Fine hair is the hardest part of background removal. A binary mask cuts through strands and leaves a helmet-like edge. This tool keeps a soft alpha channel, then uses a guided refinement pass to pull the matte toward real colour boundaries in the photo. That helps with straight hair, curls, beards and fur, and it reduces the light halo that appears when a subject is photographed against a bright background.
No browser model is perfect. Very fine flyaway hair against a background of a similar colour, motion-blurred edges, semi-transparent glass, smoke, netting and chain-link details may still need manual work. Use a soft Erase brush at a small size for leftover background, and a soft Restore brush for hair the model removed. Compare original makes those corrections easier to judge.
Background blur and depth blur
Background blur softens the original photo or an uploaded background image while keeping the cutout sharp. Depth blur adds a second, stronger blur toward the bottom of the frame, which can suggest a shallow depth of field without pretending to be a physically accurate lens simulation. Both effects are applied to the final export.
Supported formats, size and resolution
JPG, PNG, WebP and AVIF are accepted when the browser can decode them. AVIF support varies by browser and operating system, so the tool reports a clear error if the file cannot be decoded. The input limit is 25 MB. The AI model works at 512 × 512 and the interactive preview is capped at 1800 pixels on the long edge for responsive editing. Export keeps the original aspect ratio and dimensions up to 6000 pixels on the long edge and about 24 megapixels in total. Larger images are scaled down for memory safety, and the tool does not claim AI upscaling or extra detail that was never captured.
EXIF orientation is applied while the image is decoded, so a phone photo that displays upright in your gallery is not rotated sideways in the editor. The exporter writes a new file and does not copy the original camera metadata.
Privacy, consent and processing
On a first visit, the image is uploaded to Cloudflare Images only after you choose Send to Cloudflare in the consent dialog. Cloudflare processes the image to return a transparent PNG. LetitEdit does not store the image or add it to an account. Cloudflare's own terms and privacy policy govern its handling of the request.
After the first result, LetitEdit prepares the local AI model (about 94 MB) in the background when the device and connection are suitable. You can cancel that preparation, and it never blocks the current result. On later visits, a complete cached model is verified with SHA-256 and used to process images entirely on your device. If local processing fails, the tool offers Cloudflare as a fallback and asks for consent again. It never silently uploads an image. If you decline consent, the image is not transmitted.
The model is stored in the browser's Cache Storage, not in the page's HTTP cache, so repeat visits do not re-download it. The browser may evict cached data under storage pressure, in which case the tool asks before downloading it again.
Troubleshooting
The model download stops or fails
Check your connection and try again. The first run has to download the model; a blocked request, an offline connection or a firewall that blocks the model host will stop it. The tool shows the HTTP status or a CORS/host error so you can tell a network problem from a missing model file. If your network blocks large files, try a desktop connection or a different network.
Processing is slow
Without WebGPU the model runs through WebAssembly on the CPU, which can take 30–90 seconds on a laptop and longer on a phone. Close other heavy tabs, use a smaller image, and try a browser with WebGPU support for the fastest path.
The cutout missed some hair
Switch to Restore, choose a soft brush and paint over the missing strands. Then switch to Erase for any background that came back with them. Undo and redo let you compare corrections without starting over.
The edge has a light halo
Try a slightly smaller brush with Erase along the boundary, or export to a background colour that matches the original lighting. The guided refinement reduces colour spill, but a very bright background can still leave a faint fringe on dark hair.
Frequently asked questions
Is this background remover really free?
Yes. The tool is free to use, needs no account and does not require a paid API. First-time Cloudflare processing uses the Cloudflare Images free allowance, and the local model is downloaded to your browser for later visits.
Are my images uploaded?
Only when you choose Cloudflare processing and confirm the consent dialog. On a first visit, the image is sent to Cloudflare Images to return a transparent PNG. After the local model is prepared, later images are processed on your device and are not uploaded. If you decline consent, nothing is transmitted.
Which AI model does the tool use?
Cloudflare processing uses its foreground segmentation feature, which runs BiRefNet through Cloudflare Images. Local processing uses BiRefNet Lite through ONNX Runtime Web with WebGPU where a real adapter is available, or WebAssembly on the CPU otherwise.
Can it keep fine hair and fur?
BiRefNet produces a soft alpha matte and the tool refines it against the original pixels. Straight hair, curls, beards and most fur edges are handled well. Very fine flyaway hair against a similar colour, motion blur and transparent objects can still need manual cleanup.
Which formats can I download?
PNG with transparency, JPG with the selected background, and WebP where the browser supports it. JPG cannot store transparency, so transparent areas are exported on white.
Does it change the image dimensions?
The export keeps the original aspect ratio and, for images up to 6000 pixels on the long edge and about 24 megapixels, the original dimensions. Very large images are capped for browser memory safety, so the tool never claims AI upscaling.
Why is the first removal different from later ones?
The first removal is handled by Cloudflare Images after consent, so it does not wait for a 94 MB download. The local model is then prepared in the background. Later visits use the verified cached model on your device, so the image is not uploaded.
What are the limitations?
The model works on one main subject and can struggle with transparent glass, smoke, extremely fine hair, heavy motion blur, very low contrast and busy scenes with several subjects. Manual erase, restore and background controls help, but the tool does not promise perfect results for every photo.