TinyPNG
Hosted image compression with a real REST API, six SDKs, 500 free calls a month
TinyPNG (the Tinify service) compresses and converts PNG, APNG, JPEG, WebP, AVIF and JPEG XL using lossy quantisation, via drag-and-drop on the web or through the Tinify API. The free web tier takes 20 images per batch at 5 MB each; the API gives 500 compressions a month with no payment method, then bills per compression. Official client libraries exist for Ruby, PHP, Node.js, Python, Java and .NET, plus WordPress and Figma plugins. It is the pick when compression has to happen in a pipeline rather than a browser tab.
npm install tinifyThis is the only tool in this group you can actually call: the Tinify REST API takes an API key and returns a compressed image, so use it when compression must run in CI, a serverless handler, or a content pipeline. Prefer sharp or libvips when you control the runtime and want zero per-image cost or zero network hops, and prefer Squoosh when privacy matters — TinyPNG uploads the file to Tinify's servers. Watch the 500-a-month free ceiling: it is per calendar month, does not roll over, and a bulk backfill will blow through it in one run.
Why it is here. It made lossy PNG quantisation a normal part of web workflow, and unlike almost every other design utility it exposes a documented, SDK-backed API an automated system can depend on.
- documented REST API with an API key
- official SDKs for Ruby, PHP, Node, Python, Java, .NET
- 500 free compressions per month
- PNG, APNG, JPEG, WebP, AVIF, JPEG XL
- WordPress and Figma plugins
Verified 2026-08-16. HTTP 200. https://tinypng.com/ (formats, free limits, plugin list), https://tinify.com/developers (500/month free tier, SDK list), https://tinify.com/pricing/api (per-compression tiers and credit bundles), https://tinify.com/pricing/web (plan names, file-size and conversion limits; dollar amounts not present in the HTML), npm registry 'tinify' (v1.8.3, published 2026-07-07, MIT client library). Web Pro/Ultra dollar figures come from a web search, not from the vendor page.








