Skip to content
PixelKit

Transform

Crop with precision, by mouse or keyboard

Drag the box, pull a corner, or type exact pixel values. Ratio locks keep every crop on-spec.

Processed on your device

Drop an image to crop

PNG, JPG, WebP. Stays on your device.

Aspect ratio

Keyboard: focus the crop box, then use arrows to nudge 1 px, Shift + arrows for 10 px, Alt + arrows to resize.

Export as

How to use

  1. Drop an image. A centred crop box appears at the largest size that fits the chosen ratio.
  2. Choose a ratio: Free, 1:1, 4:5, 16:9 or 3:2.
  3. Drag inside the box to move it; drag a corner handle to resize. The opposite corner stays put.
  4. For fine control, focus the box with Tab and use the arrow keys (1 px), Shift + arrows (10 px) or Alt + arrows (resize).
  5. Or type X, Y, width and height directly, then export as PNG, JPG or WebP.

How it works

The crop rectangle is stored in the image's own pixel coordinates, not screen pixels, so the result is exact regardless of how large the preview is. Pointer movement is converted with imagePx = screenPx × (naturalWidth / displayedWidth).

Every change passes through a clamping step: the box is shrunk to fit the image if necessary and then slid back inside its edges. When a ratio is locked, a corner drag keeps the opposite corner anchored, derives the second side from the first (h = w / ratio), and if that would cross an image edge, shrinks both sides together so the ratio survives.

The export draws only the selected region onto a new canvas of exactly that size, so no resampling happens: pixels are copied 1:1.

Worked example

A 1000 × 600 image with a 1:1 lock starts with a 600 × 600 box at x = 200. Dragging the bottom-right handle far beyond the image from a box anchored at (100, 100) stops at 500 × 500: the image has 900 px of room to the right but only 500 px below, and the square must fit both.

Limitations

  • Rotation and straightening are not supported.
  • Corner handles only; edge handles are omitted to keep touch targets large on phones.
  • Very large images are previewed scaled down, but the export is always at full resolution.

FAQ

Is the crop lossless?

The pixels are copied exactly. Exporting as PNG keeps them lossless; JPG and WebP apply compression at a high quality of 0.92.

How do I crop to an exact pixel size like 1080 × 1350?

Choose the 4:5 ratio, type 1080 into Width (height follows), position the box, and export. If the image is smaller than the size you need, crop at the right ratio and then use the resizer.

Can I use it without a mouse?

Yes. Every control is reachable with Tab. Once the crop box is focused, arrow keys move it and Alt + arrow keys resize it from the bottom-right corner.

Does cropping remove location data?

Yes. The exported file is new and contains only pixel data, so EXIF fields such as GPS coordinates are not carried over.