Skip to content

How to batch convert and shrink images offline on Windows

Store note. ImageBatch Pro is available on this website and in our Telegram store: pay with PayPal, in US dollars, on its product page, or open it in the bot @Agitools_ai, pay in Telegram Stars, and the bot sends the ZIP to the same chat. Its prices are on its product page.

You can finish the whole workflow below with free, official tools and never use ImageBatch Pro. The last sections explain what that app states on its public page, for readers who want the context.

What “batch convert and shrink offline” means

Folder-scale work on your PC, without uploading

“Batch” here means a folder at a time, not one file in a browser tab. “Offline” means the pixels stay on the computer that holds the files. You may still use the internet to read this page or to install a tool; the conversion itself does not need a server, and it does not require you to send the photos to a website.

That matters when the folder is a shop catalogue, a client shoot, or family pictures you have no reason to upload just to change the format.

Convert, shrink, and resize are three different jobs

  • Convert changes the container and encoding: JPEG, PNG or WebP, for example.
  • Shrink (compress) aims at a smaller file, often with a quality setting. The picture can keep the same pixel dimensions.
  • Resize changes the pixel width and height. A common safe habit is to set a maximum width and height, keep the aspect ratio, and never enlarge a small image.

Some Windows tools only resize. Some only convert. A folder workflow can do more than one of these in one pass, but you should still know which lever you are pulling. Cropping — cutting the edges of the picture — is a fourth job, and it is not covered here.

Formats this workflow covers (and what it does not)

A practical Windows folder job for websites and shops usually starts from JPEG, PNG, WebP or BMP and writes WebP, JPEG or PNG. Those are the formats ImageBatch Pro lists on its page.

Treat the following as out of scope for this guide, and as not in ImageBatch Pro 1.0 (quoted from that same page): GIF, TIFF, HEIC and RAW input, animated images, watermarks and cropping. If you have iPhone HEIC files or camera RAW, convert them with a tool that actually documents those inputs, or export JPEG/PNG from the camera or Photos app first. Do not assume a WebP/JPEG folder converter will open them.

Two tools mentioned below also have format limits of their own:

  • Google's cwebp documents its inputs as PNG, JPEG, TIFF, WebP or raw Y'CbCr (cwebp documentation). In a test on the Linux test machine used for this guide, cwebp 1.6.0 refused a .bmp file (“Cannot read input picture file”).
  • Microsoft PowerToys Image Resizer is a resizer, not a format converter. Microsoft's own page says its fallback encoding “isn't a file type conversion tool” (Image Resizer).

A safe Windows workflow (originals left alone)

Whatever tool you pick, the safest habit is the same: read the originals, write a new folder, never overwrite.

1. Collect the folder and decide the output

Put the files you want to convert in one folder (subfolders are optional; only include them if you mean to). Choose an output format. For photographs going on a website, WebP is a common modern choice; JPEG remains the most compatible photo default; PNG is usually a better fit for graphics with sharp edges or transparency. web.dev's image-performance guide explains those trade-offs in general terms — it is not a test of any AGI TOOLS product.

If you shrink as well as convert, pick a quality you will actually look at. There is no universal number that is right for every photo.

2. Optionally cap width and height

If the photos will be shown at, say, 800 CSS pixels, a 4,000-pixel original is more than the page needs. A maximum width and height, with the aspect ratio kept and no upscaling, is enough for this guide. For social-network presets and cropping, that is a different job; Social Resize Pro is a separate AGI TOOLS tool, available on this website and in our Telegram store (resize and crop for social networks with ready presets and an approximate safe-area preview).

3. Write results to a new folder, and keep a list if you can

Create an empty output folder first. After the batch, spot-check a few files: dimensions, transparency (for PNG/WebP), and that the originals are untouched. A file-by-file report, such as a CSV of names and outcomes, is useful when the folder is large. ImageBatch Pro states that it writes a CSV report of every file; this guide does not invent the columns of that report.

A command-line option: cwebp (tested)

