Overview
Compress JPG, PNG and WebP images in batch directly in your browser. Tune quality and max width, and convert between JPG, PNG and WebP on demand. All decoding, scaling and encoding happen in a Canvas - your files never leave the device. Ideal for private photos, product shots and social-media assets. Up to 20 files per batch, 20 MB each.
How to use
- Click "Choose files" and select up to 20 JPG / PNG / WebP images
- Drag the quality slider (70-80% is usually a good balance)
- To resize, set a "Max width" in pixels (0 keeps the original)
- Pick an output format (WebP is usually 25-35% smaller than JPG)
- Click "Compress", watch the progress bar, then download each file
Formula
compressionRatio = (1 - compressedSize / originalSize) × 100%; savedBytes = originalSize - compressedSize; scaledWidth = min(originalWidth, maxWidth) and scaledHeight = originalHeight × scaledWidth / originalWidth.
Common scenarios
Blog cover images
Upload four 6 MB raw camera shots, set quality 75%, max width 1280 px and WebP output - each lands at 200-400 KB and the page loads dramatically faster.
E-commerce product photos
Convert a set of 2 MB PNG product shots to JPG at quality 85. Transparent backgrounds auto-fill to white and each image drops to ~400 KB, halving above-the-fold weight.
Social avatar shrink
Export an 8 MB iPhone HEIC to JPG from your photo library first, then compress here at quality 80 with 720 px max width. The result passes most apps' avatar upload limits.
FAQ
Will my images be uploaded to a server? Is it private?
No. Processing happens entirely in your browser. Files are read into memory via FileReader and re-encoded with Canvas - there is no fetch or XHR upload at any point. Everything clears from memory when you close the tab.
Will quality drop visibly? How do I choose a quality level?
Above 90 the difference is invisible; 70-85 is the sweet spot for size vs. quality with no visible loss; below 60 you may see blocking and fuzzy text. Use 80-90 for photography, 70-80 for general content, 60-70 for thumbnails.
Which formats are supported? How much smaller is WebP vs. PNG?
JPG, PNG and WebP can be converted in any direction. For the same image WebP is typically 25-35% smaller than JPG and 50-80% smaller than PNG; transparency is preserved when converting PNG to WebP, while still cutting size roughly in half.
Are there any batch or size limits?
Up to 20 files per batch and 20 MB per file - this prevents the browser from exhausting memory and crashing. For more files or larger ones, split into batches. Processing is sequential and the progress bar reflects current completion.
Why did some images grow larger after compression?
Tiny files (< 10 KB) or already-highly-compressed JPG / WebP can grow because of encoder overhead. The tool detects this and keeps the original byte count (savedBytes shown as 0); you still get the processed file, but no fake savings are reported.
Will the compressed file keep EXIF metadata?
No. Canvas re-encoding drops EXIF (GPS, camera model, capture time) by design, which neatly strips sensitive metadata. If you need EXIF retained, use your OS photo app or a dedicated metadata tool instead.
Related tools
Online Image Stitcher - Combine Multiple Images Into One Long Image
Stitch multiple images vertically or horizontally into one long image locally in your browser. Drag to reorder, customize gap and background, export as PNG/JPG/WebP. No server upload.
Online Image Watermark Tool - Batch ID Photo Anti-Theft Generator
Add text or logo watermarks to images locally in your browser. Supports 9-grid positioning, diagonal tiling, batch processing and PNG/JPG/WebP export. Perfect for ID cards and business licenses. Zero upload for full privacy.
Image Format Converter - PNG JPG WebP AVIF Local Converter
Convert images between PNG, JPG, WebP and AVIF locally in your browser. Batch processing, quality control, transparent-to-white fill and size limits, with zero upload for full privacy and speed.
Color Converter · HEX RGB HSL Three-way Conversion
Online color format converter for HEX / RGB / HSL. Type any format, the other two sync instantly with live swatch preview. Runs entirely in your browser — nothing uploaded.