Batch image workflow

Batch crop or pad images, set exact pixels, convert formats and target a file size.

  • Runs locally
  • Free

Use the tool

Your files are processed in your browser and are not uploaded to a server.

About this tool

An all-in-one batch image workflow: crop or pad to exact dimensions, convert formats, add watermarks, rename by pattern and compress to a target size. Save the whole setup as a preset and reuse it next time.

Typical uses

  • Prepare a batch of product photos as 800×800 white-background JPGs
  • Resize event photos, add a logo and number the files
  • Export images under a platform’s KB limit in bulk

How to use

  1. Add images, choose exact dimensions with crop or padding, or use maximum dimensions. Set format, quality and an optional KB limit.

  2. Adjust crop focal points, add optional text/logo watermarks and numbered filenames, then compress the final images. Check dimensions and targets, download files or ZIP, and save the full parameter set as a preset.

Example

For example, choose 800 × 800 px, white padding, JPG and a 200 KB limit. Adjust framing, inspect results, retry only unmet targets at lower quality and download ZIP.

Good to know

Exact dimensions may enlarge an image without adding detail; maximum dimensions only downsize. A file-size target may be unattainable, and fixed pixels are never silently reduced. Pica resampling is available. Up to 50 files/100 MB, 45 MP/16384 px per side for input/output, and 128 MB total output.

Exact sizing may enlarge images without adding detail. File-size targets are not guaranteed; unmet targets are flagged. Up to 50 files and 100 MB per batch, with paginated results and individual or selected ZIP downloads.

Step order for each image and how framing is computed

“Process all images” runs the same pipeline on one image at a time, always in this order:

  1. Decode the original again and confirm its pixel size matches what was queued.
  2. In crop-to-fill mode, cut a region of the target aspect ratio at the original resolution, in whole pixels, with no lossy intermediate encode.
  3. Resize to the target: “Resampling” Pica uses Pica’s high-quality resampler; “Browser” uses the canvas’s high-quality smoothing.
  4. In fit-with-padding mode, place the resized image on the target canvas; the rest gets the background color, or stays transparent when that option is ticked.
  5. With “Add a watermark before compression” on, paint the watermark. It is drawn on the final pixels, so the compression step compresses it too.
  6. Encode as JPG, PNG or WebP, running the quality search when a size limit is set, then build the preview thumbnail.

Framing comes from specLayout. “Position” is the horizontal / vertical slider in “Per-image framing and padding position”, 50% (centred) by default. Crop and content boxes read “width × height @ (x, y)” in pixels:

SourceSizing and framingTarget · positionOutputTaken from sourcePlaced in outputUpscaled
4000 × 3000Fixed pixels · crop to fill1200 × 1200 · 50% / 50%1200 × 12003000 × 3000 @ (500, 0)1200 × 1200 @ (0, 0)no
4000 × 3000Fixed pixels · crop to fill1200 × 1200 · 0% / 50%1200 × 12003000 × 3000 @ (0, 0)1200 × 1200 @ (0, 0)no
4000 × 3000Fixed pixels · fit with padding1200 × 1200 · 50% / 50%1200 × 12004000 × 3000 @ (0, 0)1200 × 900 @ (0, 150)no
1080 × 1920Fixed pixels · crop to fill800 × 1000 · 50% / 50%800 × 10001080 × 1350 @ (0, 285)800 × 1000 @ (0, 0)no
800 × 600Fixed pixels · crop to fill1200 × 1200 · 50% / 50%1200 × 1200600 × 600 @ (100, 0)1200 × 1200 @ (0, 0)yes
800 × 600Maximum bounds · no upscale (legacy)≤ 1600 × — · 50% / 50%800 × 600800 × 600 @ (0, 0)800 × 600 @ (0, 0)no
4000 × 3000Maximum bounds · no upscale (legacy)≤ 1600 × — · 50% / 50%1600 × 12004000 × 3000 @ (0, 0)1600 × 1200 @ (0, 0)no

Cropping a 4000 × 3000 photo to 1200 × 1200 takes the middle 3000 × 3000 and drops 500 px on each side; dragging the horizontal position to 0% keeps the left edge instead. With padding the photo shrinks to 1200 × 900 with 150 px above and below. An 800 × 600 image is enlarged to 1200 × 1200 in the fixed-pixel modes and the page says “will upscale” — no detail is added. The older “Maximum bounds · no upscale (legacy)” mode leaves it at 800 × 600.

Target size, transparency and metadata

