Image Compression
Compress images with adjustable quality. Output as JPEG or WebP. Max 12 MB. Processing in your browser only.
Compress images with adjustable quality. Upload or drag-and-drop an image (max 12 MB). Choose output format (JPEG or WebP) and quality (0–1). Processing is done in your browser. Lower quality produces smaller files but may look worse. Use Download to save the compressed image.
Loading…
Examples
- Photo 2 MB → quality 0.8 → smaller JPEG
- PNG screenshot → WebP for web use
FAQ
Why is SVG not supported?
SVG is vector-based. This tool compresses raster images (PNG, JPEG, WebP) by reducing quality or re-encoding.
What is the maximum file size?
12 MB per image.
Is my image sent to a server?
No. Compression runs in your browser. Your image never leaves your device.
What quality should I use?
0.7–0.9 often gives a good balance. Lower quality means smaller file size but more visible artifacts. Quality 0.8 is a widely-used sweet spot for photos.
What is the difference between lossy and lossless compression?
Lossy compression (JPEG, WebP lossy) permanently discards some image data to achieve smaller files. Lossless compression (PNG, WebP lossless) reduces file size without any quality loss. This tool uses lossy compression.
How much smaller can I expect the file to be?
At quality 0.8, a JPEG photo might compress from 3 MB to 500 KB–1 MB (60–80% reduction). WebP typically achieves 25–35% smaller files than JPEG at similar visual quality.
Is WebP better than JPEG for compression?
Yes. WebP achieves about 25–35% smaller files than JPEG at the same perceptual quality, according to Google's testing. All modern browsers support WebP, making it the preferred format for web delivery.
What are visible compression artifacts?
JPEG compression at low quality creates blockiness (ringing around edges), color banding, and smearing in flat areas. These are called DCT artifacts. WebP at low quality may show blurring or color bleeding instead.
Can I compress a PNG?
Yes — upload a PNG, choose JPEG or WebP as output, and compress. The result will be lossy (quality-reduced) even though the source was lossless. If you want lossless PNG compression, use a tool like pngquant or TinyPNG.
What are images for Core Web Vitals?
Google's Largest Contentful Paint (LCP) metric is heavily affected by image loading speed. Use WebP, compress to quality 0.75–0.85, and serve images at the correct display size. Images should ideally be under 200 KB for good LCP.
What is a progressive JPEG?
A progressive JPEG loads in multiple passes — a low-res version appears first, then improves. This makes the page feel faster. The browser canvas API does not produce progressive JPEGs; for that, use server-side tools like ImageMagick or Sharp.
Why doesn't compressing a PNG reduce its size?
If the PNG contains complex image data (like a photo), re-saving it as PNG may not reduce size because PNG is already losslessly compressed. Convert to JPEG or WebP for meaningful size reduction on photographic content.