images utility
Image Compressor
Compress a JPEG, PNG or WebP image to a target size such as 50 kB, 100 kB or 200 kB, or choose quality, locally.
Compress an image
JPEG, PNG or WebP input. Output is WebP or JPEG, so PNG input is re-encoded rather than losslessly optimised. The original stays in memory and is never uploaded.
or drop a file here. Maximum 25 MB and 40 megapixels.
Original
- File
- —
- Size
- —
- Dimensions
- —
- Detected format
- —
Target-size mode searches quality and scale locally to fit; it may reduce dimensions and can fail for very small targets. JPEG cannot store transparency. A transparent PNG or WebP converted to JPEG uses the selected background. WebP output keeps alpha.
Result
- Original
- —
- Output
- —
- Change
- —
- Output dimensions
- —
- Actual output format
- —
How it works
Reduce JPEG, PNG or WebP file size in the browser. Choose a quality level or a target file size; target mode searches quality and scale locally, shows the actual output size and dimensions, and keeps the original available. PNG input is re-encoded; this is not a lossless PNG optimiser.
Limits
- Target-size results may reduce image dimensions and quality to reach the requested size; the actual result is shown before download.
- Output is WebP or JPEG; PNG input is re-encoded, so PNG optimisation is not lossless.
- Animated GIF/APNG/WebP and HEIC/AVIF are not supported in this tool.
- JPEG cannot store transparency; a background colour is used.
Questions
Will compressing an image reduce its quality?
Lossy JPEG and WebP output can lose some detail. The page shows the actual output size and keeps the original available for comparison, so you can choose a quality level that works for the image.
How do I compress an image to 100 KB?
Choose the target-size mode, enter 100 (1 KB means 1,000 bytes), select a format and compress locally. The page reports the actual output size, quality and dimensions; if the target cannot be reached it says so rather than returning an oversized file.
Can I compress without losing quality?
Not reliably to a much smaller file. JPEG and WebP compression are lossy, so some detail can change. The tool keeps the original available and shows the real result so you can compare before downloading.
Are my images uploaded?
No. The file is decoded, resized if selected and encoded in this browser tab. There is no upload, remote conversion or file storage.
Does compressing a PNG keep it as a PNG?
No. This tool re-encodes PNG input to WebP or JPEG, which can make the file much smaller but changes the format. It does not perform lossless PNG optimisation.
Privacy
Approved improvement measurement records coarse event counts only: page ready, task started, completed, export requested and a generic failure class. It never records filenames, file contents, text, output, full URLs or a visitor ID. You can turn measurement off for this hostname below.