How to compress an image
Upload an image, pick an output format and quality, optionally cap the width, then compress. You'll see the before and after size.
Which format is smallest?
WebP and AVIF are usually much smaller than JPG at the same quality. Use JPG or WebP for photos, and PNG only when you need lossless output or transparency.
Frequently asked questions
Is my file uploaded anywhere?
No. Everything happens inside your browser on your own device, so your files never leave your computer and there is no file-size limit imposed by a server. Very large files are limited only by your device's memory.
What quality should I use?
70–80% is the sweet spot for most photos: files shrink dramatically with little visible loss.
Why did my PNG get bigger?
PNG is lossless and has no quality setting here. Convert photos to WebP or JPG for big savings.
Related tools
Convert Image Format
Convert between JPG, PNG, WebP and AVIF in your browser.
Resize & Crop Image
Change an image's dimensions or crop it to an exact size.
Image to Base64
Encode an image as a Base64 data URL for HTML, CSS or JSON.
Favicon Generator
Create favicon.ico and PNG icons for browsers, iOS and Android from one image.
Color Palette Extractor
Pull the dominant colours from any image as HEX codes.
Meme Generator
Add classic top and bottom captions to any image.