Tools / Bulk Image Converter & Compressor (WebP, AVIF, JPG, PNG)

Bulk Image Converter & Compressor (WebP, AVIF, JPG, PNG)

Convert and compress images in bulk. Input: imageUrls. Output (JSON/CSV): one row per item with imageUrl, inputFormat, inputKb, outputFormat, width, height, outputKb, savedPercent, outputUrl.

Run it on Apify Store →

What it's for

Example input

{
 "imageUrls": [
  "https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg",
  "https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png",
  "https://example.com/nope.jpg"
 ],
 "format": "webp",
 "quality": 75,
 "maxWidth": 400
}

Example output

{
  "imageUrl": "https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg",
  "inputFormat": "jpeg",
  "inputWidth": 172,
  "inputHeight": 178,
  "inputKb": 9,
  "outputFormat": "webp",
  "width": 172,
  "height": 178,
  "outputKb": 2,
  "savedPercent": 73,
  "outputUrl": "https://api.apify.com/v2/key-value-stores/n6UlfRY8qhufbligb/records/img-0001-Example.webp",
  "outputKey": "img-0001-Example.webp"
}

Input reference

FieldTypeNotes
imageUrls requiredarrayDirect image links.
formatstringOutput format
qualityinteger1-100
maxWidthinteger0 = keep.
maxHeightinteger0 = keep.
stripMetadatabooleanRecommended for privacy and size.
maxConcurrencyintegerMax concurrency

Pricing

Pay per event: Image converted $0.001. Plus Apify's small per-run start fee. Apify's free plan includes monthly credit to try it.

How to run

  1. Open the Store page and click Try for free.
  2. Fill in the input (or paste the example JSON in the JSON tab).
  3. Click Start, then export results as CSV, Excel or JSON, or call it via the Apify API.
  4. Optional: add a Schedule and a webhook/Slack/email integration for ongoing monitoring.

Open Bulk Image Converter & Compressor (WebP, AVIF, JPG, PNG) on Apify →