ImageOptimizer
All articles
Shrink an image

TinyPNG and Squoosh alternatives: free, no upload, API and bulk

First-hand: We read TinyPNG's and ImageOptim's pricing pages on 26 November 2026 and quote only what they said that day; the figures for our own tool are from our pricing page the same day, and the size examples come from runs of our converter that morning.

Short answer: if you compress a few PNGs now and then, TinyPNG's free web tool is still the simplest thing on the internet and you do not need an alternative. People look for one for four reasons: they do not want to upload client files to a server, they hit the free tool's per-session limits, they need an API or a bulk path in a build, or they want a modern format (AVIF, or SVG for logos) rather than a smaller PNG. Squoosh solves the first; sharp solves the third if you can write code; ImageOptim solves bulk on a Mac. Our converter covers the no-upload case and the API case in one tool and adds the thing none of the others do: it decides between a traced SVG and AVIF/WebP and writes the <picture> tag. The table says where each one is better.

The comparison table

ToolWhat it isRuns whereFree tierPaidAPI / bulkFormats outChecked
TinyPNG (Tinify)Drag-and-drop web compressorTheir servers (you upload)Web Free: 20 compressions per session, 5 MB per image, 3 format conversions per sessionWeb Pro $3.25 per month billed annually (unlimited compressions, 75 MB per image); Web Ultra $12.42 per month billed annually (150 MB, unlimited conversions)Separate developer API with a free monthly allowance, then per-compression pricing: see their API pricing pagePNG, JPEG, WebP, AVIF, JPEG XL, HEIC, SVGtheir pricing page, 2026-11-26
SquooshGoogle Chrome Labs' open-source codec playgroundYour browser (nothing uploaded)Free, no limitsNoneNo API; one image at a time (a CLI project exists but check whether it is still maintained before relying on it)AVIF, WebP, JPEG XL, MozJPEG, OxiPNG, WebP2squoosh.app, 2026-11-26
ImageOptimFree Mac app, plus a hosted APIApp: your Mac. API: their serversApp free, unlimitedAPI from $12 per month for 2,000 optimisations, $49 for 16,000, $245 for 100,000; free trialApp: drag a folder (bulk). API: yesApp: smaller PNG/JPEG/GIF/SVG; API: resizing and format conversiontheir API pricing page, 2026-11-26
sharpNode.js image library (libvips)Your build machineFree, open source (Apache-2.0)NoneYou write the code; unlimitedAVIF, WebP, JPEG, PNG, GIF, TIFFgithub.com/lovell/sharp, 2026-11-26
Ours (ImageOptimizer)Browser tool + API + MCP server, one engineBrowser tool: your tab (nothing uploaded). API: our serversBrowser tool free, unlimited, no account; API keyless on a shared rate limit (no SLA) or 250 operations a month with a free accountStarter $10 a month for 1,000 operations, Pro $29 for 3,000, Scale $99 for 10,500 (or $100 / $290 / $990 a year); top-up $10 for 1,000 more, subscribers onlyAPI with ?widths=auto for the responsive set; MCP for agentsTraced SVG, AVIF, WebP, JPEG/PNG fallback, favicons, plus the <img>/<picture> markupour pricing page, 2026-11-26

Prices change; the vendor's page on the day you buy is the one that counts.

TinyPNG alternative that runs locally

The usual complaint on forums is not quality, it is the upload. A compressor you can run without sending the file anywhere is either software on your machine or code that runs inside the browser tab. Squoosh does the latter and has for years; our tool does the same, with the decoding, tracing and encoding in a Web Worker in your tab, which is why it works for an unreleased logo or a client's photos. ImageOptim is the local choice on a Mac and handles whole folders at once. On Windows and Linux, sharp from a script is the honest local bulk answer; there is no free desktop app with ImageOptim's polish that we would recommend without having tested it, so we do not.

TinyPNG open source alternative

Squoosh and sharp are open source; sharp is in fact the raster engine inside our own tool (we add the SVG tracing path, the fidelity measurement and the markup on top). If you want a self-hosted compressor you control completely, a few lines of sharp in your build script will do what TinyPNG's API does, for free, at the cost of writing and maintaining them. The tracer we use for logos is also open source and permissively licensed; the GPL tracers some free tools embed are a reason to check licences if you ship the code.

Squoosh alternative with an API or bulk

Squoosh is deliberately a one-image playground: excellent for learning what a codec setting does, impractical for forty product photos. For bulk without code, ImageOptim's app (Mac) or TinyPNG's web tool with a paid plan. For bulk with an API, TinyPNG's developer API, ImageOptim's API, or ours: one request per source image returns the AVIF, WebP and fallback (and srcset variants with ?widths=auto) plus the tag to paste. Agents can call the same functions through our MCP server without a key.

Which gives the smallest files

Any of them, for a photo, will land within a few per cent of each other at matched quality, because they share the same few codecs (mozjpeg, libwebp, libaom or rav1e for AVIF). The real differences in output size are decisions, not codecs: whether you move to AVIF at all (in our run today AVIF was 19–48 % smaller than WebP and 2.5–3.2× smaller than JPEG on four photos; see AVIF vs WebP), whether you serve a 640-pixel image to a phone instead of a 1920-pixel one, and whether a logo becomes an SVG instead of a compressed PNG. This morning a 15,969-byte one-colour logo PNG became a 662-byte compressed SVG; no PNG compressor gets anywhere near that, because the answer was a different format, not a smaller PNG.

What each one does not do

  • TinyPNG does not run locally, does not trace logos to SVG and does not write your markup; it is a compressor.
  • Squoosh does not do bulk, API or SVG, and has no decision rule; you choose every setting yourself.
  • ImageOptim (the app) does not produce AVIF or WebP; it makes existing PNG/JPEG files smaller. The API does

convert formats, on their servers.

  • sharp does nothing until you write the code, and gives you no measurement of whether the result still looks right.
  • Ours does not edit images (no cropping, no background removal), takes inputs up to 4.5 MB through the API, and the

hosted API's keyless path is a shared rate limit with no service guarantee; the browser tool has no account at all.

Who should pick what

  • A handful of PNGs, no privacy concern: TinyPNG's free web tool, as it has always been.
  • One image, you want to see what each codec setting does: Squoosh.
  • A Mac and a folder of existing PNGs/JPEGs to slim without changing format: ImageOptim.
  • A Node build step you are happy to own: sharp.
  • Logos and photos for a site, no upload, free, with the tag written for you: the browser tool. The same

engine as an API for builds and agents, with 250 free operations a month on an account and plans from $10 a month (checked 2026-11-26; plans).

← All articles · RSS