Images

Background Remover — Remove Backgrounds Fast

Cut a photo's background out using an AI model that runs entirely in your browser — no upload required.

Runs entirely in your browser — nothing you paste is uploaded or stored.

Runs a small AI model entirely in your browser — nothing is uploaded. The first image on this device downloads the model (~18 MB total); every image after that is fast.

Drag a file here, or

What is background remover?

This tool removes the background from a photo using a small AI segmentation model (u2netp) that runs entirely inside your browser via WebAssembly — the same category of model that powers most "AI background remover" web apps, except nothing here is ever sent to a server. Drop in a photo and the model finds the main subject and builds a transparency mask around it. From there you can keep the cut-out area transparent, fill it with a solid color or a two-color gradient (in any of eight directions), blur or pixelate the *original* background while keeping the subject sharp, drop in a different image as a replacement background, or pick a ready-made background from the Template gallery — dozens of procedurally-drawn art patterns and real, license-verified nature photos, grouped by category. With a replacement image, freely drag, resize and rotate the cutout on top of it to place it exactly where you want. Export as PNG, JPEG, or WebP, with the same quality/compression controls as this site's Image Compressor, so the final file is small as well as clean. The very first image processed on a given device downloads the model and its WebAssembly runtime (roughly 18 MB combined); the browser caches both, so every image after that runs fast with no further download. Because everything happens on-device, this works offline once that first download finishes, and a photo never leaves your machine.

When to use it

  • Cutting a product photo's background out for a marketplace listing or an e-commerce catalog.
  • Compositing a subject onto a different photo — a new backdrop for a portrait, or a product shot moved onto a lifestyle scene — with full control over its position, size and angle.
  • Swapping a photo's background for a solid color or a brand-colored gradient to match a product-listing or marketing style.
  • Blurring the background behind a video-call screenshot or headshot so the subject stands out without a full background swap.
  • Dropping a subject onto a ready-made scenic or patterned backdrop from the Template gallery when you don't have a replacement photo of your own.
  • Preparing a transparent PNG logo or graphic from a photo of a printed or physical version.
  • Removing a distracting background from a screenshot or photo before pasting it into a document.

How to use this tool

  1. Drop a photo in, or choose one from your device.
  2. Wait a few seconds while the AI model analyzes the image (longer the first time, while the model downloads).
  3. Choose what replaces the background — transparent, a solid color, a gradient, a blur/pixelate of the original background, another image, or a template from the gallery.
  4. For a replacement image, drag the cutout to position it, its corner handle to resize it, and its top handle to rotate it.
  5. Once the result is opaque, pick an output format and quality.
  6. Drag the before/after slider to check the result against a checkerboard transparency background, then download the finished file.

Example

A real, public-domain sample photo with its background removed.

Input

A public-domain photo of a cat on a wall (via Wikimedia Commons).

Output

The same photo as a PNG with everything outside the cat made transparent.

Press "Load example" to try the actual bundled sample photo and see the real cutout for yourself.

How the AI model works

u2netp is a compact version of U²-Net, a neural network trained to find the single most salient object in a photo and produce a grayscale mask of it — bright where the subject is, dark where the background is. This tool resizes your photo down to the model’s fixed input size, runs it through the model using onnxruntime-web (Microsoft’s WebAssembly build of ONNX Runtime), then scales the resulting mask back up to your photo’s original size and uses it as the alpha (transparency) channel of the output PNG. All of that — model, runtime, and every pixel — runs inside your browser tab.

Why the first run is slower

Unlike this site’s other image tools, which use only the browser’s own built-in APIs, this one needs an actual AI model, so it’s the one tool here with a real one-time download: about 4.6 MB for the model weights and roughly 14 MB for the WebAssembly runtime that executes them. That only happens once per device — the browser’s own cache keeps both around, so it isn’t re-downloaded on your next visit unless you clear site data.

License and attribution

u2netp is distributed under the Apache-2.0 license by the U²-Net authors, via the rembg project’s model release. onnxruntime-web is Microsoft’s MIT-licensed WebAssembly build of ONNX Runtime. Both run entirely client-side — no request containing your photo is ever made to either project or to any server this site controls. The “Load example” sample photo is Stray cat on wall.jpg by Neal Ziring, released into the public domain.

