Image Cropper
Crop images by dragging on the canvas or entering exact pixel coordinates. Lock to common aspect ratios and export as PNG, JPEG, or WebP.
Drag & drop an image file here (PNG, JPEG, WebP, GIF, SVG)
Output size: 400 x 300 px
About This Tool
The Image Cropper lets you trim any photo or graphic to an exact pixel rectangle or standard aspect ratio directly in your browser using the HTML5 Canvas API.
You can drag across the interactive canvas to frame a region visually, or type exact X, Y, Width, and Height coordinates in pixels for sub-pixel-free keyboard precision. Export the cropped result as lossless PNG, or compressed JPEG and WebP with an adjustable quality slider.
Key Features
- Aspect ratio presets: Switch between Free, 1:1 (Square), 16:9 (Widescreen), 4:3 (Standard), and 3:2 (Photo) ratios at any time.
- Keyboard-friendly pixel inputs: Set X, Y, Width, and Height in exact source pixels, clamped automatically to the image boundaries.
- Interactive canvas selection: Click and drag on the source canvas to draw or reposition the crop box with live rule-of-thirds guides.
- PNG, JPEG & WebP export: Download the cropped image in your preferred format with configurable quality for lossy formats.