DevTools Logo

Image Cropper

Image Cropper

Crop an image with aspect locks and social presets. Coordinates stay in source pixels and export is full resolution.

Runs in your browser

Crop settings

no image

PNG, JPEG, WebP or GIF first frame. Nothing is uploaded.

Crop preview

no image

Choose an image to start cropping

Examples

Square avatar

Input
Photo → 1:1 lock → drag → PNG
Output
Square crop at source resolution

The lock keeps the rectangle square; PNG preserves any transparency in the source.

Thumbnail

Input
16:9 preset → W=1280 → JPEG 92%
Output
1280×720 JPEG

Typed dimensions update the same rect used by the export pass.

Screenshot detail

Input
X=200, Y=120, W=640, H=360
Output
Readout: 640 × 360 px at 200, 120

The readout and export share one source-pixel rectangle regardless of preview zoom.

About this tool

The Image Cropper cuts a region out of one image with a draggable rectangle, eight resize handles and exact numeric coordinates. Aspect locks cover 1:1, 4:3, 3:2, 16:9, 9:16 and 1.91:1 plus a custom W:H field; social presets set the ratio and warn if the resulting crop is smaller than a typical platform minimum. Zooming the preview never changes the stored crop, which is always in source pixels.

You can rotate in 90-degree steps, flip horizontally or vertically, and toggle a rule-of-thirds guide before exporting. Export draws the selected region from the transformed source at native resolution — no preview resampling — into PNG, JPEG with a white matte and quality slider, or WebP where the browser supports it. A JPEG export of a transparent PNG is explicitly labeled as losing alpha.

This is a single-image, interactive geometry tool: no batch resizing, compression or watermarking, and no upload path. Files stay in browser memory until you close the tab.

What this tool does not do

  • Single image per session; there is no batch or folder pipeline.
  • Animated GIFs export the first frame only.
  • WebP encoding depends on browser support; PNG and JPEG are universally available.
  • No perspective correction, free-angle rotation or elliptical crop mask.

How to use this tool

  1. Choose an image

    Pick a PNG, JPEG, WebP or GIF. The first frame of an animated GIF is used and the crop starts as a centered 80% rectangle.

  2. Set the region

    Drag the rectangle to move it, drag its eight handles to resize, drag on empty space to draw a new one, or type exact X/Y/W/H values.

  3. Lock a ratio

    Choose an aspect lock or a social preset. The rectangle re-centers on the current selection and keeps that ratio during subsequent resizes.

  4. Transform if needed

    Rotate by 90-degree steps or flip horizontally/vertically. Rotation resets the crop because the source dimensions swap.

  5. Download

    Pick PNG (alpha preserved), JPEG (white matte, adjustable quality) or WebP, then download a full-resolution file named from the original.

Use cases

Social assets

Produce correctly proportioned posts, stories and thumbnails from one source photo.

Documentation screenshots

Cut a precise region out of a large screenshot by typing coordinates.

Private trimming

Trim a photo before sharing without sending it to an online editor.

Aspect presets

PresetRatio / guidance
1:1Square profile posts; 1080 px suggested
9:16Vertical stories; 1080 px wide suggested
16:9YouTube thumbnails; 1280 px wide suggested
1.91:1Open Graph link previews; 1200 px wide suggested
CustomAny positive W:H value, e.g. 3:2
Free formIndependent width and height with a 16 px minimum

Constraint priority while resizing: image bounds first, locked aspect second, minimum size last. Coordinates are always shown in source pixels.

Frequently asked questions

Does cropping reduce image quality?

The crop itself does not resample: the export draws exactly the selected source pixels at native resolution. Choosing JPEG recompresses those pixels and can introduce generation loss; PNG keeps the sampled pixels intact, and WebP depends on the browser encoder. Preview zoom never affects the exported file.

What aspect ratio do Instagram and YouTube use?

Square posts use 1:1, stories use 9:16, YouTube thumbnails use 16:9, and Open Graph link previews look best near 1.91:1. The presets set those ratios and warn if your selection is smaller than the usual suggested width.

Can I crop at the original resolution?

Yes. Coordinates and dimensions are stored in source pixels and export draws from the original bitmap at 1:1. The preview may be scaled down to fit the screen, but that transform is never applied to the output.

Are my photos uploaded?

No. The image is decoded by the browser and processed with canvas APIs entirely inside your tab. There is no network request carrying image data, and the file is discarded when you close or reload the page.

Can I rotate before cropping?

Yes. Use the 90-degree rotate button or the horizontal/vertical flip buttons. Rotating swaps the source dimensions and resets the crop rectangle; flipping keeps the current crop coordinates on the transformed image.

What happens to transparency in a JPEG crop?

JPEG has no alpha channel, so the export first fills the crop with white and then draws the image over it. A notice appears whenever JPEG is selected; choose PNG if you need the transparent regions preserved.