Make your images smaller without visible loss. Add photos or graphics, choose the quality, and download lighter files for your website. Smaller images load faster, which helps your visitors and your Core Web Vitals. Everything runs in your browser: your images are never uploaded.
To compress an image, you save it again with less data: a lower quality setting for photos (JPG, WebP, AVIF), fewer colours for PNG graphics, and fewer pixels if the image is wider than it will ever be shown. This free image compressor does all three in your browser. Add up to 30 images, choose a quality and an optional largest width, and download lighter files one by one or together as a ZIP file. Your images are never uploaded to our server.
Images are usually the heaviest part of a web page. A photo straight from a phone or a camera can weigh several megabytes, while the same photo, saved at a sensible size and quality, often looks identical on screen at a fraction of the weight. Heavy images slow down the first view of a page, use up visitors' mobile data and can push the main image of the page past Google's recommended loading time. This guide shows how to use the compressor, explains lossy and lossless compression, helps you choose the quality setting, and shows how image weight is connected to Core Web Vitals.
The three files in the screenshot are test images we generated ourselves: a landscape with a soft sky, saved once as a high-quality JPG and once as a PNG, and a bar chart with flat colours. The results show a typical pattern. Photos and images with gradients have a lot of data that the eye does not need, so they shrink by two thirds or more. A chart made of a few flat colours is already stored efficiently as PNG, so there is little left to remove.
There are two ways to make an image file smaller, and it helps to know which one you are using.
Lossless compression stores exactly the same pixels in fewer bytes, a bit like a ZIP file. When you open the image again, every pixel is identical to the original. PNG is a lossless format, and WebP has a lossless mode too. Lossless files are ideal for screenshots, logos and graphics with sharp edges and text, but for photos they stay large.
Lossy compression throws away detail that people are unlikely to notice: tiny colour differences, fine noise and texture. JPG, lossy WebP and AVIF work this way. The quality setting controls how much is thrown away. At a high setting the difference is invisible; at a very low setting you start to see blocks, blurred edges and colour bands. The savings are large, which is why almost every photo on the web is stored in a lossy format.
A third method sits in between: colour reduction. A normal PNG can contain millions of colours. This tool can reduce a PNG to a palette of 256 colours or fewer, chosen to match the image, and save it as an indexed PNG. The file is still a normal PNG that every browser and program can open, but it is often much smaller. With dithering switched on, the tool mixes neighbouring palette colours in a fine pattern so that gradients stay smooth instead of turning into visible steps.
There is no single best number, because every image and every encoder is different. These starting points work well in practice:
Always look at the result. Click Compare and move the slider across the image: the original is on the left, the compressed version on the right. Zoom in on faces, text, edges and smooth areas such as the sky, because that is where compression shows first. If you see blocks or bands, raise the quality a few steps and click "Compress again".
Avoid compressing the same JPG again and again. Each lossy save removes a little more detail. Keep your original files and always compress from the original, not from a copy you have already compressed.
Compression reduces the number of bytes needed for each pixel. Resizing reduces the number of pixels. Both matter, and resizing often saves even more.
A modern phone takes photos of 4000 pixels in width or more. If your blog shows images at most 800 pixels wide, a browser on a typical screen has to download five times the width, which is 25 times the pixels, and then throw most of them away. Even a perfectly compressed 4000-pixel image is heavier than it needs to be. Type a largest width in the tool and the image is scaled down in good quality before it is compressed.
How wide should you go? Check how wide the image is displayed on your site, then allow for sharper screens. A common rule is about twice the displayed width, for example 1600 pixels for an image shown at 800 pixels. Full-width banners rarely need more than 1920 to 2560 pixels. If your site uses responsive images with srcset, make several widths and let the browser choose the one that fits the screen.
All four formats can appear in Google Search. Google's image SEO guidelines list BMP, GIF, JPEG, PNG, WebP, SVG and AVIF as supported formats, and they recommend that the file extension matches the file type. If you change a format, update the file names in your pages as well. For converting without the compression options, our Image Format Converter is a simpler choice.
Core Web Vitals are three measurements Google uses to describe the loading speed, responsiveness and visual stability of a page. Images play a large part in two of them.
LCP measures when the largest image or block of text in the visible part of the page has been shown. On many pages this is a hero image or a product photo. web.dev describes a good LCP as 2.5 seconds or less, measured for 75 percent of visits. Google's guide to optimizing LCP splits the time into parts, and one of them is the time it takes to download the image itself. A smaller file downloads faster, especially on mobile connections, and that part of LCP gets shorter. Reducing the file size of the LCP image, by compressing it, sizing it correctly and using a modern format, is one of the recommendations in that guide.
Compression does not fix everything. The same guide also advises making sure the browser can find the LCP image early in the HTML, not lazy-loading it, and giving it a high fetch priority with fetchpriority="high". A light image that the browser discovers late can still give a slow LCP.
CLS measures how much content jumps around while the page loads. Images without a reserved space push text down when they appear. Compression does not change this, but it is worth fixing at the same time: give every image width and height attributes, or a CSS aspect-ratio, so the browser keeps the space free. If you resize images with this tool, the new dimensions are shown next to each file.
Lighthouse, the engine behind PageSpeed Insights, reports images that are larger than needed, poorly compressed or not in a modern format. Run our PageSpeed Insights Checker before and after you replace your images to see the difference, and use the Page Size Checker to see the total weight of a page.
This compressor runs completely in your web browser. When you add a file, the browser reads it from your device, decodes it, draws it on an invisible canvas and saves it again in the format you chose. The colour reduction for PNG files and the ZIP file are also created by code running on the page. The images are not sent to our server or to anyone else, which makes the tool suitable for private photos and unpublished material. After the page has loaded, the compression itself needs no internet connection.
One side effect is worth knowing. A re-saved image contains only the pixels, so metadata from the original, such as EXIF camera data and GPS location, is not copied into the compressed file. That is usually what you want for images on a website. Photos are turned upright according to their orientation tag before they are saved. If the tool decides to keep your original file because it was already optimised, that file is unchanged, metadata included.
photo-min.jpg. A converted file gets the new extension. The ZIP file is called compressed-images.zip.width and height, write useful alt text, and do not lazy-load the main image at the top of the page. Our Image SEO Analyzer checks these points for any page.No. The compressor works entirely in your browser. Your images are read, compressed and saved on your own device and are never sent to our server.
Start with 80. Between 70 and 85 usually looks the same as the original for photos. Use the Compare button to check, and go higher for product photos or images with fine text.
Graphics with few flat colours, such as simple charts or icons, are often stored efficiently already. Try 128 or 64 colours, or save photos and screenshots with many colours as WebP instead.
The compressed version would have been the same size or larger, and the format and dimensions did not change, so the tool returns your original file unchanged.
Not directly, but lighter images help pages load faster, which improves Largest Contentful Paint, one of the Core Web Vitals, and the experience of visitors on mobile connections.
Do both. Resize the image to the largest width your site displays, then compress it. Resizing removes pixels you do not need; compression stores the remaining pixels in fewer bytes.
Yes. It is free with no sign-up and no watermark. You can compress up to 30 images at a time, up to 40 MB each.