Image Compressor
Compress JPEG and PNG images in your browser and download the smaller file.
Resizing is not magic: shrinking throws pixels away, enlarging invents them. Knowing which one you are doing explains most quality problems.
When the target is smaller than the original, the browser or editor samples the surrounding pixels and averages them. With good smoothing the result looks crisp. The main risk is over-sharpening or resizing twice; do it once, from the largest original you have.
There is no detail to recover from a small image, so enlarging interpolates between existing pixels. Small text and fine texture blur first. If an image must appear large, start from the largest source available rather than scaling up a thumbnail.
Resizing a photograph and saving it as PNG usually makes the file bigger than necessary. Resize, then export as WebP or JPEG for photos, PNG only when transparency or exact pixels are needed.
Resizing is destructive in the file you save. Keep the original somewhere; future versions of a page may need a different crop, and resizing an already-resized file loses more each time.
Downscaling averages neighbouring pixels and softens edges slightly. A small unsharp mask after resizing — a light radius, modest amount — restores perceived crispness without adding visible halos. Over-sharpening is worse than softness: it produces bright rims around dark text that look like compression damage.
If the image will be displayed at several sizes, keep one large master and let the browser scale it, or generate separate files per size at build time. Serving a 4000px photo into a 400px slot wastes bandwidth on every visit.
Resize a file in the browser with the image resizer, then compress it with the image compressor if the result is still heavy.