Skip to content

Free tools · Images

Compress image

Pick the size a form demands. JPG, PNG and WebP are compressed on your device; nothing is uploaded.

Free · no sign-up · JPG, PNG and WebP are processed on your device · other formats are uploaded, deleted after 24 hours.

How to compress image

  1. Drop the image.
  2. Choose the size it must fit under.
  3. Press Compress and download.

What happens to your file

A JPG, PNG or WebP never leaves your device: the browser decodes it, and a bounded search lowers the encoder quality — at most six probes, never below a floor that visibly damages photographs — until the file fits. Only if the floor is not enough are the dimensions stepped down, and the result says so.

Metadata (camera, location, edit history) does not survive the re-encode. For most uploads that is a feature.

HEIC, TIFF, GIF and AVIF take the cloud path on this same page: they are uploaded, converted with the same search, and deleted on schedule.

If a target is impossible without destroying the image, the page says so instead of handing you mush.

Questions

Which size should I pick?

The one the form asks for. If it does not say, 500 KB is plenty for a profile photo and 1–2 MB for a product image.

Why did the dimensions change?

The quality floor was reached first. A 6000-pixel-wide photo cannot fit in 100 KB at any honest quality, so the resolution was reduced — and the result shows the new size.

Is it really not uploaded?

For JPG, PNG and WebP, correct: the page works with your network unplugged. The privacy sweep in our test suite asserts that no host is contacted.

Does PNG compression lose quality?

PNG is lossless, so shrinking it under a target means fewer pixels, not lower quality. A photo saved as PNG is usually better off as a JPG — use PNG to JPG.

Do this in code

curl -X POST https://api.fylane.dev/v1/jobs \
  -H "Authorization: Bearer $FYLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file_id": "<file id>",
    "operation": "image.convert",
    "options": {
      "target_bytes": 512000
    }
  }'

The same operation, image.convert — Re-encode to WebP, JPEG, PNG or AVIF at your quality. Upload first with the quickstart; every option is on the operations page. 500 free credits a month, then $5 per thousand.