keptlocal
Files never leave your browser

Crop Image

Drop an image, drag to select a crop region, and download the cropped result instantly. Includes common aspect ratio presets. Nothing is uploaded.

Drop an image here, or

JPG, PNG, WebP · Files never leave your browser.

Upload an image to get started.

How to crop an image

  1. Drop your image into the zone above, or click to browse. JPG, PNG, and WebP files are supported.
  2. The image loads in an interactive preview. Click and drag across it to draw the crop region. The corner handles can be dragged to adjust the selection, and the exact pixel dimensions appear below the preview as you drag.
  3. Optionally select an aspect ratio preset — 1:1 (square), 4:3, 16:9, 3:2, or 2:3 — to constrain the selection to fixed proportions. Choose Free for unconstrained cropping.
  4. Choose an output format: keep the original, or convert to JPG, PNG, or WebP at the same time.
  5. Click Crop & download. The cropped image saves to your device.

All cropping happens in your browser using the Canvas API. No file is sent to a server — open DevTools (F12) → Network while cropping to confirm zero upload requests.

When to crop an image

  • Preparing a profile photo or avatar — most platforms display profile photos as squares. Crop your photo to 1:1 first to control which part of the image is shown, rather than letting the platform auto-centre it in a way you did not intend.
  • Removing unwanted edges from a screenshot — screenshots often include window chrome, taskbar elements, or whitespace that distracts from the content. Cropping to the relevant region makes the screenshot cleaner for documentation, bug reports, or presentations.
  • Creating a thumbnail from a larger photo — a thumbnail should be a deliberate composition, not a scaled-down version of the full image. Crop to the focal point, then resize with the Resize Image tool.
  • Fitting an image to a required dimension format — blog cover images, social media posts, and presentation slides often require a specific aspect ratio. Cropping to 16:9 before uploading ensures the image fills the frame as intended.
  • Removing sensitive information from the edge of an image — a screenshot of a document may include a name, email address, or other personal detail at the margin. Cropping removes it without the need for a blur or redaction tool.

Aspect ratio presets explained

Free lets you draw any rectangular selection with no constraint. Use this when you need a specific pixel size rather than a proportional shape.

1:1 (square) is used for profile photos (Twitter, Instagram, LinkedIn, most forum avatars), product thumbnails, and app icons. Cropping to a square before uploading ensures consistent display across platforms.

4:3 is the classic photo and presentation ratio. Most older digital camera photos and standard-definition video frames use this ratio. Blog post images and slides in 4:3 format use it too.

16:9 is the widescreen standard. YouTube thumbnails, presentation slides in widescreen mode, monitor desktop backgrounds, and video cover images all use 16:9. It is the dominant aspect ratio for any screen-first content.

3:2 is the ratio used by most DSLR and mirrorless cameras. Prints at standard photo sizes (4 × 6 in, 10 × 15 cm) use this ratio. Cropping to 3:2 ensures a photo fills a standard print size without cutting off subjects unexpectedly at the lab.

2:3 (portrait) is the vertical equivalent of 3:2. Instagram portrait posts, phone wallpapers, and physical prints held in portrait orientation use this ratio.

How it works under the hood

When you load an image, it is decoded into a browser <img> element and drawn onto a <canvas> scaled to fit the display area. The canvas tracks mouse and touch events to update the crop selection rectangle in real time.

The preview overlay dims the area outside the selection using a semi-transparent fill, then draws the original image pixels back into the crop rectangle — so you always see the actual image content inside the selection, not a colour approximation. A rule-of-thirds grid is drawn over the selection as a composition aid.

When you click Crop & download, the tool maps the display-coordinate crop rectangle back to the original image's pixel coordinates (accounting for the display scale factor), creates an off-screen canvas at the exact output size, draws the source image region into it with drawImage(), and encodes it to the chosen format using canvas.toBlob(). The result is a pixel-perfect crop of the original image at full source resolution.

Limits and what to expect

  • Minimum crop size: the selection must be at least 4 × 4 pixels on the display canvas. Very small crops on very large images may be difficult to set precisely — use the display scale indicator to gauge the actual output size.
  • No magnification: you cannot zoom into the preview. For pixel-precise crops on large images, the Resize Image tool can scale down first to make the region easier to select.
  • Transparency: PNG transparency is preserved in PNG output. Converting a transparent PNG to JPG replaces transparent areas with white.
  • HEIC input: not supported. Convert HEIC to JPG first using the Convert Image tool.
  • Output quality: JPG and WebP output use 0.92 quality (visually lossless for most content). PNG output is lossless.

Privacy: what happens to your image

Your image is loaded into browser memory, drawn to a canvas, cropped locally, and downloaded directly to your device. Nothing is transmitted to a server. The entire operation happens within your browser tab — close it and the image data is gone.

Frequently asked questions

Are my images uploaded to a server?
No. Cropping runs entirely in your browser using the Canvas API. Your image never leaves your device — open DevTools → Network while cropping to confirm there are no upload requests.
How do I set the crop region?
Click and drag on the image preview to draw a crop region. Drag the corner handles to resize the selection. The current selection dimensions and position are shown below the canvas.
What aspect ratio presets are available?
Free (unconstrained), 1:1 (square), 4:3 (standard photo/screen), 16:9 (widescreen), 3:2 (classic photo), and 2:3 (portrait). Selecting a preset constrains your drag to that ratio.
Can I crop to an exact pixel size?
The tool shows the crop dimensions in pixels as you drag. To hit exact pixel values, use the Free ratio and drag until the crop info reads the target dimensions. The output is always the exact pixel size shown.
Can I change the output format?
Yes — choose to keep the same format as the input, or convert to JPG, PNG, or WebP at the same time as cropping.
Does cropping work on mobile?
Yes. Touch-drag on the preview canvas to set the crop region. Corner handles can be moved with a precise touch.