Image Compressor
Compress images to reduce file size
How to Use Image Compressor
- Drop in your image, or click to browse.
- Pick an output format — JPEG for photographs, PNG for graphics with sharp edges, WebP for the best ratio.
- Drag the quality slider, or type a target size in KB to have the tool find the right quality automatically.
- Compare the original and compressed previews side by side.
- Download when the result looks right.
About Image Compressor
What this page solves
Most image compressors upload your photo to a server and add quality penalties. This one runs entirely in your browser, so even sensitive images stay on your device while you target a specific file size like 100 KB.
Image Compressor reduces JPG, PNG and WebP file size directly in your browser using the Canvas API and `canvas.toBlob`, so a 4 MB phone photo can drop under Gmail's 25 MB ceiling — or under a strict 100 KB marketplace limit — without ever leaving your device. Unlike upload-based compressors that re-encode at a fixed quality and add a watermark, this tool gives you a live quality slider so you can see exactly when artifacts start to appear and stop one notch above. It is built for the people who actually hit upload limits every day: developers chasing Core Web Vitals, sellers preparing eBay/Etsy/Shopify listings, support agents pasting screenshots into tickets, and writers attaching photos to emails. Pair it with the Image Resizer to drop both pixel dimensions and weight in one workflow, or with the Image Converter to switch JPG → WebP for an extra 25–35% size cut. Runs entirely in your browser — no upload, no signup, no logs.
Common Use Cases
- Compress a JPG below 100 KB for an email attachment
- Shrink hero images under 200 KB to improve LCP and Core Web Vitals
- Reduce product photos to fit marketplace upload limits (eBay, Etsy, Shopify)
- Compress screenshots before pasting into a bug report or document
- Batch-compress a folder of photos before uploading to a cloud drive
Related tools in Image Tools
- Image ResizerResize images to custom dimensions
- Image CropperCrop images with custom aspect ratios
- Image Format ConverterConvert images between JPG, PNG, WebP, GIF formats
- Image to Base64Convert images to Base64 encoded strings
See all Image Tools.
Frequently asked questions
Why did my PNG barely get smaller?
PNG uses lossless compression, so there is no quality dial to turn — the pixel data is preserved exactly. If the image is a photograph, converting to JPEG or WebP will shrink it dramatically. If it is a logo or screenshot where you need crisp edges, WebP gives you lossless compression that is still smaller than PNG.
What quality setting should I use?
For web images, 80 to 85 percent is the sweet spot — visually identical to most eyes at around half the file size. Below 70 you start seeing blocking around high-contrast edges and banding in smooth gradients like skies. For thumbnails, 60 is often fine since they display small.
How does target size mode work?
Enter a size in KB and the tool repeatedly encodes the image at different quality levels, narrowing in until it finds the highest quality that fits under your limit. It runs about twelve iterations, which takes a moment on large images but gets much closer than guessing.
Does compressing repeatedly degrade the image?
Yes, if you compress an already-compressed JPEG. Each lossy encode discards information permanently, and the losses compound. Always compress from the original rather than from a previously compressed copy.
Which format should I choose?
JPEG for photographs where small size matters most. PNG when you need transparency or perfectly sharp edges. WebP for almost everything on the modern web — it is 25 to 35 percent smaller than JPEG at equivalent quality and supported by every current browser.
How to use Image Compressor?
1) Open the tool. 2) Enter or upload your input. 3) Get your result instantly. Everything happens locally — nothing is uploaded.
When should I use Image Compressor?
Use it when an image must fit a strict size budget — Gmail attachments, Core Web Vitals targets, marketplace upload limits, or sub-200 KB hero images.
Is Image Compressor safe?
Yes. Image Compressor runs 100% in your browser. Inputs are never uploaded, stored, or logged — safe for confidential content.
Will quality be affected by Image Compressor?
Quality is preserved unless you explicitly choose a lossy format or low quality setting.
What formats does Image Compressor support?
Image Compressor supports JPG, PNG, WebP, GIF, BMP and SVG (where applicable)
Is Image Compressor free?
Yes — Image Compressor is completely free, with no registration, no watermarks, and no usage limits.
Can I compress to a target file size like 100 KB?
Yes. Move the quality slider down until the live size readout drops below your target — typically 60–75% quality lands a 2–4 MP photo under 100 KB without visible artifacts.
Will compression visibly reduce quality?
At 80%+ quality, no — the change is invisible at normal viewing distance. Below 50% you may see banding in skies and softer text. The live preview lets you stop one notch above any artifacts.
Does it support batch compression?
Yes. Drop multiple files at once and each is compressed locally with the same quality target. Memory is the only limit — modern browsers comfortably handle 50+ photos in one batch.