Photo Background Remover & Color Changer

Cut out photo backgrounds and swap with transparent PNG, passport red, blue, or studio colors. 100% in-browser memory.

Private by architecture: All processing is 100% client-side memory. Your data never leaves this browser tab.

Drop photo here or browse

PNG, JPG, WebP. Or paste with Ctrl+V / Cmd+V

Try sample:
Color to Clear:
#ffffff
18%

Higher values remove wider color variations and subtle shadows.

1.5 px

Smooths pixel transitions to prevent jagged cutout halos.

-- x -- Cutout: --% -- ms

No Photo Loaded

Drop an image, paste from clipboard, or click a sample to start background removal.

Processed in client-side RAM. Lossless export ready.

About This Tool

Photo Background Remover lets you extract foreground subjects, eliminate solid or studio backdrops, and substitute replacement background colors directly in your browser.

Choose between transparent PNG output, official passport photo backgrounds (Red or Blue), studio neutral tones, or custom hex colors. Built-in perimeter flood-fill preserves matching colors inside the subject (such as white teeth, shirts, or logos).

All pixel segmentation runs 100% locally in browser memory via HTML5 Canvas and typed arrays. No files are uploaded to any remote server.

Key Features

  • Perimeter flood-fill segmentation: Removes background starting from outer borders inwards, ensuring matching colors inside your subject remain protected.
  • One-click passport and studio colors: Instantly swap backgrounds to standard Passport Red, Passport Blue, Studio White, Neutral Gray, or custom hex codes.
  • Edge feathering and smoothing: Adjust boundary softness from sharp pixel cutouts to smooth anti-aliased transitions with live slider feedback.
  • Interactive canvas eyedropper: Click directly on any pixel in your image to sample and target that exact color for removal.
  • Multi-format high-res export: Download as transparent PNG, high-quality JPEG, modern WebP, or copy directly to system clipboard.
  • Zero server upload: Client-side processing guarantees your private photos and identity headshots never leave your device.

Frequently Asked Questions

How does the background remover work without uploading to a server?
The tool uses client-side HTML5 Canvas pixel manipulation. It analyzes the RGB values of perimeter boundary pixels, calculates Euclidean color distances, applies flood-fill pathing, and computes smooth edge feathering directly in your browser memory.
What is the difference between Perimeter Flood-Fill and Global Color Range?
Perimeter Flood-Fill starts at the image borders and only clears contiguous background pixels. If your subject is wearing a white shirt against a white backdrop, flood-fill leaves the shirt intact. Global Color Range replaces all matching pixels anywhere in the image.
Can I use this for official passport or visa photos?
Yes. Preset buttons provide standard Passport Red (#dc2626) and Passport Blue (#2563eb), as well as neutral Studio White (#ffffff) and Gray (#64748b) for CVs, LinkedIn, and identity cards.
Are my images stored, logged, or trained on by AI?
No. There is zero server involvement. All calculations run strictly in client-side JavaScript. When you close the tab, all pixel data is discarded from RAM.