Image Converter, Compressor & Resizer (WebP, AVIF, JPEG, PNG) avatar

Image Converter, Compressor & Resizer (WebP, AVIF, JPEG, PNG)

Pricing

from $1.50 / 1,000 image converteds

Go to Apify Store
Image Converter, Compressor & Resizer (WebP, AVIF, JPEG, PNG)

Image Converter, Compressor & Resizer (WebP, AVIF, JPEG, PNG)

Convert and compress images in bulk to WebP, AVIF, JPEG or PNG. Set quality and max width/height (aspect kept), strip EXIF/GPS. Paste image URLs; get files with a direct link and % saved. $0.002 per image (per 4 MP in or 2 MB out); failed images free.

Pricing

from $1.50 / 1,000 image converteds

Rating

0.0

(0)

Developer

Dongjin Kim

Dongjin Kim

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

Convert and compress images in bulk. Paste image URLs, pick an output format (WebP, AVIF, JPEG or PNG, or keep the original format), a quality, and optionally a maximum width / height. Each image is converted, shrunk to fit (aspect ratio kept, never enlarged), stripped of EXIF / GPS metadata by default, and saved in the run's storage with a direct download link. The dataset row shows the old and new format, file size and pixel size, and how many % smaller the new file is.

Typical uses: make a folder of product or blog photos web-ready (WebP or AVIF, max 1600 px wide), shrink phone photos before uploading them, convert PNG screenshots to WebP, or remove camera and location data from pictures before you publish them.

  • Input formats: JPEG, PNG, WebP, AVIF, GIF, BMP, TIFF (up to 50 MB per file)
  • Output formats: WebP, AVIF, JPEG, PNG, or keep (same format, recompressed; GIF, BMP and TIFF become PNG)
  • Transparency is kept in WebP, AVIF and PNG (JPEG has none: transparent areas become white)
  • Failed, refused and broken images are free

How to use

  1. Paste direct image URLs into Image URLs (Bulk edit: one URL per line).
  2. Choose Output format and Quality (default WebP, 80).
  3. Optionally set Max width and / or Max height in pixels.
  4. Click Start. Download the files from the links in the dataset (column kvUrl), or turn on ZIP link to get them all in one ZIP.

Input example

{
"imageUrls": [
{ "url": "https://upload.wikimedia.org/wikipedia/commons/9/92/Boucherie_in_S%C3%A3o_Paulo_City.jpg" },
{ "url": "https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png" }
],
"format": "webp",
"quality": 80,
"maxWidth": 1600,
"stripMetadata": true,
"zip": true
}
FieldDefaultWhat it does
imageUrls—Direct image links (up to 5,000 per run). Duplicates are processed once.
formatwebpwebp, avif, jpeg, png or keep.
quality801–100 for WebP, AVIF and JPEG. Lower = smaller files. Not used for PNG (lossless).
maxWidth / maxHeight0 (no limit)Shrink to fit inside these sizes, aspect ratio kept. Never enlarges.
stripMetadatatrueRemove EXIF (camera, date, GPS). The colour profile is kept.
maxItems100Process at most this many URLs.
zipfalseAlso give one link to a ZIP of all converted images (no extra charge).

What you get

One dataset row per URL. Real output from a cloud test run (WebP, quality 80, maxWidth 1600):

url (file)statusinputFormatinputBytesinput pxformatbytesoutput pxsavedPercentchargedEvents
250px-Swallow…grey_wall.jpgokjpeg19,609250×250webp13,812250×25029.61
PNG_transparency_demonstration_1.pngokpng224,566800×600webp69,056800×60069.21
Dyson_ring_2.webpokwebp100,4961920×1080webp15,3161600×90084.81
Boucherie_in_São_Paulo_City.jpgokjpeg7,652,8193000×2292webp439,2021600×122294.32
truncated_jpeg.jpg (broken file)not_an_imagejpeg6,698100×1000

Columns: url, status, inputFormat, inputBytes, inputWidth, inputHeight, format, bytes, width, height, savedPercent (negative if the new file is larger), kvKey, kvUrl, chargedEvents, error, note.

  • Files: each converted image is a record in the run's key-value store, key converted-<name from the URL>.<webp|avif|jpg|png>. kvUrl is a direct link; anyone who has that link can open the file, so do not share it if the image is private.
  • RUN_REPORT record: images saved, events charged, total bytes in and out and % saved, failed URLs by reason, the ZIP link (like kvUrl, anyone who has it can download the files), and your settings.
  • Status values: ok, not_an_image (web page, PDF, HEIC, broken or cut-off file), unsupported_format, too_large, output_too_large, conversion_failed, http_error, robots_txt, blocked_site, terms_of_use, private_page, invalid_url, download_failed, storage_error, internal_error. Only ok rows are charged.
  • How long files stay: the files and links live in the run's storage, which Apify deletes after your plan's data retention period. Download the files you need soon after the run.

Pricing

Pay per event — you pay only for images that were converted and saved:

EventFree planBronzeSilver and up
image-converted, per started 4 MP of the input image or per started 2 MB of the new file, whichever is more$0.002$0.0018$0.0015

