← Back to guides
GuidesOctober 18, 2026· 5 min read

How to Resize Images in Bulk Directly in Your Browser

Uploading images to a cloud service to resize them hands your files to a third party. Browser-based batch resizing keeps them on your device.

The Privacy Problem with Cloud Image Tools

Most online image resizers work by uploading your files to a server, processing them, and sending them back. This is fine for a photo of your dog. It's less fine for product images from an unreleased catalogue, screenshots of internal dashboards, or photos that contain visible addresses, faces, or financial information.

Even services with good privacy policies hold your files temporarily on their infrastructure. You can't fully control what happens to the data in transit or at rest, and you can't verify deletion. Browser-based tools sidestep this entirely: the images never leave your machine.

How Browser-Based Batch Resizing Works

Modern browsers support the Canvas API and WebAssembly, which together give you enough compute to resize, convert, and compress images locally. When you drop files into a browser tool, JavaScript reads them using the FileReader API, draws them onto a canvas at the new dimensions, and exports the result. For format conversion (for example, JPEG to WebP), codec libraries compiled to WASM handle the encoding.

The practical upside is that processing speed depends on your local CPU and GPU, not a shared server. A batch of 40 JPEG photos typically takes a few seconds on a modern laptop.

ImageKit at imagekit.illtools.com handles batch resizing, format conversion, and quality adjustment in the browser. You can drop in a folder of images, set target dimensions, pick an output format, and download a ZIP of the results.

Choosing the Right Output Format

Format choice affects both file size and compatibility. Here's a quick guide:

JPEG: Best for photographs and images with gradients. Widely supported everywhere. Lossy compression — the quality slider controls the trade-off between file size and detail. For web use, 75–85% quality is usually indistinguishable from 100% to most viewers.

PNG: Lossless compression. Good for screenshots, diagrams, images with text, or anything with transparency. Files are larger than JPEG for photos, but no detail is thrown away. Use PNG when the image will be edited again later.

WebP: Google's format, now supported by all major browsers. Typically 25–35% smaller than a JPEG of equivalent visual quality. Use WebP for images on websites where you control the browser environment. Not universally supported in older desktop apps and email clients.

AVIF: The newest format, offering the best compression of the group — often 40–50% smaller than JPEG. Browser support is good (Chrome, Firefox, Safari 16+) but still patchy in desktop apps. Use it if you need the smallest possible file and your audience is primarily on modern browsers.

When to Use Each Format

For email attachments: JPEG at 80% quality. Email clients are conservative and AVIF or WebP may render as broken images.

For web uploads (product images, blog photos): WebP is the modern default. JPEG is the safe fallback.

For social media: Platforms re-encode your images anyway. Upload the highest quality version you have (JPEG at 90–100%) and let the platform handle compression.

For internal tools and slide decks: PNG for screenshots and diagrams (preserves text sharpness), JPEG for photos.

Practical Batch Resizing Tips

Standardise dimensions before uploading to a CMS. Most CMS platforms resize images server-side, but sending correctly-sized images reduces storage use and speeds up initial page loads.

Name your files before batching. If you're resizing a set of product photos, rename them to something meaningful before you run them through the tool. Most batch resizers preserve the original filename, and "IMG_4821_800px.jpg" is easier to manage than "download (4).jpg".

Keep your originals. Always work from a copy. Resizing is lossy for JPEG and irreversible in most workflows. Store the originals at full size and re-derive the resized versions when you need them.

Check the output dimensions. Aspect ratio errors are easy to introduce when setting width and height independently. Most tools offer a "lock aspect ratio" option — use it unless you specifically need a non-proportional crop.

← All guides