Guides

How to batch resize images to exact sizes, in your browser

· 6 min read

To batch resize images, drop the folder into a bulk image resizer, choose a target size (a preset such as Instagram post 1080 by 1080, or your own width and height) and run it once. Every file is resized in the same pass and downloaded as a zip. In AstralBatch this happens inside your browser tab, so nothing is uploaded.

TL;DR: pick a preset or custom dimensions, leave Keep aspect ratio ticked unless you want images stretched, and choose PNG, JPG or WebP as the output. With Keep aspect ratio on, each image is fitted inside the target box without cropping, so a photo with a different shape ends up smaller than the preset in one direction.

What does batch resizing actually do to each image?

Each image is decoded, resampled to the new pixel dimensions with the pica resizing library, and encoded again in the output format. Reducing an image discards pixels, so it cannot be undone: always resize from the original files, never from copies you already shrank. The resampling is not a crop. It changes how many pixels the whole picture is made of.

Which preset sizes can you resize to?

Preset in the toolSize in pixels
Instagram post1080 x 1080
Instagram story1080 x 1920
YouTube thumbnail1280 x 720
Twitter / X banner1500 x 500
Facebook cover1640 x 624
LinkedIn banner1584 x 396
HD (720p)1280 x 720
Full HD (1080p)1920 x 1080
4K (2160p)3840 x 2160

Platforms change their recommended sizes from time to time, so treat the presets as starting points and check the platform's own help page before a big upload. If your target is not in the list, choose Custom dimensions and type any width and height.

Why is my resized photo not exactly 1080 x 1080?

Because Keep aspect ratio is on by default and it means fit within the target, not fill it. The image is scaled by the largest factor that still fits inside the box, so a 4:3 landscape photo sent to a 1080 x 1080 preset comes out 1080 pixels wide and 810 tall. Nothing is cropped and nothing is padded. If you need every file at exactly the preset size, untick Keep aspect ratio, which stretches the picture to the exact numbers and distorts anything that does not already have that shape. For true square or banner crops, crop in an editor first and resize second.

The same rule works in the other direction: an image smaller than the target is enlarged to fit. Enlarging invents pixels by interpolation and adds no real detail, so avoid sending small thumbnails to a large preset.

What image upscaling can and cannot do: what enlarging can and cannot recover.

Which output format should you choose when resizing?

JPG and WebP outputs are written at a fixed quality of 0.92 on the browser's 0 to 1 scale. If file size is the real goal, resize first and then run the results through the compressor.

What is the checklist for resizing a whole folder safely?

Batch resize images in your browser: presets or custom sizes, PNG, JPG or WebP, no account.

How to batch compress images and see what each file saved: after resizing, shrink the files further without touching the dimensions.

Frequently asked questions

Can I batch resize images without uploading them?

Yes. AstralBatch resizes in your browser using the pica library, so the files are read from your disk, processed in the tab and written back as a download. Nothing is sent to a server.

How do I batch resize images to the same width and keep the height proportional?

Choose Custom dimensions, keep Keep aspect ratio ticked and enter the width you want together with a height large enough not to be the limiting side. Each image is scaled by the factor that fits inside the box, so the proportions are preserved.

Why did my images come out different sizes after a batch resize?

With Keep aspect ratio on, every image is fitted inside the target box, so photos with different shapes end up with different pixel dimensions. Untick it to force every file to the exact size, accepting that images are stretched.

Does resizing images reduce their quality?

Reducing the dimensions discards pixels, which is usually invisible at the size the image is shown. JPG and WebP outputs add a small lossy step at quality 0.92, and PNG adds none. Resize from originals to avoid compounding the loss.

Which formats can the batch resizer open?

PNG, JPG and WebP files. It reads whatever your browser can decode and writes PNG, JPG or WebP.