Skip to main content
DigiToolBay
Image ToolsClient-Side Browser Processing

Image Cropper

Crop images visually or by exact pixel coordinates with 1:1, 4:3, 16:9, and free-form ratios.

Loading Image Cropper...

Cropping happens locally on your device using Canvas.

By DigiToolBay Editorial TeamPublished & verified:

About Image Cropper: Guide & Practical Notes

Preparing a square avatar, a 16:9 video thumbnail, or a 9:16 mobile preview from a larger photo requires exact aspect framing without throwing away PNG transparency.

Provides interactive aspect-ratio presets (Free, 1:1, 16:9, 4:3, 9:16) paired with live visual crop previews and exact X/Y/Width/Height pixel controls, exporting cleanly to PNG, WebP, or JPEG.

How to Use Image Cropper Step by Step

  1. Upload an image file to display its full dimensions and visual crop overlay.
  2. Select an Aspect Preset (like 1:1 Square or 16:9) or refine X, Y, Width, and Height in pixels.
  3. Choose PNG/WebP (to preserve alpha transparency) or JPEG, then click Crop & Download.

Worked Example

Crop a centered 1:1 square from a 1200×800 photo.

Inputs: Aspect Preset: 1:1 Square → auto-computes X=200, Y=0, Width=800, Height=800

Result: 800 × 800 px square export

Maximizes the square height (800 px) and centers horizontally at X=200.

Exact Sub-Rectangle Canvas Extraction

Uses Canvas `drawImage(img, sx, sy, sw, sh, 0, 0, sw, sh)` so cropped pixels retain 1:1 native sharpness without unintended resampling blur.

Common Real-World Uses

  • Framing 1:1 profile avatars and team headshots
  • Trimming 16:9 presentation slides or YouTube thumbnail artwork
  • Cutting excess margin around transparent PNG UI icons

Common Mistakes to Avoid

  • Saving a cropped transparent logo as JPEG (which flattens transparency onto white) instead of PNG or WebP.
  • Cropping out too small a rectangle and then scaling it up later, creating pixelation.

Supported Formats, Scope & Limitations

Crop X + Width and Y + Height must stay within the source image’s natural pixel bounds.

Privacy & Local Processing

All cropping runs locally on your device.

Frequently Asked Questions

Does cropping preserve transparent PNG backgrounds?

Yes—select PNG or WebP output and transparent regions remain intact.

How do I shift a preset crop box left or down?

After picking a preset like 1:1 or 16:9, adjust the X (horizontal) or Y (vertical) pixel offset and watch the preview box update.

Want to shrink the cropped image’s file size further? Pass it through the Image Compressor.