Image Optimizer
Crop to any aspect ratio, resize, and compress JPG, PNG or WebP — with a live file-size preview and weight targets for each size. Everything stays in your browser.
Crop & aspect ratio
Resize & compress
Output size
—
Original
—
Optimized
—
Saved
—
Recommendation
Load an image to see a tailored weight target.
100% private — your image is processed locally and never uploaded to any server.
How to optimize an image
- Upload an image by dragging it onto the drop zone or clicking to browse. JPG, PNG, WebP and GIF are all supported.
- Crop it. Pick an aspect-ratio preset or enter a custom ratio, then drag the corners to resize and the middle to reposition. The rule-of-thirds grid helps with composition.
- Pick an "Optimize for" preset — Hero, Content, Product, Card, Thumbnail or Avatar — to set the ideal max width and quality in one click, or set a max width manually for full control.
- Compress by choosing a format (WebP, JPEG or PNG) and tuning the quality slider. The output size updates live as you adjust.
- Check the recommendation — a green dot means you are within the suggested weight budget for that image size. Then click Download.
Common use cases
- Faster websites. Oversized images are the number-one cause of slow pages. Compress to WebP and cap the width to dramatically improve load time and Core Web Vitals.
- Social media. Crop to 1:1 for Instagram posts, 9:16 for Stories and Reels, or 16:9 for YouTube thumbnails and Twitter/X images.
- Profile pictures & avatars. Crop to a perfect square and shrink to a small, fast-loading file for forums, Slack, Discord or LinkedIn.
- Email & documents. Reduce a multi-megabyte photo to a few hundred kilobytes so it sends quickly and fits attachment limits.
- Open Graph images. Crop to 1.91:1 (close to 1200×630) for link previews on social platforms and messaging apps.
How it works & privacy
This tool uses the browser's built-in Canvas API to decode, crop, scale and re-encode your image locally. Because all processing happens on your device, nothing is ever uploaded — there is no server round-trip, no queue, and no copy of your image stored anywhere.
That makes it safe for sensitive material (ID photos, screenshots, private pictures), fast even on large files, and fully functional offline once the page has loaded.
Limitations
- PNG export is lossless, so the quality slider does not apply. For small PNGs, prefer WebP, which usually produces much smaller files.
- Animated GIFs are flattened to a single still frame on export.
- Resizing only downscales — enlarging a raster image past its native resolution would just add blur, so it is intentionally not offered.