About the Image Optimizer
The optimizer redraws each picture on a canvas and writes it again with a size-focused setting. JPG and WebP are re-encoded at the quality you pick, and 80 is a sensible first try because it discards detail the eye rarely misses. Because the image is rebuilt from its pixels, metadata such as EXIF camera data, GPS position and embedded thumbnails is dropped, and any colour profile ends up as plain sRGB. Cap the dimensions with Max width and Max height when a camera original is much larger than the page that will show it; these limits only ever scale down. When a form or an email asks for a file under a given size, type it into Target size KB: the tool keeps your quality setting if it already fits, otherwise it lowers the quality (never below 35) until the file fits, and only then scales the picture down in small steps. If even that cannot reach the target it says so and gives you the smallest result.
PNG is lossless, so shrinking it works differently, and the tool writes the PNG itself. It tries all five row filters for every row, drops the alpha channel when every pixel is opaque, stores grey images as a single channel, and switches to an indexed palette when the picture has 256 colours or fewer, which loses nothing. The PNG colours menu goes further on screenshots and flat graphics by quantizing to 256 down to 16 colours. There is no dithering, so leave it on Lossless only for photographs. PNGs above 6 megapixels use the browser's own encoder.
Each row shows the before and after size, the dimensions and the percent saved. If a re-encode would not come out smaller, the original file is returned untouched and marked as kept, so you never receive a bigger file. A batch downloads as one ZIP. SVG is rejected because it is text, not pixels. To change format rather than size use the image converter, and to see what a photo carries before it is stripped open the EXIF viewer.
How to use
- Drop one or many images on the strip above, or paste them from the clipboard.
- Leave Output format on Keep, or switch to JPG or WebP for photographs. Set the quality and, if needed, a maximum width or height, or type a Target size KB such as 200.
- For a screenshot or logo saved as PNG, try a lower value under PNG colours.
- Press Optimize, compare the before and after sizes, then Download the file or the ZIP.
Common questions
- How much smaller will my photo get?
- A camera JPG re-encoded at quality 80 is often 40 to 70 percent smaller, and more when a Max width is set too. Files that were already compressed hard can come out larger, in which case the original is returned unchanged.
- How do I compress an image to 100 KB or 200 KB?
- Type the number into Target size KB and use JPG, WebP or Keep format with a JPG or WebP photo. The result is the best quality that still fits, and the row shows the quality used and the size reached. PNG files are lossless, so the target does not apply to PNG output.
- Is the quality loss visible?
- JPG and WebP at 75 to 85 usually look the same at normal viewing size. PNG output is lossless unless you choose a reduced colour count.
- What does Keep format do with a GIF or BMP?
- PNG, JPG and WebP stay as they are. Other inputs are written as WebP when the browser can encode it, otherwise as PNG, and the row says which.
- Is metadata really removed?
- Yes, from every file the tool re-encodes: the picture is redrawn from pixels, so EXIF, GPS and other embedded tags are not copied. The one exception is a file marked as kept unchanged, which is returned exactly as it came in. Check a result with the EXIF viewer if you need to be sure.
- Does anything leave my device?
- No. Everything runs in this tab, and the ZIP is built in memory.