Bulk Image Resizer
Operator: Abdulla Al Fahad. How tools are built and checked
Resizing one picture is a job for any editor. Resizing eighty of them to the same rules, converting them to another format and giving them tidy names is where paid batch tools earn their fee. This page does that work in the browser: you add the pictures, choose a mode, look at a table that shows what each file will become, and download the results in a ZIP.
Pictures are processed one at a time. There is no queue, no per-image charge and no watermark, and a failure on one file is reported against that row while the rest carry on.
It is not a duplicate of the Resize Image for Social Media and Resize Image to Print Size tools on this site. Those start from a platform preset or from a paper size and resolution; this one applies a rule you define yourself, such as longest side 1600 or exactly 1000 by 1000 with padding, to a whole batch and renames the results with a pattern.
Key features
- Five resize modes: width, height, percentage, fit in a box and exact size with crop or padding
- A nine-position anchor for cropping or padding
- A preview table with original and output dimensions, original size, an estimate of the output size, and the new file name
- JPG, PNG, WEBP or keep-the-original output, with a quality slider and fill colour
- Rename pattern with {name}, {w}, {h} and {n} tokens
- Sequential processing with progress, Cancel, per-row errors and per-file or ZIP download
Resize modes, crop versus pad, and how output sizes are estimated
Input can be PNG, JPG, WEBP, GIF or BMP, up to 100 pictures, 25 MB and 50 megapixels each. Files are judged by their first bytes, not their extension. An animated GIF is read at its first frame. HEIC photos are refused with a pointer to the HEIC to JPG converter on this site, since a browser's own decoder cannot open them. When you add a file the page decodes it once to learn its real size, with the camera's rotation applied, and then discards the decoded bitmap; only the file itself stays in memory.
There are five ways to size the output. By width sets the width and works out each height from that picture's own proportions, and By height does the reverse. By percentage scales both sides, from 1 to 1000. Fit inside a box takes a maximum width, a maximum height or both and shrinks each picture until it fits while keeping its shape; leaving one box empty limits only the other side. Exact size gives every output precisely the width and height you typed, and then needs a rule for pictures of another shape: Crop to fill scales until the box is covered and discards the overflow, keeping the part you pick from a nine-point grid, while Pad to fit scales until the whole picture is visible and fills the spare space with a colour or, for PNG and WEBP, leaves it transparent.
Do not enlarge is on by default, and it changes what exact mode does. Width, height, percentage and box modes simply stop at the picture's own size. In exact mode with Pad, the picture is placed at its natural size inside the requested canvas. In exact mode with Crop, a picture too small to fill the box gives a smaller output of the same shape, so the cropped area is shown at 100 percent and nothing is upscaled.
Outputs are capped at 8192 pixels on the longest side and 50 megapixels. A row whose result would pass either limit is marked in red in the table, skipped when you run the batch, and counted in a notice above the buttons.
Output format can be each file's own (GIF and BMP become PNG, since the browser has no encoder for them), or JPG, PNG or WEBP for all. JPG and WEBP use the quality slider, 40 to 100 with 85 as the start. JPG has no transparency, so transparent pixels are filled with the fill colour; the WEBP choice is disabled on browsers that cannot write it.
File names come from a pattern. {name} is the original name without its extension, {w} and {h} are the output size in pixels, and {n} is a counter starting at 1 in list order, zero-padded to the number of digits in the batch size, so a batch of 120 numbers 001 to 120. Characters that file systems reject, such as slashes, colons and question marks, become underscores, the right extension is added for you, and clashes get a number after them. The default is {name}-{w}x{h}.
How it works
For each picture the page first computes a plan: the output width and height, and the rectangle to read from the source and the rectangle to draw on the output. This is plain arithmetic done as soon as you change a setting, which is why the table updates immediately and can flag problems before any pixels are touched. Fitting a 4000 by 3000 picture to a 1200 by 1200 box gives a scale of 0.3 and an output of 1200 by 900.
When the batch runs, each picture is decoded again, scaled and encoded. Large reductions are made in repeated halving steps rather than one jump, because a single big jump in some browsers samples too few source pixels and leaves jagged, shimmering detail. The result is encoded with the browser's own JPG, PNG or WEBP writer and its canvas memory is released straight away, so a hundred-picture batch does not pile up bitmaps.
The size estimate is not computed by encoding. It takes the original file's bytes per pixel, scales that by how large each format typically is at the chosen quality compared with the source's format, and multiplies by the new pixel count raised to the power 0.9, since a shrunk picture has more detail packed into each pixel. For a 4 MB, 12-megapixel JPG reduced to 1000 by 750 and saved again as JPG at quality 85, this gives about 330 KB. Screenshots, flat illustrations and already heavily compressed pictures can be far from the guess, so after the run the table swaps estimates for the real sizes.
Common use cases
- Preparing a product catalogue where every image has to fit a 1200 pixel box and be saved as WEBP for a faster shop page
- Making square profile thumbnails from photos of different shapes, cropping towards the top so faces are kept
- Putting a set of pictures on a fixed-size canvas with a white or transparent margin for a marketplace that rejects other shapes
- Shrinking holiday pictures to 50 percent before attaching them to an email
- Giving camera files like DSC_0412.JPG names that carry a sequence number and size
How to use this tool
- Drop your pictures onto the box or click it to choose them. Up to 100 can be added, in more than one go.
- Pick a resize mode and enter its numbers. The Output column of the table fills in at once.
- Choose a format and quality, and edit the file name pattern if you want numbered or size-labelled names.
- Look down the table for amber or red notes: enlargements, or sizes over the limits.
- Press Resize, wait for the progress bar, then use Save beside a row or Download ZIP for everything.
Example
Three source pictures and two different settings
IMG 1.jpg 4000 x 3000 4.1 MB
logo.png 600 x 600 38 KB
wide.webp 6000 x 1500 900 KB
Setting A: Fit inside a box 1200 x 1200, do not enlarge, keep format, pattern {name}-{w}x{h}
Setting B: Exact 1000 x 1000, Crop to fill, centre, JPG 85, pattern shop_{n}Output sizes and names
Setting A
IMG 1-1200x900.jpg 1200 x 900
logo-600x600.png 600 x 600 (unchanged, not enlarged)
wide-1200x300.webp 1200 x 300
Setting B
shop_1.jpg 1000 x 1000 (takes a 3000 x 3000 area from x = 500 of the first picture)
shop_2.jpg 600 x 600 (too small to fill the box, so the output is shrunk to its own size)
shop_3.jpg 1000 x 1000 (takes a 1500 x 1500 area from x = 2250 of the wide picture)Tips for best results
- Start with Fit inside a box when the pictures differ in shape; it never distorts and never crops.
- Use the top anchor for portraits when cropping to a square, and the centre for products photographed in the middle of the frame.
- Check the table's estimate for the first few rows, then resize a small batch to see how close it was before running a large one.
- Include {n} in the pattern when different folders might hold files with the same name; the page already avoids clashes within a batch, but a number makes the order obvious.
- Choose WEBP for web delivery only if the places you will use the files read it; JPG remains the safer choice for email and print.
Common pitfalls
Exact size with Crop to fill removes part of every picture that does not match the box's shape. The table does not show what is cut, so try one picture with the anchor you intend first.
Camera metadata is not carried over. The output is a fresh encode, so EXIF dates, camera models and GPS tags are gone, though the rotation recorded by the camera is applied to the pixels.
Animated GIFs lose their animation; only the first frame is resized and written, as a PNG.
Transparent pictures saved as JPG take the fill colour, white by default.
Estimates are rough. PNG sizes in particular depend heavily on content, so a flat screenshot can come out many times smaller than the estimate.
Pictures over 25 MB, 50 megapixels or the 100-file limit are skipped with a message, and outputs past 8192 pixels or 50 megapixels are skipped at run time.
Common errors and how to fix them
- "is a HEIC photo" when adding files
- Run those files through the HEIC to JPG converter first, then add the JPG results here.
- A row marked "over the 8192 px limit"
- Lower the width, height or percentage, or turn on Do not enlarge so small sources are not scaled up past the limit.
- "Enter both a width and a height for an exact size"
- Exact size needs both numbers. Use By width or Fit inside a box if you only want to set one side.
Best practices
- Work on copies. The original files are never changed, but keeping your own backup avoids confusion over which version is which.
- Resize from the largest source you have; scaling a picture up and down again loses detail each time.
- Keep the pattern's {w}x{h} tokens in when sizes vary, so the finished file name tells you what it is.
Crop or pad: choosing for an exact size
Cropping fills the box edge to edge and keeps the picture's detail large, but cuts away part of the scene. Padding keeps the entire picture visible and shrinks it to fit, leaving bands of colour at the sides or top and bottom. For portraits and thumbnails, cropping usually looks better; for logos, diagrams and anything with text near the edges, padding avoids cutting off something that matters.
The nine-point grid decides which part survives. Choosing the top for cropping keeps the top edge of every picture and cuts from the bottom, which keeps heads in portraits. For padding, the same grid decides where the picture sits inside the canvas: top left puts it in the corner, bottom centre sits it on the floor of the frame.
Why numbers are rounded the way they are
Every output side is a whole number of pixels, rounded to the nearest and never below 1. In width mode the width is exactly what you typed and the height is rounded from the picture's proportions, so a 4000 by 3001 picture at width 1000 gives 1000 by 750. In percentage mode both sides are rounded separately, so an odd-sized source halved gives a side that is a pixel off from an exact half.
These roundings are why the same width on two pictures of slightly different shapes gives heights a pixel or two apart. If you need identical heights, use exact size instead.
Frequently asked questions
Are my images uploaded?
No. Each picture is decoded, resized and encoded in this tab, and the ZIP is built there too. Nothing is sent to a server.
Does it keep the original file names?
By default {name} keeps them and adds the new size, such as photo-1200x900.jpg. Change the pattern to anything you like, including a plain counter.
Why did the output size differ from the estimate?
The estimate is a formula based on bytes per pixel and typical format sizes, not a trial encode. The real size appears in the table after resizing.
Is there a limit on how many images I can resize?
100 at a time, each up to 25 MB and 50 megapixels. Run another batch after downloading the first.