Home / AI / AI Image Segmenter
AI Image Segmenter
Split a photo into labelled regions like sky, people, road and trees, then cut any of them out.
Free, no uploads, no sign-up. Runs 100% in your browser.
How AI Image Segmenter works
The model runs with Transformers.js and ONNX Runtime inside a background worker, so the page never freezes. It downloads once from the Hugging Face model hub and is then cached by your browser, so it works offline. With WebGPU it uses your graphics card, without it the CPU. Your files are never uploaded. It uses SegFormer B0 trained on 150 scene classes. A quick colour-region mode with k-means needs no download.
Input: JPG, PNG, WEBP. Output: PNG.
How to use AI Image Segmenter
- Drop a photo.
- Press Find regions.
- Tap regions to select them.
- Download a cutout, a mask or the coloured overlay.
Tips
- Use the mask PNG in any photo editor to replace the sky or background.
AI Image Segmenter FAQ
- Is my file sent to a server?
- No. Only the model weights are downloaded. Your images and text are processed inside your browser.
- Why is the first run slow?
- The model has to download once. After that it loads from the browser cache in a few seconds.
- My computer has no WebGPU. Does it still work?
- Yes. The model runs on the CPU in a background worker. It is slower but the page stays responsive, and you can cancel at any time.
- Are my files uploaded?
- No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
- Is it free? Are there limits or watermarks?
- Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
- Does it work offline?
- Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.
Related tools
- Background Remover: Remove image backgrounds with on-device AI. Replace with color or blur.
- AI Object Detector: Find people, cars, animals and 70 more everyday objects in a photo, with boxes and counts.
- AI Depth Map: Turn any photo into a depth map, and add a portrait style background blur using it.
- AI Summarizer: Summarize PDFs, Word files and long text on your device, as paragraphs or key points.