Compress an image
Reduce image file size with a quality slider, optional maximum dimension and format choice. See before and after sizes. Free, private, no upload.
- Files never leave your device
- Free, no sign-up
- No watermark
About Compress Image
Shrink photos and graphics so they upload faster, fit email limits and load quickly on your website. Set the quality, optionally cap the longest side in pixels, keep the original format or switch to JPEG or WebP, and compare the size before and after. Compression is done by a proven image library running in your browser, so your images never leave your device.
How to use Compress Image
- 1
Drop the image you want to make smaller.
- 2
Move the quality slider; lower values give smaller files.
- 3
Optionally set a maximum width or height and choose the output format.
- 4
Click Compress, check the before and after size, and download.
Why use this tool
- Quality slider for fine control over size and sharpness.
- Optional maximum dimension to shrink oversized photos.
- Keep the format or convert to JPEG or WebP while compressing.
- Clear before and after size comparison.
- Runs locally, so private photos stay private.
Frequently asked questions
Phone photos often shrink by 70–90% with little visible difference, especially when you also limit the maximum dimension.
Around 0.7 is a good starting point for web images. Go higher for print or detailed graphics.
Re-encoding usually drops most metadata. Use Remove EXIF Data if you need to be sure location data is gone.
Yes. For the biggest savings on photos, switch the output format to JPEG or WebP.
No. Your images are processed by your own browser and never sent to CodeMites or any other server.
Yes. There is no account, no watermark and no usage limit. The tool runs in your own browser, so there is no server cost to charge you for.
Yes. It runs in any modern browser on Android and iOS as well as on Windows, macOS and Linux, with nothing to install.
Related tools
All Image tools →- Resize ImageResize images by pixels, percentage or one-click presets for Instagram, Facebook, LinkedIn, YouTube and more.
- JPG to WebPConvert JPG photos to WebP to shrink file size for faster websites, with adjustable quality.
- Remove EXIF DataRemove EXIF, GPS location, camera details and other hidden metadata from photos by re-encoding them.
- Image ConverterConvert images between PNG, JPEG, WebP and AVIF with adjustable quality, right in your browser.
- PNG to JPGConvert PNG images to JPG in your browser with adjustable quality.
- JPG to PNGConvert JPG or JPEG photos to lossless PNG images in your browser, ready for editing and design tools.