Image Compressor
Compress, resize and convert JPG, PNG and WebP images
Runs in your browser
How does image compression work?
Photos from a phone or camera are often 3 to 10 MB, far more than a website, an email or a form needs. This tool decodes each image with your browser, optionally scales it down so its longest side fits the size you pick, and encodes it again as JPG, WebP or PNG. JPG and WebP are lossy: the quality setting decides how much fine detail is dropped, and 75 to 85% is usually impossible to tell apart from the original on screen. WebP gives the same look as JPG in roughly 25 to 35% fewer bytes. PNG is lossless, so it only gets smaller when you also reduce the size. Re-encoding also removes EXIF metadata such as the camera model and GPS location.
Use cases
- Shrink photos below the upload limit of a government form, job portal or school website
- Make product and blog images lighter so web pages load faster
- Convert PNG screenshots or JPG photos to WebP for a website
- Remove GPS location and camera details before sharing a photo
When to use?
Use it whenever an image is bigger than where it is going: a 4000-pixel photo shown 1200 pixels wide on a website, or an attachment that has to stay under 1 or 2 MB. Pick a maximum size first, since fewer pixels saves the most, then lower the quality until you just start to see a difference. Keep the original file: every lossy save throws detail away for good.
Examples
Phone photo for a website
Input
IMG_2041.jpg · 4.8 MB · 4032×3024
Output
WebP · quality 80% · max 1920 px → about 250 KB · 1920×1440
Get under a 1 MB upload limit
Input
scan.jpg · 3.1 MB · 2480×3508
Output
JPG · quality 75% · max 1920 px → about 400 KB
PNG screenshot to WebP
Input
screenshot.png · 1.2 MB · 2880×1800
Output
WebP · quality 85% → about 150 KB, same size in pixels
Questions and answers
Are my images uploaded?
No. Decoding, resizing and encoding all happen in your browser. The page works offline once it is loaded.
Which quality should I choose?
Start at 80%. Go down to 60 to 70% for thumbnails and previews, and up to 90% for photos that will be printed or edited again.
Why did my PNG not get smaller?
PNG is lossless, so the quality slider does not apply. Choose a smaller max size, or convert to WebP or JPG. If the result would be larger than your file, the original is kept.
Does it keep animation and EXIF data?
No. An animated GIF becomes a still image of its first frame, and EXIF data such as GPS location and camera model is removed. The photo is still rotated the right way.
Sources and standards
Related tools
All ToolsResize Image
Resize images by pixels, percent or file size in KB, right in your browser
PhotoPNG to JPG Converter
Convert PNG, HEIC and WebP to JPG, or JPG to PNG and WebP, right in your browser
PhotoJPG to PDF
Convert JPG, PNG, HEIC and other images to one PDF in your browser
DocumentImage to Text
Extract text from images and screenshots with OCR, right in your browser
Photo