Apify
Image Converter & Optimizer (WebP, AVIF, JPEG, PNG)
Bulk-convert and compress images from URLs or a dataset to WebP, AVIF, JPEG or PNG. Resize, crop, fix orientation, strip metadata, hit a target file size. Failed images are free.
Highlights
- Modern formats: WebP and AVIF (typically 30–80 % smaller than JPEG/PNG), plus JPEG, PNG, GIF or "keep original format".
- Chain it after a scraper: pick a dataset and the Actor finds the image field itself (
imageUrl,image,images[],url,src, …) or use your own field path (product.image). - Resize the way you need: *inside* (keep aspect ratio, never upscale by default), *cover* (exact size, cropped – thumbnails), *contain* (exact size, padded with a colour or transparency).
- Target file size: e.g. "every image ≤ 100 kB" – the quality is lowered step by step, never below your minimum.
- Correct by default: EXIF orientation applied (no sideways photos), colour profile kept, transparency kept (flattened onto your background colour for JPEG), animated GIF/WebP stay animated, CMYK and 16-bit images handled.
- Privacy: EXIF data such as GPS location and camera serials are removed unless you want to keep them.
- Fair and safe: pay only for converted images; download errors, 404s and non-images are free. Private/internal addresses are blocked.
Pricing
Pay per event on the Apify platform – you only pay for what the tool produces. A tiny start fee per run applies.
| Event | Price | USD per event |
|---|---|---|
| Image converted One converted image up to 10 megapixels of output; very large or animated outputs count once per started 10 MP. Failed images are free. | $1.00 per 1,000 | $0.001 |
Typical use cases
- Convert product images to WebP for faster pages
Convert JPEG/PNG images from URLs or a scraper dataset into compact WebP files, resized to a maximum width, metadata removed. Typical saving: 60–80 % smaller files. - Create square product thumbnails (JPEG)
Create square 600×600 JPEG thumbnails with a white background from product images – e.g. for marketplaces and shop listings. - Convert images to AVIF in bulk
Convert JPEG, PNG or WebP images from URLs or a dataset to AVIF – the most compact modern image format – resized to a maximum width. Ideal for next-gen image formats recommended by PageSpeed. - Compress images below a target file size
Compress images until each file is below a target size (e.g. 200 KB for upload limits or e-mail) – the quality is searched automatically, never below the minimum quality you set. - Remove EXIF and GPS metadata from photos
Strip EXIF, GPS location and camera data from photos before publishing them – the image keeps its original format, orientation is applied and the colour profile is kept. - Resize images in bulk (keep format)
Resize a list of image URLs – or all images of a dataset – to a maximum width/height while keeping the original format and aspect ratio. EXIF orientation is applied, metadata optionally removed. - Convert PNG to JPG (white background)
Convert PNG (also WebP, GIF, BMP, TIFF) images to JPG in bulk: transparency is filled with a background colour of your choice, quality adjustable, metadata removed. - Convert images to PNG (lossless)
Convert JPEG, WebP, AVIF, GIF, BMP or TIFF images to PNG in bulk – lossless, transparency kept, optional resize. Results are stored with download links in the dataset.
How to use it
Run it in the Apify Console with a few clicks, call it via the Apify API from your own code, or connect it to AI agents through Apify's MCP server. Results come as a dataset (JSON, CSV, Excel) and, where relevant, as files. Full input documentation is on the Apify page.
Limits and fair use
- Max 50 MB per file, 100 megapixels input, 40 megapixels output per frame, 300 animation frames.
- No HEIC/HEIF input yet, no SVG rasterising.
- Public URLs only (no logins, cookies or custom headers). Process only images you are allowed to use.