Free Image Compressor
Reduce image file size and inspect the quality before saving. Drop in up to 20 photos, tap 20, 50, 100, 200 or 500 KB (or type your own size) or set a quality level, and download the results as a batch.
The same detail of both files at full size. The photo went through this tool's "100 KB" button: a quarter of the size, the same dimensions. Try it yourself above with your own photo.
What is Image Compressor?
Image Compressor is a free HubToolify tool that makes JPG, PNG, WebP and GIF files smaller without uploading them: the compression runs in your browser. It is built for anyone who has to get a photo under an upload limit — an exam or job form, an email attachment, a marketplace listing — and for site owners trimming page weight. Add up to 20 images at once, each up to 30 MB, and compress them by a quality slider or to a target of 20, 50, 100, 200 or 500 KB, or your own figure. Target mode looks for the highest quality that fits, never makes a small file bigger and never shrinks the dimensions on its own; if a target cannot be reached it says so and offers to halve them. PNGs can be converted to JPEG or WebP to meet a target, or kept lossless. Results download singly or as a ZIP. Without an account it runs five times in this browser, a whole batch counting as one; a free account removes the limit, with no daily cap after that.
Why use this tool?
- Large images are the most common reason a page loads slowly, and page speed is something search engines measure.
- Email and upload forms often cap attachments at 2 MB or 5 MB; compressing to a target size gets a photo under the limit on the first try.
- The compression runs on your own machine, so nothing waits on an upload and nothing is queued behind other people's files.
How to use Image Compressor
- Drag your images onto the drop zone, or click it to pick files. Up to 20 at a time.
- Tap the size the form asks for in the row under the drop zone — 20, 50, 100, 200 or 500 KB, or Custom for any other figure. To compress by eye instead, choose By quality and move the slider.
- Check the before-and-after size shown against each image.
- Download them one by one, or all at once as a zip.
Open it with a size already picked: 20 KB, 50 KB, 100 KB, 200 KB, a PDF under 200 KB.
Features
- Batch of up to 20 images in one pass
- Every image comes back in the format it went in as, unless you ask otherwise
- Compress by quality, or down to an exact file size
- Original and compressed sizes shown side by side
- Convert the whole batch to WebP, JPEG or PNG when you do want a change
Supported formats
Accepts JPG and JPEG, PNG, WebP, AVIF and GIF. Saves back to the same format by default — a PNG downloads as a PNG, a JPEG as a JPEG, a WebP as a WebP — or converts the batch to JPEG, WebP or PNG if you pick one. GIF and AVIF are the exceptions: browsers can read them but cannot write them, so those are saved as PNG.
Tips
- For photographs, quality around 75-80 is usually indistinguishable from the original at a fraction of the size.
- For screenshots, flat graphics and anything with sharp text, PNG or WebP holds up better than JPEG.
- If a form rejects your file, set an exact target a little under the limit rather than guessing at a quality level.
Frequently asked questions
Will my PNG download as a PNG?
Yes. Each image is saved as the format it arrived in, so a PNG stays a PNG, a JPEG stays a JPEG and a WebP stays a WebP. Choose a format from the Output format row only if you actually want to convert.
Why does a PNG come back the same size?
PNG is lossless, so a quality setting has nothing to work on — the pixels are stored exactly either way. To make a PNG smaller, reduce its dimensions, or convert it to WebP, which is typically a fraction of the size. In target-size mode the PNG files setting does this for you: it converts them to JPEG (on white) or WebP (keeping transparency), or keeps them as PNG, in which case the target may be missed.
Can I compress a GIF and get a GIF back?
No, and no browser-based tool can: a canvas cannot write GIF, and it only ever sees the first frame of an animated one. GIFs are saved as PNG here instead. For an animated GIF, converting the source video with Video to GIF gives a far better result than re-compressing the GIF.
Are my images uploaded to a server?
No. The compression runs in your browser using the Canvas API, so the image data never leaves your device.
Does compressing an image reduce its quality?
JPEG and WebP compression is lossy, so some detail is discarded. At quality 75-80 the difference is very hard to see, and the file is typically 60-80% smaller.
How many images can I compress at once?
Twenty per batch. Without an account the tool runs five times in this browser, and a batch counts as one run however many images are in it. A free account removes that limit: after signing in there is no daily cap on how many batches you run.
Can I compress to an exact file size?
Yes. Pick 20, 50, 100, 200 or 500 KB, or enter your own, and the tool searches for the highest quality that lands under it. A KB here is 1,000 bytes, so the file passes forms that count either way. It never makes a file that is already small enough bigger, and it never shrinks the dimensions on its own: if even the lowest quality is too big, it says so and offers to halve the dimensions.
How do I compress a photo to 50 KB for a form?
Tap 50 KB under the drop zone, then add the photo; the size row sits directly under it, so it is on the first screen on a phone. A link ending in ?kb=50, such as hubtoolify.com/tools/image-compressor?kb=50, opens the tool with 50 KB already picked, and the same works for any whole number of KB. A clear face photo usually fits 50 KB at a few hundred pixels across; if it does not, the tool says so and offers to halve the dimensions.
Your files are processed directly in your browser and are not uploaded to HubToolify's servers.