Model and limits
This implementation uses the MIT-licensed studioludens/birefnet-lite-512 browser ONNX export with Transformers.js. Its 512×512 inference resolution is practical for browsers but may soften very fine edges on large source images.
Device behavior
WebGPU is preferred when available; WASM is the fallback. Actual processing time is measured and shown after each run instead of claiming a universal speed. The model is loaded only on this tool page when processing starts.
Remove a background step by step
- Select a clear JPG, PNG or WebP with one main subject.
- Start processing and allow the on-device model to finish downloading if this is your first visit.
- Inspect the edges of hair, clothing and transparent objects before exporting a PNG.
- Choose a transparent background if you plan to place the cutout on another design, or select a solid colour for a finished visual.
When does background removal work best?
A clear foreground subject, even lighting and a visibly different background usually make the result easier to review. Fine hair, translucent fabrics, motion blur and similar foreground/background colours are harder. This is an automated first pass, not a guarantee of perfect masking. Inspect product details carefully before publishing an ecommerce image.
Transparent PNG or a new background?
Transparent PNG is useful for product catalogues, presentations and composite designs. A solid colour gives you a ready-to-share image, though it cannot restore details removed by the model. To change the final canvas size, open the image resizer; to reduce its file size afterward, try the image compressor.