Bulk Image Compressor & WebP / AVIF Converter avatar

Bulk Image Compressor & WebP / AVIF Converter

Pricing

$4.00 / 1,000 image optimizeds

Go to Apify Store
Bulk Image Compressor & WebP / AVIF Converter

Bulk Image Compressor & WebP / AVIF Converter

Compress, resize and convert images by URL to WebP, AVIF, JPEG or PNG. Bulk up to 2,000 images, keeps transparency, strips metadata, reports the bytes saved per file.

Pricing

$4.00 / 1,000 image optimizeds

Rating

0.0

(0)

Developer

HexaX

HexaX

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Security

Limited permissions

Share

Compress, resize and convert images in bulk: give it image URLs, get smaller WebP, AVIF, JPEG or PNG files and a per-file report of the bytes saved.

What you get

  • Output as WebP, AVIF, JPEG or PNG, lossy or lossless.
  • Optional resize to a maximum width and/or height (aspect ratio kept, never enlarged).
  • Transparency is kept for WebP, AVIF and PNG; for JPEG it is filled with a background color you choose.
  • Metadata (EXIF including GPS, embedded AI prompts) is dropped by default; photo rotation is applied to the pixels first, so nothing ends up sideways.
  • A report row per image: size before and after, percent saved, dimensions before and after, and a link to the file.
  • A result is only delivered, and only charged, when it is actually smaller than the original.

Use cases

  • Shrink image sets for websites, shops and galleries (Core Web Vitals, page weight).
  • Convert PNG / JPEG libraries to WebP or AVIF.
  • Make fixed-size previews and thumbnails of a long list of URLs.
  • Batch-reduce AI-generated PNGs, which are often very large, before delivery.

Quick start

Keep the example URLs and press Start. Optimized files appear in the run's Key-value store; the dataset lists the savings.

Input

{
"imageUrls": ["https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0010.jpg"],
"outputFormat": "webp",
"quality": 80,
"maxWidth": 1600
}
FieldDefaultNotes
imageUrls(required)Up to 2,000 direct links. JPEG, PNG, WebP, BMP and still GIF. Animated files are skipped.
outputFormatwebpwebp, avif, jpeg or png.
quality801-100, for lossy WebP / AVIF / JPEG.
losslessfalseLossless WebP / AVIF. Best for screenshots and flat-color illustrations.
maxWidth / maxHeight00 = no limit.
keepMetadatafalseKeep EXIF and the color profile.
backgroundColor#ffffffFill for transparent areas when writing JPEG.
maxImageSizeMb30Larger source files are skipped with an error.
maxConcurrency4Parallel downloads.

Output

{
"url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0010.jpg",
"status": "optimized",
"source_format": "jpeg",
"output_format": "webp",
"bytes_before": 161713,
"bytes_after": 118522,
"saved_percent": 26.7,
"width_before": 640, "height_before": 480,
"width_after": 640, "height_after": 480,
"optimized_file_key": "00002-DSCN0010.webp",
"optimized_file_url": "https://api.apify.com/v2/key-value-stores/<id>/records/00002-DSCN0010.webp"
}

status is optimized, not_smaller (the result would not be smaller: no file written, not charged) or error.

Limits

  • Inputs over 100 megapixels, animated images and non-image files are reported as errors.
  • AVIF encoding is slower than WebP; large batches take longer.
  • Each site's robots.txt is checked before downloading. Use it on images you are allowed to process.

Pricing

Pay per event: you are charged once per image that came out smaller. Failed downloads and not_smaller results are free.

  • Image Metadata Remover: strip EXIF, GPS and AI prompts without re-encoding.
  • Duplicate & Similar Image Finder: remove repeated images before you compress the rest.
  • Stable Diffusion Prompt Extractor: read the prompt and settings embedded in AI images.