Offline background removal for images, videos, and GIFs. Runs entirely on your machine - no uploads, no credits, no limits.
LocalBG removes backgrounds locally using AI models that run on your own hardware. No image ever leaves your machine. It works on still images, videos, and GIFs, and ships with both a GUI and a full CLI.
- Drop a single file or an entire folder - everything is processed in bulk
- Replace the background with a color, a custom image, or keep it transparent
- Export as PNG, WEBP, or PSD with separate layers
- ProRes 4444 with real alpha channel for video (no green screen needed)
- GPU accelerated on Windows (NVIDIA, AMD, Intel) with CPU fallback
- Bulk processing with no file count or file size limits
- Video and GIF background removal
- Edge despill - removes color bleed from colored backdrops
- Drop shadows and floor reflections
- Auto-center and margin control
- Image resizing and compression
- Custom watermarks and naming
- Save and reuse presets
- Alpha mask export
- AI enhancement (Real-ESRGAN)
- CLI support for automation, Docker, and self-hosted APIs
# Process a folder
LocalBG ./photos -o ./output
# Composite a video onto a custom background
LocalBG clip.mp4 -o ./out --background image --bg-image bg.jpg
# With despill, shadow, and webp export
LocalBG "$INPUT" -o "$OUT_DIR" --despill 80 --shadow 30 --format webpFull CLI reference: localbg.app/guide.html
Windows, macOS, and Linux. Headless Linux server use is supported - see the Linux server guide.
The free version processes one image at a time with no time limit. The Pro plan unlocks bulk processing, video, GIF, and all advanced features. See pricing.