Crop image
Crop JPG, PNG, WebP and GIF to a free selection or preset ratio right in your browser — pixel-exact, nothing uploaded.
How to crop an image
- Drop or pick a JPG, PNG, WebP or GIF file.
- Drag the selection or pick a ratio preset — fine-tune the exact width, height and position with the number fields.
- Crop and download — all on your device.
Why crop images?
Cropping reframes a shot, drops dead space and hits the exact aspect ratio a layout or platform needs. OptImg crops in real image pixels — the on-screen selection maps precisely to the output — entirely on your device, with no upload and no size limit.
Frequently asked questions
- Are my images uploaded to a server?
- No. Cropping runs entirely in your browser with WebAssembly — your image never leaves your device, and there are no size or file-count limits.
- Can I crop to an exact size or ratio?
- Yes. Pick a preset ratio (1:1, 4:3, 16:9 and more) or type the exact width, height and position in pixels — the visual selection and the number fields stay in sync.
- Does cropping keep animation?
- Yes. Every frame of an animated GIF is cropped to the same rectangle, and delay and loop are preserved.