BG-Zero downloads AI model files once, caches them in your browser, and then removes backgrounds from images without any internet connection. Here's how offline mode works.
This article is part of our guide on removing backgrounds without uploading images. Read the complete guide here.
Yes — with one condition. AI background removal needs a neural network model. BG-Zero downloads this model once on your first visit, then caches it in your browser. After that, all processing works offline.
BG-Zero is not a fully offline desktop app — it's a web app that becomes offline-capable after the first visit:
A browser-based offline background remover usually depends on more than one file. The visible web page is only the entry point. Behind it, the browser may need JavaScript bundles, WebAssembly runtime files, model weights, tokenizer or preprocessing metadata, worker scripts, and configuration files that describe how the model should be loaded. Once these assets are available, the app can run image segmentation locally without sending the selected image to a remote processing API.
The model weights are typically the largest part of this structure. They contain the learned parameters that allow the model to recognize subjects, edges, and background regions.
Runtime files such as WebAssembly modules or worker scripts help execute the model efficiently in the browser. Configuration files help the app know input size, preprocessing rules, output format, and which runtime path to use.
On the first run, the browser downloads model and runtime assets. On later runs, those assets may already be cached, so the app starts faster and may continue to work offline, depending on browser storage state.
The image stays local, but the tool still needs to load its AI engine into the browser. Offline support is about caching that engine and the application shell, not about uploading the user's photo.

Offline support in a browser is usually built from several storage mechanisms. Cache Storage is commonly used for request/response assets such as the app shell, JavaScript bundles, style files, WebAssembly files, and model files fetched by URL. It works well with a service worker because the service worker can intercept requests and return cached responses when the network is unavailable.
| Capability | Cache Storage | IndexedDB | Offline Remover Usage |
|---|---|---|---|
| Best for | URL-based request/response assets | Structured records, metadata, blobs, app state | Use both for different jobs |
| Common assets | App shell, JS, CSS, WASM, model files | Preferences, metadata, local-only history | Cache model/runtime; store settings if needed |
| Service worker | Works naturally | Indirectly, via app or worker logic | SW returns cached model files |
| Update strategy | Version caches and refresh changed assets | Migrate object stores and records | Keep model versions explicit |
| Privacy concern | Cached app/model files are not user uploads | Could store user data if app chooses to | Avoid storing source images unless disclosed |
| User control | Clear site data / browser cache | Clear site data / app-provided controls | Provide clear reset/cache guidance |
Caching app assets is not the same as uploading user images. If a product stores any user-generated image locally, it should clearly explain where it is stored, how long it stays there, and how the user can delete it.

To ensure you can use BG-Zero offline when needed:
Visit BG-Zero and process at least one image with each engine you plan to use offline.
Open DevTools → Application → Storage to confirm model files are cached.
Disconnect from internet or enable airplane mode. BG-Zero will still process images.
Upload images, remove backgrounds, and download PNGs — all without network.
Offline background removal has real limitations. Understanding them helps set correct expectations and design better workarounds.
Offline background removal means "offline after the required assets are cached," not "fully available before the first visit." The first run may need to download the app shell, model files, WebAssembly runtime, and worker scripts.
Explain clearly in the UI: "Open once while online to prepare offline use." Show a readiness indicator after model and runtime files are cached.
Users can clear site data manually, private browsing modes may discard storage, and browsers may remove cached data under storage pressure or policy constraints.
Treat offline readiness as a state that can change. Provide a "check offline readiness" action and a simple way to re-download model assets when needed.
Running AI in the browser depends on CPU, memory, GPU availability, browser version, and image size. A modern desktop may process images smoothly, while an older phone may be slower.
Offer practical controls: resize large images before inference, show progress states, provide a lower-memory mode, and fall back to WASM when WebGPU is unavailable.
Even an offline-capable app may check for updates, load new model versions, or fetch documentation. The important distinction is whether the source image is uploaded for processing.
Separate network categories in product copy: app/model assets, optional analytics, and user images. State clearly that the original image is not uploaded.
Some browser features can be restricted by enterprise policy, content security settings, storage rules, private browsing, or older browser versions.
Use feature detection instead of assumptions. Show meaningful fallback messages, provide a compatibility checklist, and keep a basic processing path available.

Common questions about using BG-Zero without internet
After the first visit, yes. The AI model files are cached in your browser. Once cached, you can disconnect from the internet and still remove backgrounds from images.
The AI model file for your chosen engine: imgly (44MB default, optional 88MB or 176MB upgrades), Transformers.js (~176MB), or rembg-web (4.7MB–176MB depending on model). These are neural network weights, not your images.
Until you clear your browser cache or storage. Under normal use, models remain cached indefinitely. If cleared, they will re-download on the next visit.
Yes, as long as each engine model was loaded at least once while online. Each engine caches independently — you can switch between cached engines offline.
Currently BG-Zero is a web app. However, since all processing is local after cache, it works like a desktop app once models are cached. You can also self-host BG-Zero on a local server for air-gapped environments.
Load the model once, then remove backgrounds anytime — no internet needed.
Open BG-Zero