With “Limit file size per image” on, “Size limit (KB)” uses 1 KB = 1024 bytes, so the default 200 KB is 204800 bytes. The search encodes at the maximum quality first (default 90%). If that is too big it tries the minimum quality (default 40%); if that fits, it bisects 7 times between the two and keeps the highest quality that fits. That is at most 9 encodes per image, and the pixel dimensions never change. If even the minimum is too big, the smallest attempt is kept and marked “not met”.

“Retry unmet at lower quality” reprocesses only the flagged images with the minimum lowered to 10%. PNG has no quality setting: it is encoded once and flagged if too big, and the retry button does not appear. Switch to JPG or WebP, or reduce the output size.

Output format“Transparent padding and background (PNG/WebP)”Transparent areas and padding become
JPGunavailablefilled with “Background color” (white #ffffff by default).
PNG / WebPoffalso filled with the background color, including areas that were transparent in the source.
PNG / WebPontransparent, both the source’s transparent areas and the padding.

Each output is re-encoded from canvas pixels; the tool copies no EXIF, GPS, camera settings or ICC blocks from the original. Orientation is whatever the browser shows after decoding: the preview thumbnail and the final output go through the same decode, so if the preview is upright the result is too. To inspect or strip metadata on its own, use the metadata tool.

Filenames and ZIP downloads

“Naming style” defaults to “Sequence” with the prefix image-, starting at 1 and padded to three digits; the extension follows the output format. All names are assigned once in queue order, so retrying one image never renames the others. Duplicates (ignoring case) get “ (2)”, “ (3)”; the Windows reserved names CON, PRN, AUX, NUL, COM1–9 and LPT1–9 get an image- prefix; \ / : * ? " < > | become “-”.

Source file“Sequence” · JPG (default)“Original filename” · WebP · no prefix
IMG_0412.JPGimage-001.jpgIMG_0412.webp
IMG_0412.pngimage-002.jpgIMG_0412 (2).webp
Photo.webpimage-003.jpgPhoto.webp
photo.jpgimage-004.jpgphoto (2).webp
con.jpgimage-005.jpgimage-con.webp
a:b?.jpgimage-006.jpga-b-.webp
商品 写真.jpgimage-007.jpg商品 写真.webp

“Original + sequence” joins the name and number with “-”: prefix shop_, suffix _800, start 9 and two digits give shop_a-09_800.jpg, shop_b-10_800.jpg. Only the last extension is removed, so IMG_0412.HEIC.jpg keeps “.HEIC”.

Results are listed 8 per page. “Download all ZIP” downloads image-specification.zip with every file at the root, no folders. You can also tick some results and zip just those; with a single selection the image downloads directly. A ZIP may not exceed 128 MB.

Limits and messages

MessageWhen it appears
Up to 50 images, totaling 100 MB.More than 50 files or more than 100 MB in one selection. Choosing again replaces the whole queue.
Choose readable PNG/JPG/WebP images up to 30 MB each.Not PNG, JPG or WebP, empty, larger than 30 MB, or undecodable. Convert HEIC first.
Animated images are not supported. Export a still image first.Animated PNG or WebP files are refused.
Input and output are limited to 45 MP and 16384 px per side.The source or output exceeds 45 MP or 16384 px per side, or the file changed size after it was queued.
Check dimensions, watermark, naming, quality and target KB. Fixed sizes require positive integer width and height.A fixed-pixel mode without width and height, width × height above 45 MP, or invalid naming or KB settings.
Image decoding timed out. Resize the image and retry.Decoding one image took more than 30 seconds.
Encoding timed out. Reduce dimensions or change format and retry.A single encode took more than 30 seconds.
Cannot encode the selected format, or output exceeds 128 MB. Try PNG/JPG or smaller dimensions.The browser cannot encode that format (some cannot write WebP), or one result exceeds 128 MB.
Results reached 128 MB. Completed files are kept; use smaller batches.All results together exceed 128 MB; finished results are kept and processing stops.

Images are processed one at a time in the browser and never uploaded. Local presets keep dimensions, watermark text, naming and compression settings, but not the images, the logo (up to 5 MB) or per-image framing.

Related guide

  • Image and PDF compression guide — Why photos are several MB, whether to resize or lower quality first, and measured JPG sizes at different pixel sizes and qualities — plus roughly how many pixels fit in 20 KB, 100 KB or 500 KB, why PNG won’t shrink, and how to compress scanned PDFs.

Frequently asked questions

Will small images be enlarged for exact dimensions?

Yes, they are output at the set size, but enlarging adds no detail. Choose maximum dimensions if you only want to downscale.

What if a target size is not reached?

Fixed pixels are never silently reduced. Images that miss the target are flagged so you can retry with lower quality.

How many files at once?

Up to 50 files and 100 MB input, with 128 MB total output.