Crop Images by Percentage
Crop one or many images by percentages from the left and top, with a width and height, keeping the original format. Runs in your browser.
What it does
Crop Image trims photos using percentages instead of pixels: where the crop starts from the left and top, and how wide and tall it is. The same crop suits any resolution and applies to every image in a batch, each processed as its own job. By default it trims 10% from every edge and keeps the original format. Images never leave your device.
How to use it
- Choose one or more images, or drop them on the page.
- Set "From the left (%)", "From the top (%)", "Width (%)" and "Height (%)", then press "Crop images".
- Press "Download" next to each result; with several results you can also use "Download all (ZIP)" or, in Chromium-based browsers, "Save all to a folder".
Example
- Input
- team-photo.jpg (2000x1200), default crop: 10% from the left and top, 80% width and height
- Output
- team-photo-cropped.jpg (1600x960)
What happens to your file
- Your file or text is processed by code running in this browser tab. It is not uploaded to any server.
- The processing code is downloaded from this site with the page; nothing about your input is sent back.
- The result is created on your device and saved only when you choose to download it.
Limits
- The crop is set in percentages, not exact pixel coordinates, and there is no crop box to drag.
- The same crop applies to every image in a batch; per-image crops are not supported.
- The cropped area keeps its pixel size; resizing and rotating are separate tools.
- If the WASM encoder fails, your browser's own encoder is used; it may save PNG instead of the chosen format, and the file name then ends in .png.
Questions
Is the crop set in pixels or percentages?
In percentages of each image's width and height. "From the left (%)" and "From the top (%)" set where the crop starts (0 to 99), "Width (%)" and "Height (%)" set its size (1 to 100). If the crop would go past the right or bottom edge, it is shortened to fit.
What does the default crop do?
It starts 10% from the left and top and keeps 80% of the width and height, which trims 10% from every edge. Enter 0, 0, 100 and 100 to keep the whole image.
Does the crop follow the photo's orientation?
Yes. Images are decoded with their EXIF orientation applied, so the percentages refer to the image as you normally see it, and the result is saved upright.
What format is the cropped image saved in?
"Output format" starts at "Same as the original", which keeps JPEG, PNG, WebP and AVIF files in their format and saves other inputs as PNG. You can also pick WebP, JPEG, PNG or AVIF, with "Quality" from 20% to 100% (90% by default). Re-encoding drops the original metadata.
How are the cropped files named?
By default the original name plus -cropped, such as team-photo-cropped.jpg. In "File names ({name}, {n}, {w}, {h}; empty = default)" you can type a pattern: {name} is the original name, {n} the position in the batch, {w} and {h} the new size. For example, crop-{n}-{w}x{h} gives crop-1-1600x960.jpg.
Are the cropped images downloaded automatically?
No. They appear under "Results"; press "Download" for each one. With several results, "Download all (ZIP)" saves them in one ZIP file, and in Chromium-based browsers "Save all to a folder" writes them into a folder you pick.