Batch Image Resizer
Resize many images to a width, height, percentage or max-dimension rule with renaming — all in your browser.
Images
0 imagesImages 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
4000×3000 photo, max dimension 16001600×1200 JPEGAspect ratio is preserved and long edges are bounded for web delivery.
Square avatar
Landscape photo, cover 512×512512×512 centre-cropCover mode fills the square instead of adding letterbox bars.
Numbered set
pattern thumb-{i}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
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.
Pick a resize rule
Choose max width, max height, max dimension, exact stretch, cover crop or percentage, then set the pixel values or percentage.
Choose output options
Select the format and quality, decide whether upscaling is allowed, and edit the rename pattern.
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
| Option | Effect |
|---|---|
| Max width / height | Scale down until the chosen edge fits the given pixels |
| Max dimension | Fit inside a square box; preserves aspect ratio |
| Exact (stretch) | Force the exact width and height, ignoring aspect ratio |
| Cover | Scale to fill the box and centre-crop the overflow |
| Percent | Multiply 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.
Related tools
APCA Contrast Calculator
Calculate directional APCA 0.1.9 Lc contrast scores and compare them with WCAG 2.1 ratios.
Barcode Generator
Generate barcodes in 8 formats (CODE128, EAN13, UPC, and more) — configure line width, height, and text display, then download as SVG or PNG.
Base64 Image Encoder
Open the Image workspace in Base64 Toolbox to resize and convert images to Base64 data URIs, then copy HTML, CSS, Markdown or JavaScript snippets.
BlurHash Generator
Encode an image into a compact BlurHash string and verify it with a live decode preview.
CSS Container Queries Lab
Generate CSS container queries and preview responsive component patterns
Duplicate Image Finder
Drop a folder to find exact and near-duplicate photos with SHA-256 plus perceptual hashes, review clusters and export a cleanup list — no uploads.