smallapis

Compress an image without the guesswork

Drop in an image and get the compressed file plus the exact saving. Metadata, including GPS coordinates from a phone camera, is dropped in the process.

Free, 60 uses a day per address, nothing stored. The same thing from your own code: Image Toolkit API.

Questions

Which format should I pick?

WebP for almost everything on the web: broadly supported and typically 25-35% smaller than JPEG at the same quality. AVIF is smaller again but slower to encode. Keep PNG only for images that need real transparency or sharp flat edges.

Does this remove EXIF data?

Yes, as a side effect of re-encoding. If that is the only thing you want, the API has a dedicated /v1/image/strip endpoint that keeps the quality untouched.

Do this from your own code

One endpoint per job, no SDK required. Backed by libvips, so a 4000x3000 JPEG converts to WebP in well under a second. Accepts a multipart upload, a public URL, or base64.

curl -X POST "https://173-249-18-142.sslip.io/v1/image/compress" \
  -H "X-API-Key: $SMALLAPIS_KEY" \
  -F "file=@input.jpg" \
  -F "quality=78" \
  --output result.bin