What this image compressor does
This tool re-encodes your pictures as JPEG or WebP at a quality level you choose, then shows the original file size next to the new one so you can judge the trade-off at a glance. Add one photo or a batch, move the slider, and every file updates in place. When the numbers look right, download the images one by one or take them all in a single ZIP archive. A maximum-width option adds an even bigger saving, since a 6000-pixel photo shown in an 800-pixel column wastes most of its pixels.
When to use it
- Speeding up a website, where oversized hero and product photos are the most common cause of slow loading.
- Getting under an email attachment limit or a form that rejects files above 2 MB.
- Preparing blog, shop or portfolio images before you upload them to a CMS.
Choosing a format and a quality level
JPEG is the safe default: every device, editor and email client opens it. WebP usually produces files 25 to 35 percent smaller than JPEG at similar visual quality, and every current browser supports it, so it is a good choice for web pages. For photographs, a quality between 70 and 85 normally looks identical to the original at a fraction of the weight. Below about 60 you will start to see blocky patches in skies and soft gradients. Sharp-edged PNG screenshots can grow when turned into a photo format, so check the result first.
Two habits help. First, always compress from your original file rather than from an already-compressed copy, because each lossy pass stacks new artefacts on top of the last. Transparent areas turn white when saved as JPEG, so keep logos with transparency as PNG or WebP.
Worked example: a 12-megapixel phone photo
Take photo.jpg, a 4000 × 3000 pixel picture straight from a phone. With the default settings (JPEG at quality 80) and a maximum width of 1600, the tool shrinks the picture in two gentle steps, first to 2000 × 1500 and then to 1600 × 1200, before encoding it. The result has 1,920,000 pixels instead of 12,000,000, which is 16 percent of the original, and is saved as photo-compressed.jpg.
The exact file size depends on the photo and your browser's encoder. Typical: a 3 to 5 MB phone photo often lands somewhere around 200 to 500 KB with these settings. The row reports the saving with simple arithmetic: a 4,000,000-byte original that becomes 400,000 bytes is shown as 3.81 MB → 390.6 KB (−90%).
Privacy: your photos stay on your device
The compressor runs entirely in your browser using the canvas API. Your images are never uploaded, stored or seen by anyone else, which also means it keeps working if you disconnect from the internet after the page has loaded. Because the picture is redrawn and re-encoded, hidden metadata such as GPS coordinates and camera serial numbers is not carried into the output file.
Frequently asked questions
Does compressing an image reduce its quality?
JPEG and WebP compression is lossy, so some detail is discarded. At moderate settings the loss is very hard to notice, and the slider lets you find the point where the file is small but still looks right to you.
What quality setting should I use?
Start at 80 for photos. If the file is still too large, lower it in steps of five and look at the preview thumbnail. Use higher values for images with fine detail or text.
Why did my file get bigger after compression?
Files that were already well optimised, small PNGs, and flat graphics can grow when re-encoded as a photo format. If the row shows an increase, try a lower quality, a smaller maximum width, or keep the original.
Is there a limit on file size or number of images?
There is no upload limit because nothing is uploaded. The practical limit is your device memory. Extremely large pictures over about 80 megapixels are scaled down on load so the browser does not run out of memory, and the row tells you when that happens.
Does the compressor remove location data from photos?
Yes. The image is redrawn and saved fresh, so EXIF details such as GPS position are not copied. The tool does apply the photo orientation first, so portrait shots stay upright.