If you are comfortable with a terminal, Google's cwebp converts a file to WebP on your machine. Official reference: developers.google.com/speed/webp/docs/cwebp. The commands below were run on the Linux test machine used for this guide with official cwebp 1.6.0, on a synthetic 2,400 × 1,600 JPEG (not a real photograph). On Windows the same flags apply once cwebp is on your PATH.

Quality 80, same dimensions (this test: 1,965,777 bytes in, 550,236 bytes out):

cwebp -q 80 input.jpg -o output.webp

Same, but cap the width at 1,600 pixels and keep the aspect ratio, without enlarging (-resize_mode down_only comes from cwebp -longhelp on that binary). This test wrote 1,600 × 1,067 and 212,602 bytes:

cwebp -q 80 -resize 1600 0 -resize_mode down_only input.jpg -o output-1600.webp

On that test machine, a simple 1,200 × 800 PNG graphic (7,208 bytes) became larger at -q 80 (8,428 bytes) and smaller with -lossless (1,182 bytes). That is why you look at the result: WebP is not automatically smaller. These figures are an illustrative test, not an ImageBatch Pro result, and your files will differ.

cwebp processes one file per invocation. A folder is a loop in PowerShell or Command Prompt, always pointed at a separate output directory. This guide does not run a Windows loop (the test machine is Linux).

ImageMagick (cited, not run)

ImageMagick can convert and resize folders from the command line. Official docs for magick mogrify are at imagemagick.org/mogrify. Those docs state that magick mogrify overwrites the original image file unless you change the file suffix with -format; -path writes images to another directory (“Write images to this path on disk”). Treat that as a safety note. ImageMagick was not installed on the test machine, so no ImageMagick command was executed and no sizes from it are shown.

Example pattern from those docs, for illustration only — verify on a copy of your files:

magick mogrify -path output-folder -resize "1600x1600>" -format webp *.jpg

The > in the geometry means “only shrink, never enlarge,” per ImageMagick Examples — Resize or Scaling. On Windows, > must be quoted so Command Prompt and PowerShell do not treat it as a redirect. Confirm the flag against the current docs before you run it.

PowerToys Image Resizer (cited, not run)

Microsoft PowerToys is “a set of free, open-source utilities.” Image Resizer adds a File Explorer right-click action to resize selected images, with Fit / Fill / Stretch. Fill mode “Crops the image as needed,” so it is not a no-crop tool. An optional metadata strip is documented as the CLI flag --remove-metadata. It is a strong local resizer. It is not a format converter.

Privacy defaults worth knowing

Many camera JPEGs carry a GPS position and camera model in their metadata. If you are publishing the photos, decide whether that data should come along.

Google's cwebp on the 1.6.0 binary used here documents -metadata with the default none (cwebp -longhelp). ImageMagick and other tools have their own flags; read them before you assume anything is stripped.

ImageBatch Pro states that GPS and camera details are removed by default, that camera rotation is corrected, and that transparency is kept. This guide does not add claims beyond that sentence.

A Windows app that does this job

ImageBatch Pro is a Windows app from AGI TOOLS. In one sentence, with its current status: ImageBatch Pro: batch convert and shrink folders on Windows (available on this website and in our Telegram store).

The public page states that it converts whole folders of JPEG, PNG, WebP and BMP to WebP, JPEG or PNG on your PC; that you can pick a preset (Fast, Balanced — recommended — or Maximum compression) and adjust quality; that you can optionally cap width and height (aspect ratio kept, never enlarged); that originals are never changed and existing files are never overwritten (results go to their own folder, with a CSV report of every file); that it works fully offline, with no upload, no account, no ads and no telemetry. Requirements listed there: Windows 10 (22H2) or 11, 64-bit, 4 GB RAM (8 GB recommended).

Price and how to buy: on this website with PayPal, in US dollars, or in our Telegram store, in Telegram Stars.

Buy ImageBatch Pro in the Telegram store (@Agitools_ai). About an order, send /paysupport in the bot.

How to Compress and Resize Many Images at Once on Windows0:58Watch on YouTubeNothing loads from YouTube until you press play. The player then loads from youtube-nocookie.com, YouTube's privacy-enhanced mode, and connects to Google's servers. Privacy