
image-optimizer
Free desktop image optimizer. Files stay on your machine.
Replaces Tinypng, Shortpixel, Cloudinary, Kraken Io, Imagekit

Who it's for
Export a folder of assets from Figma or Sketch, drop it into Image Optimizer, and get compressed files without touching a command line or hitting an API quota. The before/after preview lets you confirm visual quality before handing files to an engineer.
You need to preserve raw source files exactly as exported. Image Optimizer can replace originals if the in-place output mode is selected; use the output folder or .min suffix option to avoid overwriting source files.
Run Image Optimizer on a directory of images before adding them to a repository. The app processes JPEG, PNG, GIF, and SVG in one pass and writes results to a separate folder, which makes the diff clean and the file size reduction visible in the pull request.
Your project already uses automated image optimization in the build pipeline (Next.js Image, vite-plugin-imagemin, or similar). A manual pass on top of build-time optimization may produce diminishing returns.
Compress a batch of product images, blog photos, or marketing assets before uploading to a CMS. Keeping assets below a target file size without a paid cloud plan is the core use case: drop a folder, set a quality level, and upload the results.
Your CMS handles optimization automatically on upload (Cloudinary, Sanity with image pipeline, WordPress with a compression plugin). In that case, a local pre-optimization pass is redundant.
The problem
Every image that ships to a user over the web costs bandwidth. Unoptimized images slow page loads, hurt Core Web Vitals scores, and inflate hosting bills. The standard response is to reach for an online service like TinyPNG or ShortPixel, but those tools have real costs: a free tier that runs out quickly, subscription fees that scale with usage, and the fact that your files leave your machine and land on someone else's servers. For designers and developers who work with sensitive assets (unreleased designs, client work, private product photos) or who process images in volume, the cloud-service model is a poor fit. Command-line tools like mozjpeg and pngquant do the job for free, but they require environment setup and offer no visual way to review per-file results before committing to an output folder.
How it works
Drop individual files or entire folders and the app processes everything inside, including nested subfolders. Per-file results show original size, optimized size, savings percentage, and elapsed time so you can review what changed before committing to an output path.
JPEG files are compressed with mozjpeg, PNG files with pngquant, GIF files with gifsicle, and SVG files with SVGO. Each optimizer is purpose-built for its format, which typically achieves better compression than a single general-purpose tool would across all four types.
Convert JPEG and PNG files to WebP format in the same workflow, powered by cwebp. WebP files are typically 25-35% smaller than their JPEG or PNG equivalents at equivalent visual quality, which directly reduces page weight for web projects.
An interactive before/after preview lets you compare the original and optimized image visually before writing results. JPEG and PNG quality levels are adjustable before running a job, giving you control over the compression trade-off for each batch.
Write optimized files to a configurable output folder, add a .min suffix to preserve originals alongside the compressed versions, or replace source files in place. A reveal-in-Finder/Explorer option opens the output location directly after processing completes.
Features
- Batch folder processing with recursive scanning
- Four format types with dedicated optimizers per format
- WebP conversion for JPEG and PNG
- Before/after preview with adjustable quality
- Flexible output: suffix, replace in place, or output folder
Recommended for this setup
Strengths
- Local processing: files never leave your machine: All compression runs on your local CPU using bundled optimizer binaries. No network requests, no file uploads, no third-party servers. For sensitive assets (unreleased designs, client work, private product images), this is a material privacy advantage over cloud services like TinyPNG or Kraken.io, which require uploading files to external servers.
- MIT licensed and free with no usage limits: The MIT license means no usage caps, no API quotas, and no subscription required. TinyPNG's free tier caps at 500 compressions per month; ShortPixel charges by credit. Image Optimizer has no such restrictions: you can process an unlimited number of files for free.
- Desktop GUI with no CLI setup required: Drag-and-drop interface for batch processing with no command-line configuration. Installers are available for macOS (Apple Silicon and Intel), Windows (NSIS installer), and Linux (Snap package), covering common developer and designer setups without environment configuration.
Trade-offs
- No API or scripting interface for automation: Image Optimizer is a GUI desktop application with no CLI, API, or plugin interface. You cannot integrate it into a CI/CD pipeline, a build script, or an automated upload workflow. Teams that need image optimization as part of a programmatic process should use the underlying tools directly (mozjpeg, pngquant, SVGO, cwebp) or a service with an API.
- No CDN, media management, or delivery features: Unlike Cloudinary or ImageKit, this tool only optimizes files on disk. It does not upload assets to a CDN, generate responsive image variants, or provide a URL for dynamic resizing. Teams that need those capabilities still need a cloud media service alongside this tool, or instead of it.
Tech stack
FAQ
Yes. Image Optimizer is MIT licensed and free with no usage limits. Download the installer for macOS, Windows, or Linux from the GitHub Releases page and run it without any subscription, account, or API key.
No. All compression runs locally using bundled optimizer binaries (mozjpeg, pngquant, gifsicle, SVGO, cwebp). Your files never leave your machine, which makes this a suitable choice for sensitive or unreleased assets that should not be processed on third-party servers.
JPEG, PNG, GIF, and SVG. JPEG and PNG files can also be converted to WebP during processing using cwebp. GIF files are optimized with gifsicle but cannot be converted to WebP. SVG files are optimized with SVGO.
TinyPNG is an online service that compresses files via a cloud API and has a free tier limited to 500 compressions per month, with paid plans above that. Image Optimizer is a local desktop app with no compression limits, no uploads, and no subscription. TinyPNG's API is the right choice for automating compression in a build pipeline or CMS workflow; Image Optimizer has no API and is better suited to manual batch workflows.
No. Image Optimizer is a GUI application with no CLI or API. For automated pipelines, use the underlying tools directly: mozjpeg for JPEGs, pngquant for PNGs, SVGO for SVGs, and cwebp for WebP conversion. Most build tools have plugins for these (for example, vite-plugin-imagemin for Vite projects, or imagemin for Node.js scripts).