Image Compressor
Compress JPEG and PNG images in your browser and download the smaller file.
The format decides more about an image than most people expect: file size, sharp text, transparency and how badly it degrades after editing.
JPEG is lossy: it throws away detail the eye is unlikely to notice and gets much smaller files for photographs. Use it for photos and complex images without transparency. Repeated editing and re-saving compounds the loss, so keep an original PNG or a raw file if you expect to edit again.
PNG is lossless, so text and sharp edges stay crisp, and it supports an alpha channel for transparency. The trade-off is size: a photograph saved as PNG can be several times larger than the same image as JPEG. Use PNG for screenshots, logos, icons and anything with transparency.
WebP supports both lossy and lossless modes plus transparency, and usually beats JPEG and PNG on size at similar quality. Current browsers all display it. It is the best default for images on a website, with JPEG or PNG as a fallback for older software.
GIF is only worth using for short simple animations; its 256-colour palette makes photos look bad. SVG is for vector graphics — logos, icons, diagrams — and stays sharp at any size because it stores shapes, not pixels.
Browsers can choose between formats when you offer them: the <picture> element with several <source> entries lets you list WebP first and JPEG second, and the browser picks the first format it understands. This is the practical way to get WebP's savings without breaking older clients.
Responsive images are the other half: srcset and sizes let the browser download a file sized for the screen instead of the largest available. Serving a 2000px photo to a 400px phone slot is the most common performance mistake on image-heavy pages.
Convert between PNG, JPEG and WebP locally with the image converter, or shrink an existing file with the image compressor.