Batch resize photos: one recipe for a whole folder
You came back from a school sports day with 240 pictures, or you shot forty products on a table, and every file must end up the same size and with tidy names. This guide shows how to batch resize photos in the Batch image editor, how to test the settings first and what to watch for on a phone.
Batch resize photos with one recipe
The Batch image editor does not edit pictures one at a time. You describe a ‘Recipe’ once, and the same recipe runs on every image you added. The recipe has eight steps: ‘Resize’, ‘Crop to a shape’, ‘Rotate and flip’, ‘Adjust and filter’, ‘Watermark’, ‘Border’, ‘Output format’ and ‘Rename’. Each has its own switch, and the ones you switch on always run in that order, whatever order you tick them in.
At first only ‘Resize’ and ‘Output format’ are on. To batch resize photos from an event, that is usually all you need: a size rule, a file type, done. For product shots you may add a square crop and a border. Everything else can stay off.
The honest limit of the idea is that one recipe means one treatment. If the group photo needs to be brighter than the rest, or one picture must be cropped differently, this tool will not do it per file. Run the folder through the recipe first, then fix the odd one separately with Resize image or another single-photo tool.
Pick the size rule that fits mixed shots
Under ‘Resize by’ you choose how the size is measured: ‘Longest side’, ‘Width’, ‘Height’ or ‘Percentage’. For a folder that mixes landscape and portrait pictures, ‘Longest side’ is the safest choice, because it treats a wide photo and a tall one by the same rule. The starting value is 1920 pixels. A 4000 × 3000 landscape becomes 1920 × 1440, and a 3000 × 4000 portrait becomes 1440 × 1920.
‘Width’ suits a layout where every picture sits in a column of fixed width: a tall picture then simply gets taller. ‘Height’ is the mirror case. ‘Percentage’ is handy when the files come from different cameras and you only want everything smaller by the same factor: at 50 percent, a 4000 × 3000 file becomes 2000 × 1500, and a smaller 2000 × 1500 file becomes 1000 × 750.
The proportions never change, so nothing gets squeezed. Pictures that are already smaller than your target are left alone unless you tick ‘Allow enlarging’. Leave it off for a mixed folder: stretching a small file to match the others only makes it soft.
Squares and fixed shapes: crop happens after resize
Online shops often want every product in a square. Switch on ‘Crop to a shape’ and pick 1:1 under ‘Shape’. The other choices are 4:3, 3:2, 16:9, 4:5 and 9:16. The crop is centered, so the middle of each picture stays and the edges go. Leave space around the product when you take the photo, otherwise a corner of it may be cut.
The order of the steps has a consequence that surprises people. The resize runs first, and the crop then cuts from the resized picture. Take 4000 × 3000 photos with ‘Longest side’ set to 1200: they become 1200 × 900, and the square crop then keeps 900 × 900. If you wanted squares of 1200 pixels, set the longest side to 1600, which gives 1200 × 1200 after the crop. Always read the final size in the preview caption before you run everything.
For a set that mixes upright and sideways pictures, ‘Match each photo's orientation’ turns the shape around for portraits. With 4:3 selected, a landscape picture is cut to 4:3 and a portrait to 3:4, so nothing is forced into a shape that throws away most of it. This option has no effect on 1:1.
Check a sample before you process the folder
Once files are added, the preview shows one of them with the whole recipe applied. Use ‘Next image’ and ‘Previous image’, or the ‘Show in preview’ button on any row, to move through the set. Look at the extremes rather than the first picture: the darkest indoor shot, one portrait and one landscape, and the picture where the subject stands closest to an edge.
The caption under the preview gives the original and the new size, for example 4000 × 3000 → 1200 × 900 px. That line is where you catch the surprise from the previous section. Keep in mind that the preview is drawn from a reduced copy of the photo (at most 1600 pixels on the long side) and is not an encoded file, so it cannot show compression artifacts. Judge sharpness and framing from it, and judge file size from a real run.
A cheap way to do that real run before you batch resize photos by the hundred: add only three or four representative photos first, press ‘Process all’, and look at the result rows, which show the new dimensions, the file size and the format. The settings are remembered in the browser, so when you clear the list and add the whole folder the recipe is already there. Changing any setting afterwards clears results that were already made, which is why you press ‘Process all’ again after every adjustment.
Names, order and file type
Without ‘Rename’, each result is called after the original with ‘-edited’ added, so IMG_0412.jpg becomes IMG_0412-edited.jpg. That is fine for a one-off, but for an album or a shop you often want a clean sequence. Switch on ‘Rename’ and type a ‘File name pattern’ such as sports-day-{n}. {name} stands for the original name and {n} for a running number. With 8 files you get 01 to 08; with 120 files the numbers get three digits (001 to 120), so alphabetical order stays correct.
The numbers follow the order of the list on the screen, not the capture time. Drag the rows, or use the arrows, to put the pictures in the sequence you want before you press ‘Process all’. If two results would end up with the same name, the second gets (2) added instead of overwriting the first. Characters that file systems reject, such as a slash or a colon, are replaced by a hyphen.
Under ‘Output format’, ‘Same as original’ keeps JPG, PNG and WebP as they are, turns GIF and BMP into PNG and turns HEIC and AVIF into JPG. That makes iPhone pictures usable almost everywhere. You can also force JPG, PNG or WebP. The ‘Quality’ slider starts at 85 and is hidden for PNG, because PNG does not use it. If you switch the whole step off, every picture keeps its type and is saved at quality 90. When a picture with transparent areas is saved as JPG, those areas turn white. Camera details and the GPS location are not copied into the new files, which is useful for pictures you post publicly.
Steps for the whole set
This is the sequence that works for most folders. It takes a minute longer than just pressing the button, and it saves a second run.
- Choose the files with ‘Choose files’ or drop them on the page. HEIC works too; the first time, the page loads a small decoder.
- Put the list in the order you want the numbers to follow.
- In the ‘Recipe’, leave ‘Resize’ on, pick ‘Longest side’ and a value, and add a crop, a border or ‘Rename’ only if you need it.
- Step through the preview with a portrait, a landscape and the busiest picture, and read the size caption.
- Press ‘Process all’ and wait until the progress count reaches the last file.
- Save single pictures from their row, or use the ZIP button in the result box to get everything in one file called edited-images.zip.
Phones, big folders and what can go wrong
The pictures are processed one after another, not all at the same time, and the page shows the count while it works. Only one full-size picture is open at any moment, which is why a long list is usually fine. Still, the code sets no upper limit on the number of files, so the real limit is the memory of your device. A phone with large pictures is the likely place to hit it. If a row shows that the device ran out of memory, the other rows are still processed; remove the problem files, lower the number of photos and run the rest in groups of, say, fifty.
There is also a ceiling on the finished picture: about 16.7 million pixels, which is 4096 × 4096. A border counts toward it. If a result would be larger, it is reduced to fit and the page tells you so. Switch off ‘Allow enlarging’ and the ceiling rarely matters.
In the ZIP, JPG, PNG and WebP files are stored as they are, without being squeezed again, so a ZIP is not smaller than the sum of its pictures. It is just easier to move. The finished files exist only in the open page. Save them before you close or reload the tab. If a source file is not an image the tool can read, its row shows an error and the rest continue.
Two other tools finish the job once you batch resize photos this way. If you need an exact file size for an upload form, run the results through Compress image. If only one or two pictures need different treatment, Resize image handles them one by one. Image converter is for the case where you only change the file type and nothing else.
Questions and answers
How many photos can I resize at once?
The tool sets no maximum number of files. The limit is the memory of your phone or computer, so a few hundred small pictures are normally fine and a large batch of full-size phone pictures is better split into groups.
Will all my photos end up exactly the same size?
Only if they share the same shape. The proportions never change, so a portrait and a landscape that are resized by ‘Longest side’ get different widths and heights. Add ‘Crop to a shape’ when you need identical dimensions.
Do I lose the originals?
No. The tool makes new files and never touches the ones on your device. Without a name pattern, the new files carry ‘-edited’ after the old name.
Can I use different settings for one photo in the set?
Not inside one run. A recipe applies to every image. Process the group first, then correct the odd photo on its own with Resize image or another single-photo tool.
Are my pictures sent anywhere?
The recipe runs in your browser and the files are not uploaded to a server. Your settings, but not the pictures or a chosen logo, are remembered in the browser for next time.
More guides
- How to open iPhone HEIC photosiPhone photos will not open on your PC, or an upload form rejects them? Convert HEIC to JPG in your browser, choose the quality, or make the camera save JPG.
- JPG, PNG or WebP: choosing the right image formatPick JPG, PNG or WebP by what is in the picture: photos, logos, screenshots or transparent graphics. Quality, file size, compatibility and AVIF explained.
- How to remove the background from a photo and get a clean cut-outCut a person, product or pet out of a photo, keep it transparent or add a new backdrop, check the edges and save it in the right format and size.