Image Compressor
Make image smaller
Runs locally in your browser
What it does
Images Stay on Your Device
Decoding and compression run in your browser. Your photos are never uploaded.
Quality, Size & Format Control
Tune JPEG/WebP quality and set a maximum width or height. The file type is kept unless you choose WebP.
Before and After Comparison
See both images side by side with exact file sizes, and whether the result is smaller, about the same, or larger.
Safe Handling of Transparency
Converting a transparent image to JPEG fills the background with white, and the tool tells you first.
Frequently asked questions
Are my images uploaded anywhere?
No. The image is read, decoded, and re-encoded by your browser. Nothing is sent to YoussefLabs servers.
Does it change my file type?
Not unless you ask. A JPEG stays a JPEG, a PNG stays a PNG and a WebP stays a WebP. WebP is often smaller, so there is a separate Convert to WebP choice, and the Custom settings let you pick any format.
Why is there no quality slider for PNG?
PNG is a lossless format, so browsers ignore a quality setting for it, and a re-saved PNG can even come out larger. To make a PNG smaller, resize it or choose WebP; the page offers that when the PNG did not get smaller.
Does the compressed image keep its EXIF metadata?
No. The new image is drawn from the original pixels and saved again, so EXIF details such as camera model, date and location, and the colour profile, are not copied. Colours are converted to sRGB and photo orientation is applied to the pixels so images are not rotated incorrectly.
What are the limits?
Files up to 50 MB and up to 64 megapixels (16384 px per side) are supported to avoid running out of browser memory. Very large images are refused with a message, and phones can manage fewer. Animated images, GIF, SVG, AVIF and HEIC files are not supported.