b4rn1 · imagetoolsphotos
Bin PH-01·Photos

Crop image

Crop a photo to an exact size or ratio for a form, profile picture or thumbnail. Drag the frame, type the numbers, download the result.

BinPH-01
DepartmentPhotos
Free runs5 a day
File limit25 MB
Runs onYour device
Loading the tool…

The code for this tool is fetched only when you open it.

What crop image does

Crop takes the pixels inside a frame you draw and throws the rest away. It is built for the jobs with a number attached: a 35 by 45 mm passport photo, a 400 by 400 avatar, a 1200 by 630 link preview, or a square for a marketplace listing. You can drag the frame, type exact pixels, or lock an aspect ratio and let one side drive the other.

How it works

The file is decoded with createImageBitmap using the imageOrientation "from-image" hint, so a phone photo taken sideways is rotated upright before anything is measured. The frame is then drawn onto a 2D canvas at its true pixel size and re-encoded once.

Runs on your device

The file never leaves this tab. It is decoded by the browser, worked on in memory and encoded again — no request carries it, and there is no server-side copy to delete afterwards because none is made.

Formats and limits

TakesJPG, PNG, WebP, GIF, BMP and AVIF — anything the browser can decode
ReturnsPNG, JPG or WebP at exactly the crop size you entered
KeepsPixel dimensions inside the frame, orientation, and colour profile as far as the browser carries it
Does not keepEverything outside the frame, and any EXIF metadata such as GPS or camera model
Limits25 MB per file on the free bench. Output size is bounded only by what a canvas can hold, which is roughly 16,384 px on a side in Chrome and Firefox.
PriceFree, 5 runs a day, no account

Worth knowing

  • No re-compression loop: the crop is one clean draw and one encode, so quality does not degrade with repeated edits in a single session.
  • Typing a width while the ratio is locked fills the height from the source ratio, which is what makes passport and A-series print sizes land on the first try.

Questions about crop image

Why is my cropped file smaller than the original?

Because the pixels outside the frame are gone. File size scales with area, so cutting a 4000 by 3000 photo down to 1200 by 900 removes most of the data. Nothing else is thrown away beyond one encode pass.

Does cropping change the aspect ratio of faces or text?

No. The frame only selects a region; it never stretches the contents. If you need a different ratio than the source has, you crop to it and lose the edges — the tool will not deform the picture to fit.

What are the standard passport photo sizes?

The common ones are 35 by 45 mm (UK, EU, Australia), 2 by 2 inches or 51 by 51 mm (US), 35 by 35 mm (Australia for some documents) and 33 by 48 mm (China). At 300 dpi those become 413 by 531, 600 by 600 and 390 by 567 pixels respectively. Enter the pixel pair directly and set the output format to JPG.

What happens to my photo?

It is read with the browser's own image decoder and drawn on a canvas in this tab. No network request carries the file anywhere.

Why is the output smaller than the original?

Cropping only keeps the pixels inside the frame, so the file gets smaller by however much you cut away. Nothing is re-compressed beyond one clean pass.

Which formats does it accept?

It takes JPG, PNG, WebP, GIF, BMP and AVIF — anything the browser can decode. Anything the browser cannot decode is rejected with an error rather than producing a broken file.

What comes out at the end?

PNG, JPG or WebP at exactly the crop size you entered. What survives: Pixel dimensions inside the frame, orientation, and colour profile as far as the browser carries it. What is lost: Everything outside the frame, and any EXIF metadata such as GPS or camera model.

What is the maximum size?

25 MB per file on the free bench, with no page or run limit inside that size. Larger files are refused before any work starts rather than failing halfway through.

Does my file leave my device?

No. There is no upload step and no server-side copy: the browser decodes and re-encodes the file in this tab, and the network carries nothing about it.

Does it work offline?

Once the page has loaded, yes — the processing code runs locally and no further request is needed. The first load has to come from the network like any page.

Crop an image online — free, exact, no upload · b4rn1