Every “Art & patterns” template is drawn locally with the Canvas API — no bundled image, no external source, no license to track. Every “Nature photos” and “Landmarks” template is a real photo from Wikimedia Commons, individually verified before being added. Most “Nature photos” are U.S. federal government work (National Park Service, U.S. Fish & Wildlife Service, or Department of Transportation employees photographing as part of their official duties) and are in the public domain in the United States, requiring no attribution. The remainder — including every “Landmarks” photo, none of which is public domain — are Creative Commons–licensed uploads, credited here as their license requires:

  • White Sands National Park dunefield — dconvertini, CC BY-SA 2.0
  • Crater Lake National Park — w_lemay, CC BY-SA 2.0
  • Grand Canyon at sunset — Eric Kilby, CC BY-SA 2.0
  • Zabriskie Point, Death Valley National Park — Christian David, CC BY-SA 4.0
  • El Yunque National Forest rainforest canopy — EgorovaSvetlana, CC BY-SA 4.0
  • Autumn foliage, Great Smoky Mountains — Jason Hollinger, CC BY 2.0
  • Badlands National Park (Toadstool Rock) — DimiTalen, CC0 1.0 (public domain dedication)
  • A snow-covered United States from satellite — NASA Goddard Space Flight Center, CC BY 2.0
  • Oxbow Bend, Grand Teton National Park — Michael Gäbler, CC BY 3.0
  • Cliffside houses of Oia, Santorini, Greece — Rambling Traveler, CC BY-SA 3.0
  • Aerial view of Bora Bora, French Polynesia — Julius Silver, CC BY-SA 4.0
  • Trunk Bay, Virgin Islands National Park — Barry Haynes, CC BY-SA 3.0
  • The Great Wall of China at Jinshanling — Vincent Ndaku, CC BY-SA 3.0
  • The Treasury (Al-Khazneh), Petra, Jordan — Rob Oo, CC BY 2.0
  • Christ the Redeemer, Rio de Janeiro — Arturdiasr, CC BY-SA 4.0
  • Machu Picchu, Peru — Pedro Szekely, CC BY-SA 2.0
  • The Taj Mahal, Agra, India — Yann, CC BY-SA 4.0

Every other Nature photo (beach, snowy mountains, wildflower meadow, waterfall, glacier, coastal cliffs, prairie, wetland, aurora, cherry blossoms, night sky, Milky Way, star trails, the U.S. Capitol Building, the Alaska Range, a Hubble Space Telescope galaxy and nebula, ocean waves, a rainbow, a volcanic eruption, fog, a hurricane satellite image, a meteor shower, a solar eclipse, tide pools, wildfire, and a lighthouse) is public-domain U.S. federal government work — National Park Service, U.S. Fish & Wildlife Service, NOAA, NASA, USGS, the Architect of the Capitol, the Department of Transportation, and the National Archives — sourced from official photography on Wikimedia Commons.

Frequently asked questions

Does this upload my photo anywhere?

No. The AI model and its WebAssembly runtime download once to your browser, then every image you process runs locally on your own device with no network request carrying the image itself. This is true of every tool on this site, not just this one.

Why does the first image take longer than the rest?

The first run on a given device downloads the segmentation model and the WebAssembly runtime that executes it — about 18 MB combined. Your browser caches both after that, so every image processed afterward (even after closing and reopening the tab) skips the download and runs noticeably faster.

How good is the cutout compared to a paid background remover?

This uses u2netp, a small, fast segmentation model well-suited to running in a browser — it does a solid job on a clear subject against a reasonably distinct background (product photos, portraits, most everyday photos), but it isn't going to match a specialized paid service on fine detail like individual strands of hair or fur, or a subject that blends closely into its background. For everyday cutouts it's free and instant; for professional retouching work, a dedicated paid tool will still edge it out on the hardest cases.

Can I remove the background from more than one photo?

Yes — process as many as you like, one at a time. Only the very first one pays the model-download cost; every photo after that reuses the already-downloaded model for the rest of your visit.

What file formats does this accept, and what does it output?

It accepts any common raster format your browser can decode — JPEG, PNG, WebP, BMP. Output stays PNG-only while the background is Transparent, since PNG is the format that actually supports the transparent pixels a cutout needs — once you switch to a solid color, a gradient, a blur, a replacement image, or a template, the result is fully opaque, the format switches to JPEG by default (you can still pick WebP or PNG yourself), and the same quality slider and PNG lossless/lossy controls as the Image Compressor become available. An animated GIF or an SVG isn't accepted, for the same reasons the Image Compressor and Image Cropper don't take them either.

Can I replace the background instead of just removing it?

Yes — once the cutout is ready, switch from Transparent to Color (any solid color), Gradient (two colors in any of eight directions), Blur (soften the original background instead of replacing it), Image (upload a replacement photo), or Template (pick from a gallery of ready-made backgrounds). Switching the background never re-runs the AI model — only the first cutout does that — so trying a few different backgrounds is instant.

Can I position, resize or rotate the subject on the replacement image?

Yes — once you choose a replacement background image, the cutout becomes fully adjustable on top of it. Drag it to move it, drag its corner handle to resize it, or drag its top handle to rotate it, with a live preview as you go; the same four values (X, Y, scale, rotation) are also plain number fields underneath for precise or keyboard-only adjustment. The output image is sized to the replacement photo's own dimensions, and the cutout can be placed fully or partially outside the frame if that's the composition you want — whatever hangs off the edge is simply cropped out of the final export, the same way it would be in any layered image editor.

How does the Blur background option work?

It keeps the subject the AI model found perfectly sharp and applies a soft Gaussian-style blur or a mosaic pixelate effect (your choice, with an adjustable strength slider) to everything behind it — the classic "portrait mode" look, done entirely with pixel math on your own device, no second AI model involved.

Where do the Template gallery's backgrounds come from?

Two sources. "Art & patterns" are drawn live with Canvas — gradients, bokeh, stripes and the like — so they add no download weight and raise no licensing question at all. "Nature photos" are real bundled photographs, each one either genuine U.S. federal government work (public domain) or a Wikimedia Commons upload under a Creative Commons license that was individually checked before being added — see the License and attribution section below for the full photographer credits.

Find these tools useful? A coffee helps keep them free and ad-light.

Buy me a coffee