Compress Images Online with Live Visual Comparison
Compress JPG, PNG and WebP photos with a quality slider and before/after view, in batches.
- No upload
- No signup
- Free
Loading tool…
Your file stays in this browser. Nothing is uploaded.
Loading tool…
Your file stays in this browser. Nothing is uploaded.
How Smart Image Compressor works
Browser Toolset Image Compressor re-encodes JPEG, PNG, WebP, AVIF and BMP images in your browser. You set the quality and a maximum width, compare each result with the original on a before/after slider, and download single files or a ZIP. It does not aim for an exact file size; for a KB limit use Resize Photo to KB.
How to use this tool
- Drop single or multiple images (JPG, PNG, WebP, AVIF or BMP) into the compressor workbench.
- Set the quality slider (5 to 100), the maximum width (original, 2560, 1920, 1280, 800 or 400 px) and the output format.
- Click Inspect on an image and drag the before/after slider to check sharpness and artifacts.
- Read the original size, new size and percentage saved on each image.
- Download individual optimized images or grab the entire batch as a ZIP archive.
Common uses
- Optimizing website hero images, blog graphics, and thumbnails for Core Web Vitals.
- Shrinking smartphone photos before sending over email or messaging platforms.
- Compressing listing photos for e-commerce stores (Shopify, Etsy, Amazon).
- Making a batch of photos smaller before an upload when there is no exact size limit to hit.
Frequently asked questions
How does the interactive before/after split slider work?
Click Inspect on an image to open the comparison. Drag the vertical divider across the preview to see the original on one side and the compressed result on the other, then check detail before you download.
How much file size reduction can I expect?
It depends on the picture and your settings. Each image shows its original size, new size and percentage saved. Lower quality, a smaller maximum width and WebP or JPEG output save the most; PNG output is lossless and often saves little.
Can I batch compress multiple photos at once?
Yes. Drop several images at once and they are processed in turn with the same quality, width and format settings. Each file has its own download button, and Download All as ZIP bundles every finished image into one archive.
Are my private photos uploaded to an external server?
No. Images are decoded and re-encoded in your browser on a canvas, so your photos are not uploaded. The page still loads its own site scripts, and the Network tab lets you confirm that no request carries your image.
Can I cap the maximum image dimensions?
Yes, by width. Choose Original Resolution, 2560, 1920, 1280, 800 or 400 px, and the height follows the aspect ratio. Images narrower than the chosen width are not enlarged. The default is 1920 px.
Can I compress an image to an exact size such as 100 KB?
This tool does not target a size: you choose the quality and the result lands wherever it lands. To fit a limit like 20, 50 or 100 KB, use Resize Photo or Signature to KB, which searches for the best quality under your target.
Which output format should I choose?
Original keeps the input format when the browser can encode it and otherwise falls back to WebP. WebP and JPEG are lossy and follow the quality slider. PNG is lossless, so the slider has no effect. JPEG fills transparent areas with white.
Details and limits
Large, unoptimized images slow down page loads, use up mobile data and make email attachments awkward. Browser Toolset Image Compressor re-encodes photos in your browser so you can trade a little detail for a smaller file, and see the result before you save it.
You pick the output quality, an optional maximum width and the output format. Each image is decoded, drawn onto a canvas at the new size and encoded again as WebP, JPEG or PNG. WebP and JPEG are lossy and shrink further as you lower the quality; PNG stays lossless, so it mostly saves space when you reduce the width.
The before/after slider lets you inspect fine details, text and edges before saving. With batch processing and a ZIP download you can handle a whole folder of photos in one pass. If a form asks for an exact limit such as 50 KB, use Resize Photo or Signature to KB instead, because it searches for the quality that fits the size you choose.
Compression that stays on your device
Each image is decoded by your browser, drawn onto a canvas at the size you choose, and encoded again with the quality you set. All of it happens in your tab, so personal photos and client artwork are never uploaded. Because the image is redrawn, metadata such as camera model and GPS location is not carried into the output.
Features and limits
- Accepts JPEG, PNG, WebP, AVIF and BMP, one at a time or in batches, with an Add More button for extra files.
- Quality slider from 5 to 100 percent. Your default comes from your saved site settings and starts at 85 percent unless you changed it.
- Max Width choices: original resolution, 2560, 1920, 1280, 800 or 400 pixels. Images narrower than the limit are never enlarged.
- Output format: keep the original type where possible, or force WebP, JPEG or PNG. Formats the tool cannot write, such as BMP or AVIF, fall back to WebP when you choose the original.
- A before and after slider, or a side-by-side view, lets you judge sharpness before downloading. The batch total shows the percentage saved.
- Download single files, or all results as one ZIP. There is no fixed size limit; very large photos are scaled down when your device lacks memory.
Tips and common problems
For photos, a quality of 70 to 85 percent and a max width of 1920 pixels is usually a sensible starting point for web pages and email. Move the slider and watch the saved percentage and the preview together; changing any setting recompresses the whole batch.
PNG is a lossless format, so the quality slider has no effect on it. To shrink a PNG, lower the max width, or switch the output to WebP or JPEG when you do not need transparency. JPEG fills transparent areas with white.
If a result comes out larger than the original, which can happen with already-optimised files, keep the original. When a portal asks for an exact limit such as 100 KB, the Resize Photo or Signature to KB tool is more precise. For iPhone files, convert with the iPhone HEIC to JPG Converter first.