How-to · Batch

One folder.
One recipe.

Per-file tuning produces an inconsistent gallery and takes a day. Pick one recipe, apply it to the folder, and spend the time you saved on reviewing the result.

Folders · Subsections · Backups · Offline
1 recipe per folder58% avg saved at 850 uploads
C Compressy — Image Optimizer
C:\Users\Alex\Pictures\Portfolio-2024 456 files Browse…Compress selected →

Source files

456 selected
✓JPG!-tylewice-wiatrak.jpg3.3 MB
✓JPG!MQ_DSF9592.jpg4.0 MB
✓JPG'Camel'_in_Devrent.JPG3.3 MB
✓PNG04_Hegasy_Hand.png721 KB
Quality 85 · Balanced · Keep format — whole folder selected4 threads

Compressed

57.8% avg saved
JPG!-tylewice-wiatrak.jpg3.3 MB → 1.9 MB−41.7%
JPG!MQ_DSF9592.jpg4.0 MB → 1.4 MB−64.2%
JPG'Camel'_in_Devrent.JPG3.3 MB → 1.1 MB−67.4%
PNG04_Hegasy_Hand.png721 KB → 189 KB−73.8%
1285.7 → 542.5 MB across 456 filesExport CSV · Open folder
Select all, compress once, review the list
Settings

What survives a batch

Four settings are safe to apply folder-wide. Two are not, and one needs a decision before you start.

Reference

Batch-safe, batch-hostile

A batch setting must be defensible for every file in the folder. That rules out anything chosen by looking at one image.

Quality is the obvious batch decision and the most over-thought one. A single value between 80 and 90 is visually lossless for photographs at normal viewing size, and the difference between 85 and 90 is a third of the bytes. Pick 85, verify on the three worst files, and move on.

Format is batch-safe when the folder is homogeneous. Applying "convert everything to WebP" to a folder containing UI screenshots and photographs will handle one class well and the other badly — split the folder instead. Resize is safe if the destination has a known maximum width; it is destructive if you are guessing.

What is not batch-safe

Per-file quality (you cannot know which files need it without looking), per-file crop or rotation, and any setting that depends on where the image will be published. If a folder mixes delivery targets, split it into subfolders first — the tool should follow the structure, not invent one.

Procedure

The batch, in order

The order matters because each step makes the next one cheaper to verify.

01 01
Pick the folder

Scan recursively, then check the count. A surprise here usually means a subfolder you forgot.

02 02
Set one recipe

Quality, format and resize. Leave rename off unless the destination expects a convention.

03 03
Decide the overwrite policy

Backups or new files. This is the only irreversible choice in the batch.

04 04
Compress and watch

Per-file progress shows which items finished and which failed; failures never abort the run.

05 05
Review the tail

Sort by saving percentage and open the smallest three. That is where damage would show.

If more than a handful of files land under 20% saved, the recipe is wrong for that content — usually a screenshot in a photograph folder.

Measured

What a real batch looks like

The site benchmark is a batch: 456 JPEGs from Wikimedia, one recipe, no per-file decisions.

BatchFilesBefore → AfterSaved
JPG, quality 85 balanced4561285.7 → 542.5 MB57.8% avg
PNG → WebP, quality 85545—84.5% avg
JPG → WebP, quality 85456—70.9% avg

Full method and per-file peaks are on benchmarks. The variance inside a batch is the useful part: a folder average hides the files that barely moved.

Safety

Overwrite, backups and the one decision that matters

Everything else in a batch is reversible. This is not.

Overwrite off Outputs are new files; the originals stay exactly as they were. Safest, and doubles the folder size temporarily.
Overwrite on Originals move into a backup folder beside them before the new file is written. Recoverable, and the backup folder is never scanned as a source.
Never overwrite in place without a backup If a tool offers to replace files with no copy, that is not a feature.
Do not batch-delete afterwards Deleting the backup folder is the only step that removes the ability to undo the whole batch.
Keep one original elsewhere A backup next to the originals protects against the batch, not against a drive failure.
Review

How to review 400 files in two minutes

You cannot look at all of them. You can look at the ones that would reveal a bad recipe.

01
Sort by percentage saved and open the smallest three

The biggest savings are where the encoder worked hardest. If artefacts exist, they exist there.

02
Open the largest three originals too

High-detail images are the ones that show ringing first, even at a modest saving.

03
Check one file per content class

A folder usually has three or four kinds of image. One representative each beats random sampling.

04
Open the visually complex one at 100%

Downscaled previews hide everything you are looking for.

05
If it is wrong, change the recipe and re-run from the originals

Re-compressing the outputs adds a generation. Go back to the source, which is why the backup policy exists.

Related

Where batching fits

Batching is the delivery step. These pages cover the decisions around it.

Batch · Folders

Compress a folder, not a file

Subfolder groups, per-file results, backups on overwrite — no upload, no account.

Windows 10/11 · Offline · Free