Images · Free tool
Image Compressor and Converter
The image compressor makes photos and graphics smaller, so web pages load faster and files are easier to send. Add up to 30 JPG, PNG, WebP, AVIF, GIF or BMP images, choose the format, quality and maximum size, and compare each result with its original before downloading it on its own or in a ZIP file. Everything happens in your browser: your images are never uploaded.
Free, no sign-up Runs in your browser
Image Compressor
New files are drawn from the image's pixels, so metadata such as EXIF camera details and GPS location is not copied into them. Photos are turned the right way up first.
PNG is lossless: the quality setting cannot make it smaller. For photos and large graphics, WebP or JPEG is usually much smaller. JPEG has no transparency.
Before and after:
Your images are compressed in your browser and never uploaded; nothing about them is sent to our server or stored.
How to use the Image Compressor
- 1 Choose or drop up to 30 images.
- 2 Pick the format to save as and the quality, and set a maximum width and height if the images are larger than they need to be.
- 3 Check each new file size and the percentage saved, and use the before-and-after slider to compare.
- 4 Download the images one by one, or all of them in a ZIP file.
What it does
- Adjustable quality for JPEG, WebP and, where your browser can save it, AVIF
- Converts to JPEG, PNG or WebP, and opens AVIF, GIF and BMP images
- Resizes to a maximum width and height or by a percentage, keeping proportions
- Original and new size with the percentage saved, and a before-and-after comparison
- New files do not carry EXIF metadata such as camera details and GPS location
- Keeps your original when re-saving it would only make it larger
- Downloads one image at a time or all of them as a ZIP
Useful for website owners speeding up their pages, online shops with many product photos, anyone emailing or sharing large photos and designers preparing images for the web.
Limitations
- The tool uses your browser's own image encoders, so the same settings can give slightly different file sizes in different browsers. Some browsers cannot save WebP or AVIF; the tool says so and uses another format.
- PNG stays lossless: the tool does not reduce a PNG's colours, so re-saving a PNG often saves little. Converting it to WebP or JPEG usually saves far more.
- Animated GIF and WebP images become a still image of the first frame.
- Metadata such as EXIF, GPS location and copyright notes is not copied into the new files. Keep your originals if you need it.
- Limits: 30 images at a time, each up to 25 MB and 40 megapixels. Very large images can fail on phones with little memory.
Lossy and lossless compression
Image files are compressed in one of two ways. Lossy compression (JPEG, and WebP or AVIF in lossy mode) throws away detail that is hard to see, which makes files much smaller; the quality setting decides how much is thrown away. Lossless compression (PNG, and WebP in lossless mode) keeps every pixel exactly, so files are larger but text and sharp edges stay crisp.
MDN’s advice is a good rule of thumb: photographs and other continuous-tone images usually tolerate lossy compression, while screenshots, diagrams, logos and line art are better lossless, because blurring and coloured fringes around text are easy to see.
| Format | Compression | Transparency | Good for |
|---|---|---|---|
| JPEG | Lossy | No | Photos |
| PNG | Lossless | Yes | Screenshots, logos, graphics with text |
| WebP | Lossy or lossless | Yes | Photos and graphics on websites |
| AVIF | Lossy or lossless | Yes | Photos, in browsers that support it |
web.dev says WebP and AVIF generally compress better than the older formats and should be used where possible. If your website platform cannot serve WebP, a well-compressed JPEG is still a good choice for photos.
Resize before you compress
The biggest saving often comes from the dimensions, not the quality. A 4000 × 3000 pixel photo from a phone has 12 million pixels; the same photo at 1600 × 1200 has 1.92 million, 16% as many. If a page only ever shows the image 800 pixels wide, the extra pixels are downloaded and thrown away. Google’s Lighthouse audit flags images that are larger than the size they are shown at, and says a page should ideally never serve an image larger than the version rendered on screen.
To choose a maximum width, find the largest size the image appears at on your site and allow for high-density screens: web.dev explains that doubling a screen’s resolution quadruples the number of pixels. Then set Fit within a maximum width and height and the tool shrinks larger images while keeping their proportions. It never enlarges an image.
How to read the results
- Original → new size and the percentage smaller are shown for each image, and the total for the batch at the top.
- Original kept means that re-saving the image in the same format and size would have made it larger, so your original file is offered unchanged. Untick the option in the settings if you would rather have the re-encoded file.
- Larger than the original appears when a conversion or setting increased the size, for example turning a small JPEG into a PNG. Try a lower quality or another format.
- Compare opens a before-and-after slider. Tick Show at actual size to look closely at faces, text and gradients, where compression artefacts show first.
Metadata and privacy
Photos from phones and cameras often carry EXIF metadata, and Apple explains that iPhone photos can include the coordinates of where they were taken. This tool draws each image again from its pixels, so new files do not include that metadata. That is useful before you publish photos online, but it also removes details you may want to keep, such as the date taken and copyright notes, so keep your originals.
Next steps
Once your images are smaller, run your pages through the website speed test to see what else slows them down. To crop or straighten a photo first, use the photo editor; for profile pictures, covers and adverts, the social media image resizer gives you each platform’s sizes. If you would like a website that handles all of this for you, see our website design and development service.
Frequently asked questions
Does compressing an image reduce its quality?
With lossy formats (JPEG, WebP and AVIF), yes: some detail is discarded to make the file smaller, and the lower the quality setting, the more is lost. PNG is lossless and keeps every pixel. Use the comparison at actual size to check the result before you download it.
What quality setting should I use?
There is no single right value. Google's Lighthouse audit re-encodes JPEG images at a compression level of 85 to estimate possible savings, so 80 to 85 is a sensible place to start. web.dev recommends trying several quality levels and choosing the best balance of quality and file size for each image.
Should I use WebP, JPEG or PNG?
For photos, WebP or JPEG. Google reports that lossy WebP images are 25–34% smaller than comparable JPEG images at equivalent quality. Use PNG or lossless WebP for screenshots, logos and graphics with sharp edges or text. JPEG cannot store transparency; PNG, WebP and AVIF can.
Why did my PNG hardly get smaller?
PNG is lossless, so the quality setting does not apply, and this tool does not reduce a PNG's colours. If re-saving makes the file larger, the tool keeps your original. Converting to WebP keeps transparency and is usually much smaller: Google reports that lossless WebP files are 26% smaller than PNGs.
Does it remove EXIF and GPS data from photos?
Yes, from every new file it creates: each image is redrawn from its pixels, so EXIF details such as the camera, date and GPS location are not copied. Photos are turned the right way up first. If the tool keeps your original because the new file would be larger, that original still has its metadata.
Are my images uploaded to a server?
No. The images are opened and compressed by your browser on your device, and nothing is uploaded. They are gone when you close or reload the page.
Sources
- web.dev: Choose the right image format
- MDN: Image file type and format guide
- MDN: HTMLCanvasElement toBlob() method
- Google for Developers: WebP, an image format for the Web
- Chrome for Developers: Efficiently encode images (Lighthouse)
- Chrome for Developers: Properly size images (Lighthouse)
- Apple Support: Manage location metadata in Photos
Phoot Technologies
Want a website that loads quickly?
We design and build fast, mobile-friendly websites for businesses in Ghana and beyond, with images sized and compressed from the start.
Related tools
Photo Editor
Crop, rotate, resize and brighten a photo in your browser, then download it as JPG, PNG or WebP.
Images · Runs in your browser
Social Media Image Resizer
Crop and resize one image to each platform's profile, cover, post and advert sizes, with the source of every size.
Images · Runs in your browser
Background Remover
Cut the subject out of a photo with an AI model that runs on your device, and download a transparent PNG.
Images · Runs in your browser