DevTools Logo

Batch Image Resizer

Batch Image Resizer

Resize many images to a width, height, percentage or max-dimension rule with renaming — all in your browser.

Runs in your browser
Try an example

Images

0 images

Images are decoded with createImageBitmap and re-encoded on a canvas in this tab — nothing is uploaded. GIF input uses its first frame; the default rule never enlarges images. Downloads are individual files, not a ZIP.

Tokens: {name} {n} {i} {w} {h} {ext}

Results

No resized images

Add images and press Resize all.

Examples

Web gallery

Input
4000×3000 photo, max dimension 1600
Output
1600×1200 JPEG

Aspect ratio is preserved and long edges are bounded for web delivery.

Square avatar

Input
Landscape photo, cover 512×512
Output
512×512 centre-crop

Cover mode fills the square instead of adding letterbox bars.

Numbered set

Input
pattern thumb-{i}
Output
thumb-001.png, thumb-002.png…

Zero-padded indices keep file listings sorted.

About this tool

The Batch Image Resizer changes pixel dimensions for many images in one pass. Queue up to 100 files, choose a rule — maximum width, maximum height, fit inside a maximum dimension, exact stretch, exact cover-crop or percentage — and see every resulting size before encoding starts.

Upscaling is off by default: images below the target are skipped with an explicit note instead of being blurred by interpolation. Turn it on when a retina export really needs larger pixels. Output can keep the source format or switch to PNG, JPEG or WebP with a quality setting.

A rename pattern supports {name}, {n}, {i}, {w}, {h} and {ext}, with automatic suffixes when two outputs would collide. Files are decoded with createImageBitmap and re-encoded on a canvas in this tab; the results table lists every output with its status and its own download button. No ZIP is produced and no image is uploaded.

What this tool does not do

  • At most 100 files, 50 MB each, are accepted in one batch.
  • Animated GIFs contribute only their first frame; output downloads are individual files, not a ZIP.
  • EXIF metadata is not preserved after canvas re-encoding; transparent pixels become black in JPEG output unless a white matte is drawn.

How to use this tool

  1. Add images

    Use the file picker, drop files, or click a sample chip. Up to 100 files of at most 50 MB each are accepted.

  2. Pick a resize rule

    Choose max width, max height, max dimension, exact stretch, cover crop or percentage, then set the pixel values or percentage.

  3. Choose output options

    Select the format and quality, decide whether upscaling is allowed, and edit the rename pattern.

  4. Resize and download

    Press Resize all, review each row's before/after dimensions and status, then download the individual files you need.

Use cases

Photo batches

Prepare a set of exports for a blog or image gallery at one size.

Product catalogues

Create consistent thumbnails from mixed-orientation product photos.

Retina assets

Double dimensions intentionally with the upscaling toggle enabled.

Rules and tokens

OptionEffect
Max width / heightScale down until the chosen edge fits the given pixels
Max dimensionFit inside a square box; preserves aspect ratio
Exact (stretch)Force the exact width and height, ignoring aspect ratio
CoverScale to fill the box and centre-crop the overflow
PercentMultiply both dimensions by a percentage
Rename tokens{name}, {n}, {i} (padded), {w}, {h}, {ext}

GIF inputs use their first decoded frame; a skipped image keeps its original bytes.

Common mistakes

Mistake:Expecting bytes rather than pixels to shrink.

Fix:This tool changes dimensions; use an image compressor for quality and byte-size tuning.

Mistake:Enlarging small images by accident.

Fix:Leave upscaling off — the results table marks those files as skipped with their original size.

Mistake:Using exact stretch when aspect ratio matters.

Fix:Choose max dimension or cover; exact stretch deliberately ignores the source ratio.

Frequently asked questions

Is there a limit on image count or size?

Yes. A batch accepts up to 100 images and each file should be at most 50 MB. Extra files are ignored and oversized files are flagged in the error notice, with an explanation in the results table.

Does resizing keep the aspect ratio?

Max width, max height, max dimension and percentage all preserve the source aspect ratio. Exact size stretches to the requested dimensions, while cover scales to fill and centre-crops the excess.

What is the difference between max-dimension and exact size?

Max dimension fits the image inside a square box and keeps its shape; a 4000×3000 photo at 1600 becomes 1600×1200. Exact size forces both axes, so the same photo at 1600×1600 would be stretched unless you choose cover mode for a crop instead.

Are my images uploaded?

No. createImageBitmap decodes each file, a canvas draws the resized pixels, and toBlob produces the download. Nothing is uploaded and no image is stored after the tab is closed.

How does the rename pattern work?

Use {name} for the original basename, {n} for a one-based index, {i} for a zero-padded index, {w} and {h} for the output dimensions, and {ext} for the extension. Duplicate names automatically get a -2, -3 and so on before the extension.

Why was an image skipped instead of resized?

Upscaling is off by default, so any image whose target would be larger than the source keeps its original bytes and a skip note. Enable Allow upscaling if you intentionally want larger, interpolated pixels.