MozJPEG vs TinyPNG
MozJPEG
github.comTinyPNG
tinypng.comSide by side
| Figure | MozJPEG | TinyPNG |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| API | Yes | Yes |
| Self-hosted | Yes | — |
| Plans published | 1 | 9 |
| Spec score · Image Compression Software | 8.2 (#32) | 8.9 (#4) |
| API access | Yes | Yes |
| Compression modes | both | lossy |
| Free plan | Yes | Yes |
| Metadata controls | Yes | The Developer API offers an option to retain certain metadata. |
| Supported formats | PPM,PGM,BMP,GIF,Targa | JPEG XL (JXL),AVIF,WebP,JPG,PNG,APNG |
Plans
TinyPNG
- Web FreeFree
- Web ProPrice not published
- Web UltraPrice not published
- Developer API: first 500 compressionsPrice not published
- Developer API: next 9,500 compressionsPrice not published
- Developer API: next 10,000 compressionsPrice not published
- Developer API FreeFree
- Developer API Volume PricingFree
- Developer API Pay Per Compression$0.01 a month
In their own words
MozJPEG
MozJPEG is a free, open-source library project that improves JPEG compression efficiency to produce smaller files and higher visual quality. It is intended for graphics programs and image-processing tools, and programs using the libjpeg API can integrate it without MozJPEG-specific integration code. It is compatible with the JPEG standard and the vast majority of deployed JPEG decoders. When converting other formats to JPEG, it uses trellis quantization to target the quality-to-file-size ratio. Its progressive encoding with jpegrescan optimization can losslessly reduce the size of a JPEG when used with jpegtran. The project’s improvements can be disabled at runtime, returning it to libjpeg-turbo behavior. The repository includes a demo cjpeg command-line tool, which is not intended for serious use. Build instructions cover Unix-like systems, macOS, Linux, and Windows with Visual C++ or MinGW. The GitHub repository identifies version 4.1.1 on its latest release page. MozJPEG points users to libjpeg-turbo documentation for additional build help; its repository does not state security certifications or compliance claims.
TinyPNG
TinyPNG is an image compression service offering lossy compression, batch processing, resizing, metadata controls and API access. It supports JPEG XL, AVIF, WebP, JPG, PNG and APNG files. Free web use allows up to 20 image compressions per session, with each image limited to 5 MB, and up to three conversions per session. The API includes 500 free compressions each month; unused free compressions reset at the start of each calendar month and do not roll over. Above that allowance, charges apply to successful compressions, with no subscription fee or minimum charge. Uploaded images are accessible only to the uploader and retained for a maximum of 48 hours. TinyPNG removes unnecessary metadata, while the API can preserve selected copyright, location and creation-date metadata. Official plugins are available for WordPress and Figma, alongside a beta Zapier integration. Web Pro offers unlimited compressions and a 75 MB per-image limit, while Web Ultra allows 150 MB images and unlimited conversions. The maker is headquartered in Hoevelaken, Netherlands.