Image Compressor
Compress JPG, PNG, and WebP files using a quality slider, dimension cap, or exact KB target in your browser.
Settings
Quality 75 · Original size · PNG → WebP
How to Compress an Image in 3 Steps
Drop a JPG, PNG, or WebP
Drop any JPG, PNG, or WebP file up to 50 MB into the Original pane. The tool reads dimensions, bakes EXIF rotation upright, and previews baseline compression immediately. Convert iPhone .heic photos first in HEIC to JPG & PNG Converter.
Set Target KB, Quality, or Width
Enter 20 or 50 in Target size to meet strict signature or passport photo portal caps. Keep Convert PNG to WebP checked at 1600 px to shrink 4 MB hero PNGs under 150 KB.
Compare Savings & Download
Click Download or Copy once the Compressed preview and byte badge match your goal. When no bytes can be saved at Original size, the tool keeps your source file untouched.
Recommended Settings by Image Use Case
| Use Case | Recommended Control | Output Format | Behavior & Tradeoff |
|---|---|---|---|
Passport & exam photos (20-50 KB) |
Target size: 45 KB, Max dimension: 800 px |
JPG |
Binary search picks the highest JPEG quality under 45 KB while keeping facial detail sharp. |
Scanned ink signatures (10-20 KB) |
Target size: 18 KB, Max dimension: 800 px |
JPG or WebP |
Downscales dimensions automatically when needed. Lock exact portal pixel bounds first in Image Resizer. |
Blog & e-commerce LCP heroes (< 150 KB) |
Quality: 75-80, Max dimension: 1600 px, PNG to WebP on |
WebP (or JPG) |
Shrinks 4 MB hero PNGs under 150 KB to improve Core Web Vitals LCP scores. |
| Transparent logos & UI assets | Convert PNG to WebP on, Quality: 85-90 |
WebP (alpha kept) |
Preserves smooth alpha transparency at 3x to 5x smaller byte sizes than lossless PNG. |
| Strict lossless PNG workflow | Uncheck Convert PNG to WebP, set Max dimension |
PNG |
Retains lossless PNG pixels, so byte size drops only when you lower Max dimension. |
Resizing (Max dimension) vs Quality slider |
Cap 1200 px or 1600 px before dropping Quality below 65 |
JPG / WebP |
Halving dimensions cuts pixel count by 75% while avoiding blocky artifacts from ultra-low quality settings. |
| Camera EXIF & GPS stripping | Automatic on every canvas output (or lossless strip) | JPG / WebP / PNG |
Canvas output strips EXIF and GPS tags automatically. Use File Metadata Remover for lossless stripping. |
Image Compressor: Frequently Asked Questions
How do I compress a JPEG under 20 KB or 50 KB without blurry text?
Set Max dimension to 800 px and enter 20 or 50 in Target size (KB). Binary search selects the highest JPEG quality under your cap before downscaling dimensions by 30 percent. Resize fixed portal dimensions first in Image Resizer, or read our 50 KB to 200 KB portal guide.
When should I use JPEG vs WebP vs PNG?
Use JPEG for government, visa, and exam portals that reject modern web formats. Build 20-50 KB ID headshots and 4x6 sheets in Passport & Exam Photo Maker. Choose WebP for web heroes and keep PNG only for lossless editing.
Why do PNG files shrink so much more when switched to WebP?
Standard PNG uses lossless compression, so the Quality slider cannot discard invisible camera or gradient noise. Enabling Convert PNG to WebP applies perceptual encoding that preserves alpha transparency at 3x to 5x smaller sizes. Uncheck that option only when you need a lossless PNG file.
Does compressing an image remove EXIF camera and GPS metadata?
Yes. Canvas re-encoding bakes EXIF rotation upright and omits camera models, timestamps, and GPS coordinates from the output. Use File Metadata Remover when you want to strip EXIF tags without re-encoding JPEG pixels.
Can I compress multiple images in one session?
This workspace processes one image up to 50 MB at a time for live preview and per-file KB tuning. Press Esc after downloading to clear the canvas and drop your next photo immediately. Restore blurry WhatsApp forwards before compressing in AI Image Upscaler & Sharpener.
Are my private photos or IDs uploaded to a server?
No. Your browser decodes, resizes, and re-encodes every image locally in memory using the HTML Canvas API. Passports, signatures, and private photos never leave your device.
Explore All Media Tools
Compress, convert, resize, and edit image, video, GIF, and audio files locally in your browser.