All toolsESC
Generate / BG Remover
BG Remover
Remove image backgrounds with AI — runs 100% in your browser using on-device ML.
About BG Remover
Remove image backgrounds using AI that runs 100% in your browser. RAW's Background Remover uses on-device machine learning (U2-Net model via ONNX Runtime) to separate foreground from background without uploading your images to any server. Perfect for product photos, profile pictures, and design assets.
How to use
- 1Upload an image by dragging and dropping or clicking to browse.
- 2The AI model processes the image in your browser (first run downloads a ~40MB model).
- 3Preview the result with a transparent background.
- 4Download the result as a PNG with transparency.
Frequently Asked Questions
How does background removal work without a server?
RAW uses the @imgly/background-removal library which runs a U2-Net neural network model directly in your browser via ONNX Runtime WebAssembly. The ~40MB model is downloaded once and cached.
Is my image uploaded anywhere?
No. All processing happens locally in your browser using WebAssembly and your device's CPU/GPU. Your images are never uploaded to any server.
Why is the first run slow?
The first time you use the tool, it downloads the AI model (~40MB). This is cached by your browser, so subsequent uses are much faster. The actual processing takes a few seconds depending on image size and device.
What types of images work best?
The AI works best with clear foreground subjects like people, products, and objects against relatively uniform backgrounds. Complex scenes with multiple overlapping subjects may produce less precise results.