Skip to content
OddsockLocal
Local

No files yet.

Waiting for inputRuns in this browser. Nothing is uploaded.

How to use

  1. Choose the images.
  2. Set the ratio. 1:1, 4:5, 16:9 or a pair like 3:2.
  3. Set the center. 50, 50 is the middle. 0, 0 is the top-left.
  4. Download the ZIP.

What is Batch crop to a ratio?

Each image is cropped to the largest rectangle of the ratio you set, then that rectangle is cut from a center you place. The ratio opens at 1:1. On a 4000 by 3000 landscape the largest square is 3000 by 3000. Crop center 50 and 50 puts it in the middle, which trims 500 pixels from the left and 500 from the right. Center 0, 0 pins the window to the top-left. Center 100, 100 pins it to the bottom-right. The pixels inside the window are not scaled. A portrait uses the same rule with width and height swapped.

Read more

The same ratio and the same center are applied to every file. A square source at 1:1 is unchanged in size. A custom ratio such as 4:5 or 16:9 works the same way: the window grows until one side hits the image. Output format Source keeps each container. JPEG is lossy at the quality setting and has no alpha. PNG keeps alpha inside the crop. Animation becomes the first frame of each file.

The download is a ZIP even for a single image, because this is a batch export. Names follow the originals with the new extension, and a clash gets -2. The files you dropped are not overwritten. If you needed a freehand rectangle rather than a ratio, the crop page in the photo tools is the one with a width and a height.

Use cases

  • A shop cropping a folder of product photos to 1:1 for a grid.
  • A photographer making 4:5 proofs from a mix of landscape frames.
  • A designer centering a 16:9 cut on a set of banners.
  • Someone pinning the crop to the top with center Y at 0.
  • A student checking that a 4000 by 3000 frame loses 500 pixels a side at 1:1.

4000 by 3000 to a centered square

A 4000 by 3000 photo. Ratio 1:1. Crop center 50, 50.

A 3000 by 3000 image, the center of the original. 500 pixels are gone from each side. The download is in a ZIP.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

No. The window is a crop. A 3000-pixel square stays 3000 pixels.