Image Compressor
Reduce image file size toward a target, locally. Useful for upload limits and email attachments.
Nothing is uploaded.
This page converts your files locally using your browser. Your files never leave this device.
How to use it
- Drop your images.
- Enter a target size in kilobytes.
- Optionally set a maximum width or height to shrink large photos as well as re-encoding them — but note that only a limit which actually changes the dimensions counts as a resize.
- Convert. The tool searches JPEG quality for the best setting that lands at or under your target, and tells you plainly if it could not get there.
Drop files here, or click to choose
Only the files you pick are read, and only by this page.
Supported formats and limits
- Output: JPEG, because that is the format whose size can be dialled by quality. PNG output cannot be compressed this way.
- Never bigger than what you gave it. Re-encoding a very small file can cost more bytes than it saves, so if the result would be larger than your original, you get your original back untouched, with its own name and format, and the row says “unchanged”. This rule follows the result’s real dimensions, not the fields you filled in: a maximum width equal to the image’s own width changes no pixels, so it does not exempt the run and the file still cannot grow.
- A real resize can produce a bigger file. When a maximum width or height genuinely shrinks the image you get a different, smaller picture — but not necessarily a smaller download. Dropping pixels removes detail without guaranteeing that the JPEG header and re-encoding cost less than you saved, and small images can gain a few hundred bytes. That is expected; the tool still tells you whether your target size was met.
- Targets are not guaranteed. If the target is very small or the image is very detailed, the tool may not be able to reach it. When that happens it says so above the convert button, names the file, and gives the size it actually achieved rather than claiming success.
- Quality floor: the search never goes below 5% quality. A smaller file is not worth an unusable image.
- Transparency: flattened onto the background colour you choose.
Questions
Will it always hit my target?
Not always. Very small targets on detailed images may be unreachable at usable quality, and the tool will tell you what it achieved instead of pretending.
Is this lossy?
Yes. Compressing always re-encodes as JPEG, which is lossy.
Are my images uploaded?
No.