A 1920×1080 image (2.1 MP) saved as WebP, AVIF or JPEG = 1 event. A 12 MP phone photo = 3 events ($0.006 on the free plan). 1,000 web images up to 4 MP = $2.00. The file-size rule matters mainly for lossless PNG output of photos (about 2 bytes per pixel): a 10.6 MP photo saved as a 12.9 MB PNG = 7 events. Storing large files costs platform transfer, which is why it is counted. The row's chargedEvents shows the count for each image. Failed, refused, broken, robots.txt-blocked and over-limit URLs cost nothing. Apify's standard actor-start event applies once per run. You can cap a run with Maximum cost per run: you are never charged more than it, and no image is started whose pixel count would go over it (if a new file turns out larger than expected, its extra events are simply not charged).

Limits (please read)

  • Direct image URLs only. The actor does not search web pages for images, log in, use cookies or proxies, or get past bot protection or CAPTCHAs. A URL that returns a web page is refused (free).
  • Not fetched (by our policy, free rows): private and local network addresses, video / social / stock-photo platforms and their image hosts, Google, large retailers and marketplaces, login and account pages. robots.txt is respected; one request at a time per website with a pause, so many images from one site take about 1 second each.
  • Size: 50 MB per file, 30,000 px per side. Input up to 19 MP (width × height) at the default 1 GB memory, 44 MP at 2 GB and 50 MP at 4 GB (set the run memory in the run options). Larger images are refused, not charged. WebP output is limited to 16,383 px per side (set maxWidth / maxHeight to fit).
  • Animated GIF / WebP and multi-page TIFF: only the first frame is converted (the row says so).
  • Not supported as input: HEIC / HEIF (iPhone default), SVG, PDF, RAW camera files, ICO.
  • Quality scales differ between formats: AVIF at quality 80 is often larger than WebP at 80. Try 50–65 for AVIF. AVIF is encoded at a fast speed setting (libavif speed 9), which gives files about 10 % larger than the slowest setting.
  • Metadata: with stripMetadata on, EXIF (camera, date, GPS), XMP, IPTC and comments are removed; the EXIF rotation is applied to the pixels first, so photos stay upright. The ICC colour profile is kept so colours do not change. With it off, only the EXIF block is copied — XMP, IPTC and PNG text notes are never copied, and these are where many copyright notices are kept, so this actor cannot keep them. EXIF author and copyright fields survive only with stripMetadata off. Do not use this actor to remove someone else's copyright information.
  • CMYK images are converted to RGB (using their embedded colour profile when they have one). 16-bit images become 8-bit.
  • Re-encoding a file that is already well compressed can make it larger — savedPercent is then negative and the row has a note.

Responsible use

Only convert images you have the right to use. Converting or compressing an image does not give you any rights to it. Images are downloaded to a temporary file, converted, and deleted; only the result is stored, in your run's storage. We do not keep, view or reuse your images. If your images show people, you are responsible for having a lawful basis to process them (e.g. GDPR, PIPEDA).

FAQ

Why was my image refused as not_an_image? The URL returned a web page, a PDF, a HEIC file, or a broken / cut-off image. Open the URL in a browser: it must show only the image. The error column says what was received.

Can I upload files from my computer? Not directly. Put the files somewhere with a public URL first (for example an Apify key-value store, S3 or your own website).

Will the colours change? No — the colour profile is kept. Exceptions: CMYK images are converted to RGB, and a grayscale image with a grayscale colour profile loses that profile when saved as WebP or AVIF (these store colour images only).

Is AVIF or WebP better? Both are much smaller than JPEG for photos. WebP is supported by every current browser and encodes faster; AVIF is usually smaller at the same visual quality and is supported by current Chrome, Firefox, Safari and Edge.

Does it upscale? No, images are only shrunk, never enlarged.

Speed and resources, measured

Cloud test runs on Apify, build 1.0.3, November 2026 (platform cost is paid by us, the developer, under pay per event):

RunMemoryRun timeEventsPlatform cost per event
The 5 images in the table above → WebP, max width 16001 GB7 s5$0.00016
2 photos (10.6 MP, 6.9 MP) + transparent PNG → AVIF, full size1 GB5 s6$0.00011
2 photos → PNG, full size (25.7 MB written)1 GB9 s14$0.00014
20 MP photo → AVIF, full size2 GB5 s (peak memory 595 MB)5$0.00016

Most of the time per image is the download (one request per second per website). Conversion itself takes well under a second for a typical web image.

Credits

Made by DOJITO. Converts with Pillow (MIT-CMU licence), which includes libavif, libwebp, libjpeg-turbo and zlib. Example images from Wikimedia Commons: "Boucherie in São Paulo City" (CC0), "Swallow Prominent on a grey wall" (CC0), "Dyson ring 2" (CC0), "PNG transparency demonstration 1" by Daniel G., Ed g2s and CyberShadow from POV-Ray source code (CC BY-SA 3.0, used only as a test input; only its sizes are quoted); broken test file truncated_jpeg.jpg from Pillow's test suite. Not affiliated with Apify, Google, the Alliance for Open Media or the Pillow project.