Forum Discussion

Eamllopssin's avatar
Eamllopssin
Iron Contributor
Jul 14, 2026

How can I remove background from a photo or picture in bulk?

I’ve got hundreds of product shots that all need to remove background from photo free, and I’m seriously dreading doing them one by one in Photoshop because that’ll take me all week—does anyone know a solid way to batch process this without losing quality? Ideally I’m looking for something where I can just point it at a folder and let it do its thing. I’ve seen online tools that handle single images pretty well, but I haven’t found a reliable workflow for bulk editing.

if you’ve got a trick using free software or even a script, please share, because I just want to remove background from photo free and get this project off my plate already.

10 Replies

  • CameronLewis's avatar
    CameronLewis
    Iron Contributor

    To remove background from photo free, you can use a command-line Python script, like the one from matyo91, which processes an entire folder of images at once. This is a very "no-frills" approach but is effective for batch jobs.

  • Errpmary's avatar
    Errpmary
    Copper Contributor

    Plain Remover sounds like exactly what you're looking for. It's a completely free and open-source desktop app that makes it easy to remove background from picture without needing to mess around with complicated command lines.

    Here are the steps to use Plain Remover. It's great for this because it's got a proper interface and supports batch processing, all while running completely offline.

    1: Download and Install

    2: Open the Program

     - Once installed, launch Plain Remover from your Start menu.

    3: Add Your Images

    - You can either drag and drop your image files directly into the program's window, or look for a button (usually "Add Images" or similar) to browse and select the photos you want to process.

    4: Choose a Model

    Plain Remover uses AI models to do the heavy lifting. You can choose a specific model for better results:

     - u2net: The general-purpose model that works great for most photos.

     - u2net_human_seg: A better choice if your photos are of people.

     - isnet-anime: Specifically trained for anime-style artwork.

    5: Start Batch Processing

    Click the button to start the background removal process (likely labelled "Start", "Run", or similar). Since it supports batch processing, it will automatically work through all the photos you added in one go.

    Step 6: Find Your Results

    New you can remove background from picture, your photos will be saved with their backgrounds removed. You can then replace the background with a solid color or even another image using the program's built-in features.

  • MateoChen's avatar
    MateoChen
    Iron Contributor

    Upscayl is an open-source offline AI tool with a built-in masking module that allows users to remove background from picture while upscaling photos with AI. It offers a one-stop local editing solution that lets you use the masking brush to precisely outline the subject and clean up the background.

    How to Remove background from picture

    1. Download the software installer from the official website and complete the offline installation.
    2. Launch the software and import the photo you want to remove the background from and enlarge.
    3. Activate the built-in masking tool in the software’s sidebar and use brush strokes to cover the subject.
    4. Click the “Invert Selection” button to automatically erase all background areas not covered by the mask.
    5. Adjust the mask edge smoothing parameter, then export the image as a transparent PNG file.

    Disadvantages

    • There is no optimized batch processing feature; each image must be cut out manually, one by one.
    • The cutting-out process relies on manual tracing, which can be time-consuming for subjects with complex, multi-edged outlines.
    • The background removal module is only a supplementary feature and is not as professional as dedicated image-cutting software.
    • The AI model takes up a significant amount of local disk space and consumes a high amount of computer GPU resources.

    This dual-function open-source toolkit integrates AI-powered image enlargement and background removal features, making it ideal for users who need to enlarge photos and remove backgrounds simultaneously within the same offline workflow.

    However, its background removal feature lacks dedicated batch processing support, so it cannot efficiently process dozens of photos at once.

    ps

    • After completing the image cutout, be sure to export the image as a PNG file to preserve the transparent background; the JPG format discards transparency information.
    • Use a finer mask brush to trace fine details, such as hair, to improve the final result after removing the background.
    • Close other resource-intensive software during the process to prevent lag caused by GPU resource consumption.
  • ArthurDavis's avatar
    ArthurDavis
    Iron Contributor

    This is a great programming solution to easily remove background from photo free without paying for commercial image editing software. It essentially lets you customize photo segmentation algorithms to cut out image subjects in fully offline code, allowing you to adjust processing parameters freely to finish matting and get transparent pictures.

    Usage Guide: Install Python runtime and the OpenCV library via pip first, create a new .py script file, import cv2 and numpy modules, write a function to load the target photo, use GrabCut or threshold logic to split the foreground and background, set an output save path, then run the script to export processed transparent images. This method relies purely on open-source code and swiftly helps you fully remove background from photo free, effectively handling bulk or customized photo matting demands.

    It is particularly useful for advanced users with coding knowledge, batch automated image workflows, or integrating background removal features into local development scripts.

  • FabianRomero's avatar
    FabianRomero
    Bronze Contributor

    Windows 10 and Windows 11 come with a built-in program called Paint 3D, which you can use to remove background from picture and perform basic image editing.

    Instructions: Open the target image file in Paint 3D, click the Magic Selection tool in the top menu bar, drag to select the subject in the image, click Next to adjust the automatically generated selection, click Finish to remove the background, and then save the processed file in PNG format to preserve the transparency.

    Its advantages include: built-in functionality on Windows systems and support for manual fine-tuning of cutout edges

    Disadvantages include: the process is entirely manual and supports only single-image processing, with no batch processing support; it performs poorly at recognizing complex or blurry image edges; it is inefficient when processing large numbers of images; and advanced image-cutting adjustment tools are limited.

    Notes

    • Be sure to save the cropped image as a PNG file; the JPG format discards transparency data.
    • Before drawing the selection box, zoom in on the image window to improve the accuracy of the Magic Selection tool.
    • If the automatic selection misses details of the subject, use the Add/Subtract Brush tool to manually refine the edges.

    This allows you to remove background from picture, making it suitable for everyday, small-batch photo-cutting needs on Windows devices, as well as for quickly creating transparent images for simple design purposes.

  • WainkusRobert's avatar
    WainkusRobert
    Steel Contributor

    Here’s how you can use BackgroundRemover on your Windows PC. Just a heads-up—this is a command-line tool, but the steps are pretty simple once you get the hang of it.

    Step 1: Install Python

    Step 2: Install BackgroundRemover

    Open Command Prompt as an administrator. You can do this by searching "cmd" in the Start menu, right-clicking it, and selecting "Run as administrator." Once it’s open, type this command and press Enter:

    text

    pip install backgroundremover

    Step 3: Process a Single Image

    To test it out on one image, navigate to where your pictures are stored using the cd command, or just use the full file path in the command. Here’s the basic command:

    text

    backgroundremover -i "C:\path \to \your \image. jpg" -o "C:\ path\ to\ output. png"

    Step 4: Remove Background from Photo Free in Bulk

    Here’s where the magic happens for your bulk needs—you can process an entire folder at once with this command:

    text

    backgroundremover -if "C:\ path\ to\ input -folder" -of "C:\ path \to \output -folder"

    Step 5: Use Different Models for Better Results

    If you’re removing backgrounds from people, you can get better accuracy with the human segmentation model:

    text

    backgroundremover -i "image.jpg" -m "u2net_ human _seg" -o "output.png"

    For sharper edges on graphics or cartoons, you can also enable alpha matting with the -a flag and adjust the erosion size.

    And that's it! Now you can easily remove background from photo free for as many images as you want, all offline and completely free. Just remember the tool uses AI, so results are usually great, but complex images might need a bit of tweaking with the alpha matting options.

  • BrantGarcia's avatar
    BrantGarcia
    Iron Contributor

    Rembg is an open-source offline image-cutting tool that provides a local command-line solution for remove background from photo free. It uses professional AI segmentation models to achieve high-precision batch image cutting.

    How to Remove Background from Photo Free

    Step 1: Download and install the official Python runtime environment on your computer.

    Step 2: Open the Command Prompt and enter the command

    pip install rembg

    to complete the software installation.

    Step 3: Prepare an input folder to store all the original photos from which you want to remove the background.

    Step 4: Run the batch processing command:

    rembg -m u2netp -o output_folder input_folder

    Once the program has finished running, open the specified output folder to retrieve the images with transparent backgrounds.

    It can completely remove the background from photos with excellent image quality, provided that the Python environment has been set up properly.

    Pros

    • Open source; offline processing
    • Built-in support for multiple AI models
    • Supports one-click batch processing of large numbers of photos

    Cons

    • Requires a Python environment to run
    • Operates exclusively via the command line; no graphical user interface.
    • AI model files are automatically downloaded upon first run, which consumes additional network bandwidth and disk space.
    • The image masking results are slightly imperfect for complex overlapping edges and semi-transparent objects.
  • Rakkxunsuop's avatar
    Rakkxunsuop
    Iron Contributor

    remove-background-local - It's an open-source, local background remover that runs entirely on your own machine. The name pretty much says it all – you remove background from picture without uploading anything to the cloud. No accounts, no API keys, no limits on how many images you process.

    The default model is ISNet (fast and good enough for most cases), but it also includes BiRefNet models from 2024 for when you want that extra quality.

    How Do You Actually Use It?

    Option A – Quick try (temporary):

    bash

    npx - y remove-background-local

    This downloads the package temporarily, runs it, and opens http //127.0.0.1:7860 in your browser. Good for a quick test.

    Option B – Permanent install:

    bash

    npm install -g remove-background-local

    rm-bg web

    To remove background from picture, this installs the command globally, and you can run it whenever you want. You can also use rm-bg desktop to open it as a native Electron window.

  • DeBertrand's avatar
    DeBertrand
    Iron Contributor

    DeBG is a completely free and open-source Windows desktop app that remove background from photos entirely on your own computer. You don't upload your images anywhere, which means your privacy stays intact. No cloud, no API keys, no sketchy uploads.

    Here's the deal – it runs an AI model locally on your machine, so after the initial setup, you can even use it offline. If you want to remove background from photo free without worrying about your images floating around the internet, this is a great pick.

    What Makes It Cool

    • Bulk processing: Drop a bunch of images (PNG, JPG, WEBP, BMP) and it processes them all at once
    • Multiple AI models: You can pick from 9 different models – from a super tiny 4.7 MB one for speed to a 375 MB high-quality one for the best results
    • Live preview: Adjust settings like edge smoothness and see changes instantly without re-processing
    • No watermarks or limits: Since it runs locally, there's no "free version with restrictions" nonsense

     

    Here are the step-by-step instructions for using DeBG to remove background from photo free on your Windows PC.

    Step 1: Download and Run DeBG

    Step 2: Complete the First-Run Setup Wizard

    • Choose a Backend: You'll be asked to pick between CPU or GPU (CUDA). If you don't have a high-end NVIDIA graphics card, just select CPU. It works fine.
    • Install the AI Model: Click the "Install rembg" button. The wizard will then handle everything for you—it'll check for Python, download it if needed, and set up the AI engine.
    • Be Patient: This first-time setup takes about 5 to 10 minutes, so go grab a coffee while it does its thing. After this, you won't have to do it again.

    Step 3: Add Your Photos

    • Once the setup is complete, you'll see DeBG's main interface. You can drag and drop any number of images (PNG, JPG, WEBP, BMP) directly into the window.

    Step 4: Remove the Backgrounds

    • In the app, you can choose one of the 9 AI models to use. The larger models give better results but take a bit longer. Then, just click the "Remove backgrounds" button and let it process your batch of photos.

    Step 5: Get Your New Images

    • After processing, the app automatically saves the transparent PNG results to your chosen output folder. You can also export all results as a single ZIP file with one click.