Image Compressor
Compress JPEG and PNG images in your browser and download the smaller file.
Preparing dozens of images by hand is slow and inconsistent. A fixed sequence gets predictable results and catches the files that grow.
Measure the largest place the image will appear. A hero at 1200 px wide needs a 1600–2400 px source for high-density screens, not a 4000 px camera original. Everything else can be smaller.
Compression works on pixels; fewer pixels means fewer bytes. Resizing first also avoids the double work of compressing detail that will be thrown away by the browser.
For photos, quality 0.75–0.85 is usually indistinguishable at screen size. Below 0.6, gradients and skin tones start to band. For screenshots, lossless is often smaller than a high-quality JPEG because of the flat colour areas.
Some images grow after re-encoding — a small PNG converted to WebP, or an already-optimised JPEG. Compare per file and keep only the wins. A batch tool that reports before and after makes this a glance instead of a spreadsheet.
Compression is destructive. Archive the source files outside the published folder so a future redesign does not start from degraded copies.
Run the whole pass with the batch image compressor, or handle a single file with the image compressor.