IMAGE TOOLS
Image Cropper
Choose an image and cut out the part you need. Drag the selection or its corners, pick a fixed aspect ratio, or type exact pixel coordinates. The image is cropped in your browser and is never uploaded to a RandomTools application server.
STEP 1
Choose an image
No image selected yet.
- File
- Format
- Dimensions
- Size
STEP 2
Adjust the selection
Drag inside the selection to move it and drag a corner to resize. With the selection focused, the arrow keys move it by 1 px, Shift + arrow keys resize it, and the fields below accept exact pixels.
The selection stays inside the image and must be at least 8 × 8 px. Picking an aspect ratio centers a new selection with those proportions. JPEG does not keep transparency and is drawn on a white background.
RESULT
Cropped image
- Dimensions
- Format
- Size
How the image cropper works
The browser decodes your file, shows it at a size that fits the page, and records your selection in the image's own pixel coordinates. Cropping draws only that rectangle onto a new canvas at its original resolution, then encodes the canvas as PNG, JPEG, or WebP. The cropped file stays in memory and is offered as a download; the original file is unchanged, and RandomTools does not upload it to an application server.
The selection box is clamped to the image edges. Drag inside it to move the whole selection, drag a corner handle to resize it, or type X, Y, width, and height for exact values. Choosing an aspect ratio creates a centered selection with that proportion, and later corner drags keep it. Freeform lets the two sides change independently.
Selection, format, and size limits
Input files can be up to 40 MB and 16,384 px on the longest side, with at most 50 megapixels. The selection stays inside the image: a position or size that would cross an edge is clamped back to the nearest valid selection as you type or drag, and a selection smaller than 8 × 8 px is rejected with an explanation when you crop. The cropped output keeps the selected pixel dimensions; it is not rescaled.
PNG is lossless and keeps transparency. JPEG is lossy, usually smaller for photographs, and is drawn on a white background because it has no alpha channel. WebP supports transparency and both lossy and lossless data. Cropping does not guarantee a smaller file: a crop that keeps most of a photograph can be nearly as large as the original, and re-encoding can change the size.
GIF input is supported, but only the first frame is drawn, so an animated GIF becomes a still image. SVG is rejected because it is a document format that can reference external resources. AVIF support depends on the browser's decoder.
Image cropper FAQ
Is my image uploaded?
No. The file is read with the browser's local file APIs and drawn to a canvas in this page. RandomTools does not send the file to an application server. As described in the privacy policy, the disclosed advertising script runs in the same page context, so local processing does not guarantee isolation from third-party JavaScript; blocking that script disables the advertising without affecting the tool.
Can I crop with the keyboard?
Yes. Focus the selection and use the arrow keys to move it, or Shift + arrow keys to resize it from the bottom-right corner. The X, Y, width, and height fields give exact control and also work without a pointer.
Why does the cropped file have different dimensions than the box I drew?
The box is shown scaled to fit your screen, while the numbers are in the image's real pixels. The result uses those real pixels, so a selection that looks small on screen can still be large. The fields show the exact width and height that will be produced.
Related image tools
To change the pixel size of the cropped result, use the image resizer. To compare file sizes at the same dimensions, use the image compressor.
Last updated: