Cropper Batch
Select several images at once and crop each of them to the same width and height using one of nine anchor positions; a single image downloads as PNG and a batch is packed into one zip.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Images are processed locally in your browser with Canvas and never uploaded.
When the target is smaller than the source the frame is taken from this position; the rest is filled with transparent pixels.
Pick one or more images first (PNG / JPEG / WebP / GIF all work).
Result details
Pick images and the cropped preview shows up immediately.
What this tool does
- Normalise a whole batch of assets to one size: set the width and height, crop everything at once and the grid stops jumping.
- Pre-process uploads: trim the extra edge yourself instead of letting the platform auto-crop away the subject.
- Grab exactly one corner: pick an anchor such as top-left or bottom-right to take a corner of the original without scaling it first.
- Export a batch as an archive: crop everything and download a single zip instead of clicking through files one by one.
Example
Input
A 4 × 3 image, crop width and height both 2, position "centre"
Output
Crop origin 1, 0 · 2 × 2 Output size 2 × 2 Cropped pixels 8
This is the real output of the pure pixel logic: the horizontal surplus is 4 − 2 = 2, so the centred origin is x = 1, while the vertical difference is zero so y = 0. The result is a fresh RGBA array and the input is left untouched.
Frequently asked questions
How are the nine anchors computed?
"Centre" uses floor((source − target) / 2); left and right use 0 and source − target; anchors that mention top or bottom apply the same rule vertically. With an odd difference the centred crop leans one pixel to the top left.
What if the target is larger than the source?
Nothing breaks: the frame starts at 0 and the area outside the source is filled with fully transparent pixels (alpha = 0). PNG keeps that transparency, while a JPEG export is flattened onto white by the canvas.
How does the batch export work?
A single selected image downloads straight as PNG. With two or more, each file is named "name-cropped-N.png" and packed into one zip with fflate. Duplicate names get an extra index so nothing is overwritten.
Can I crop a non-rectangular region?
No. The crop frame is always an axis-aligned rectangle — no rotation or skew. Use the circle or rounded-corner tools for other shapes.
Are my images uploaded?
No. Decoding, cropping and encoding all happen in browser memory; there is no upload endpoint, so it works offline.
Keywords:cropper batch