jpegoptim
jpegoptim: A free, scriptable JPEG optimizer for developers and automated image workflows. Ranked #50 of 85 in Image Compression Software by our editors (4.4/10); pricing: Free plan; best for automated JPEG-focused compression.
At a glance
- Editor score4.4 / 10
- PricingFree plan
- Best forAutomated JPEG-focused compression
- Free planYes
- Paid fromFree
- Compression modesBoth
- Facts checked20 Sep 2026

Where it wins
- Supports both lossless optimization and lossy recompression
- Processes batches and parallel workers for automated workflows
- Offers target-size control and metadata handling options
Where it doesn't
- Focused on JPEG and JFIF rather than broad image-format support
- Command-line workflow may not suit users seeking a graphical interface
- Does not provide resizing, hosted uploads, or AI features
Our verdict on jpegoptim
jpegoptim is a free, open-source command-line utility for optimizing JPEG and JFIF files. It is intended for developers, system administrators, and automated image-processing workflows on Windows, macOS, and Linux. The tool covers both lossless optimization through Huffman-table optimization and lossy recompression with configurable maximum quality or target-size settings, making it suitable for reducing file sizes while retaining control over output quality.
For batch-oriented work, jpegoptim supports multiple files, file lists, configurable parallel workers, and standard-input and standard-output processing. These capabilities fit shell scripts, build processes, and other local automation where repeatable file handling matters. Progressive and non-progressive JPEG conversion adds control over JPEG output modes, while metadata preservation and selective marker stripping help define what information remains in the optimized files. The result is a focused utility for workflows that need file-based processing rather than a hosted upload service.
Its narrow format focus is also the main boundary. jpegoptim is built around JPEG and JFIF, so teams handling other image formats will need a separate tool or workflow. It is a command-line utility rather than a graphical application, which makes it a stronger fit for technical users and automation than for occasional manual editing. Choose jpegoptim when free, local, scriptable JPEG compression is the priority, especially when batch processing, target sizes, metadata controls, or parallel execution are important. Look elsewhere when resizing, AI features, or a broader image-format workflow is central.
Your product? Our editors can test jpegoptim in depth and publish a review, labelled as paid · from $149/mo →
jpegoptim pricing
jpegoptim fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Compression modes | Both |
| Batch processing | Yes |
| API access | Not verified |
| Max upload size | Not verified |
| Image resizing | Not verified |
| Supported formats | JPEG, JFIF |
| Metadata controls | Yes |
| Deployment | Self-hosted |
| Platforms | Windows, macOS, Linux |
| Support | Docs |
| Built for | Solo, Small business, Mid-market (editorial estimate) |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 20 Sep 2026 |
Alternatives to jpegoptim
- TinyPNGA flexible compressor for web workflows, batch processing, and automated image pipelines.9.3
- OptimoleA strong WordPress-focused optimizer for responsive images, modern formats, and CDN delivery.9.2
- ThumborA self-hosted image service with URL transformations, smart cropping, and format selection.9.1
See all jpegoptim alternatives →
Used jpegoptim? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used jpegoptim for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
jpegoptim is listed in our Image Compression Software directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/jpegoptim/"><img src="https://www.itechguides.com/best/badge/jpegoptim.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update

