Drop an image here, paste with Ctrl+V, or choose a file
JPEG, PNG, WebP, GIF and AVIF. Your files stay in this browser.
Cut a person out of a photo
This tool runs MODNet, an open AI model for portrait matting, inside your browser. It finds the person in the picture, makes everything else transparent and gives you a PNG you can drop onto slides, thumbnails or a new background. You can also fill the background with a solid color before saving.
What to expect
- First use downloads the model, about 25 MB, from Hugging Face, plus the ONNX runtime from jsDelivr. Your browser caches them, so later visits start faster. Your photo is never sent to those services or to imgly.
- Processing takes from a few seconds on a laptop to around a minute on an older phone. Close other heavy tabs if the page runs out of memory.
- The model is trained on people. Products, pets and objects often come out with parts missing or extra background left in.
- Fine hair and see-through edges are softened, not cut out strand by strand.
Output
Transparent PNG at the original size, up to about 16 megapixels, or a PNG with a solid background color. This page is the only imgly tool that loads code from outside imgly, and it only does so after you add an image.
Privacy: the image stays in your browser while you work. Nothing is uploaded unless you press Host on imgly, which opens the upload page with your result ready to post.