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.
What it's for
- Shrink listing or product photos to WebP for faster pages
- Batch-resize images for marketplaces and email
- Strip GPS/EXIF before publishing photos
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
| Field | Type | Notes |
|---|---|---|
imageUrls required | array | Direct image links. |
format | string | Output format |
quality | integer | 1-100 |
maxWidth | integer | 0 = keep. |
maxHeight | integer | 0 = keep. |
stripMetadata | boolean | Recommended for privacy and size. |
maxConcurrency | integer | Max 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
- Open the Store page and click Try for free.
- Fill in the input (or paste the example JSON in the JSON tab).
- Click Start, then export results as CSV, Excel or JSON, or call it via the Apify API.
- Optional: add a Schedule and a webhook/Slack/email integration for ongoing monitoring.
Open Bulk Image Converter & Compressor (WebP, AVIF, JPG, PNG) on Apify →