Skip to content

Free tools · Images

Compress JPG

Choose a quality, see the size. On your device, nothing 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 jpg

  1. Drop the JPG.
  2. Pick a quality.
  3. Press Compress and download.

What happens to your file

The image is decoded and re-encoded at the quality you chose. JPEG quality is a trade between file size and the blockiness you can see in flat areas and along edges; 82 is where most photographs stop looking different from the original.

Re-encoding a JPEG always costs a little detail. Do it once, from the original, not repeatedly.

Camera metadata is dropped in the re-encode.

Questions

What quality should I use?

82 for anything you will look at closely; 70 for web thumbnails and previews; 55 only when size matters more than the picture.

Why is a lower quality sometimes larger?

It should not be, from the same source. If it is, the original was already encoded by a very efficient encoder; the page shows both sizes so you can keep the original.

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": {
      "format": "jpeg",
      "quality": 82
    }
  }'

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.