Real image encoders
JPEG uses mozjpeg optimization, PNG uses high-effort palette quantization, while WebP and AVIF use their native high-effort encoders through Sharp and libvips.
Compress JPG, PNG, WebP and AVIF images with real format encoders such as mozjpeg, and compare each result with the original before you download it. Add up to 10 images at a time, each up to 25 MB. They are processed on our server, sent straight back to you and not kept.
JPEG, PNG, WebP, or AVIF · Up to 10 files · 25 MB each
Add an image to run real format-native encoders and inspect the exact output side by side.
The server decodes the original once, applies orientation and optional resizing, then runs high-effort encoders. What you see is the actual returned file, not an estimate.
Drop or choose up to 10 static JPEG, PNG, WebP or AVIF images, each up to 25 MB.
Pick a strength from Light to Maximum, an output format or Auto, an optional maximum size from 1280 to 3840 px, and whether to keep the ICC colour profile.
Press Compress. Each image is sent to our server in turn, encoded, and returned with its new size, dimensions and measured saving.
Drag the before-and-after slider to check the actual output, then download each file or use Download all.
JPEG uses mozjpeg optimization, PNG uses high-effort palette quantization, while WebP and AVIF use their native high-effort encoders through Sharp and libvips.
Every result shows the file size returned by the encoder. If an attempted result is not smaller, Toolkit rejects it instead of presenting an increase as compression.
A draggable before-and-after view makes compression artifacts visible before a file is downloaded.
Not entirely: every strength here is lossy. JPEG, WebP and AVIF are re-encoded at a quality below 100, and PNG is reduced to a palette of 128 to 256 colours. Light keeps the most detail. The before-and-after slider shows the actual returned file next to your original, so you can judge the difference before you download.
Start with Balanced, which suits most photos and web images; for JPEG it encodes at quality 84. Light (JPEG quality 92) keeps more detail for photos you may print or edit later. Strong (72) and Maximum (58) give smaller files with more visible loss, so check them on the slider first.
It depends on the image, so Auto measures instead of guessing: it encodes several suitable formats and returns the smallest actual file. AVIF and WebP are often smallest for photos. For images with transparency, Auto only tries PNG, WebP and AVIF; a fixed JPG output fills transparent areas with white. Choose a fixed format when a site or app needs a specific file type.
Reducing the pixel dimensions usually saves the most. Set Maximum dimensions to 1920 or 1280 px, which fits the longer side within that size and never enlarges, then choose Balanced or Strong. Each result shows its exact new size. There is no target-size setting, so if a form asks for a limit such as 1 MB, adjust the settings and compress again.
It can. A file that is already well optimized, often a PNG, may come out the same size or bigger when re-encoded. Toolkit never returns that result: the image is marked Already optimized and you keep your original. A stronger setting, a smaller maximum dimension, or WebP or AVIF output may still reduce it.
Yes. The compressed file is built from the decoded pixels, and EXIF data such as the camera model, capture date and GPS location is not copied into it. Orientation is applied to the pixels first, so photos still appear the right way up. If you tick Preserve ICC colour profile, that profile is the only metadata kept.
Each image is uploaded to our server, compressed in memory and sent straight back to your browser. It is not saved to a database or any permanent storage, and it is discarded as soon as processing finishes. The results live only in your browser tab, so download them before you leave the page.
Static JPEG, PNG, WebP and AVIF images, up to 10 at a time, each up to 25 MB and 60 megapixels. Animated WebP and AVIF files are refused rather than flattened to a single frame, and GIF is not accepted. iPhone HEIC photos are not supported here; convert them with the HEIC to JPG converter first, then compress the JPG.
Explore the growing collection for calculations, documents, writing, and everyday work.