An open-source, offline image compression tool built with pure HTML, CSS, and JavaScript.
It runs entirely in the browser without uploading files to any server, ensuring privacy and security.
- π Fast Compression: Uses WebCodecs (if supported) or Canvas for high performance.
- π Multiple Import Methods: File picker, drag & drop, paste from clipboard, or entire folders.
- π Supported Formats: JPG/JPEG, PNG, WEBP, AVIF (if supported), GIF (first frame), BMP, TIFF.
- π’ Limit: Up to 20 images per batch.
- πΌοΈ Custom Parameters:
- Output format
- Compression quality
- Resize (keep aspect ratio)
- Preserve metadata (EXIF, if supported)
- Transparency handling (remove, black/white background, or custom color)
- π Offline & Private: Works without internet connection, all processing is local.
- π Real-time Progress: Displays total, queued, running, success, and failed counts.
- π¨ Dark / Light Themes: Manual switch or follow system preference.
- π Preview & Compare:
- Side-by-side comparison
- Before/After slider
- Magnifier view for details
- π Compression Report:
- Summary (total size, savings, average ratio)
- Per-image details (before/after size, ratio, time, status)
- Visualization (bar chart, pie chart)
- Export to CSV / JSON
- π¦ Batch Export: Save all compressed images to a folder (via File System Access API) or download one by one.
- Download or clone this project.
- Open
index.htmldirectly in your browser (no server needed). - Add images via drag & drop, paste, or file picker, then click Start Compression.
β οΈ Recommended: Use Chrome / Edge / Opera (Chromium-based) for best performance.
Safari/Firefox may have limited support (e.g., AVIF, metadata retention, batch export).
MIT License β free to use, modify, and distribute with attribution.