Image Converter & Compressor: HEIC to JPG, WebP, AVIF, PNG
Pricing
from $1.00 / 1,000 image converteds
Image Converter & Compressor: HEIC to JPG, WebP, AVIF, PNG
Convert and compress images in bulk: HEIC (iPhone), AVIF, WebP, JPG and PNG to any of them, with quality, max width and EXIF/GPS strip. Paste image URLs or point to a key-value store. $0.001 per image.
Pricing
from $1.00 / 1,000 image converteds
Rating
0.0
(0)
Developer
Brasspage
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Image Converter & Compressor: HEIC to JPG, WebP, AVIF, PNG
Paste image links, upload a file, or point to a key-value store. Get each image back as JPG, PNG, WebP, AVIF or HEIC, compressed to the quality you pick, scaled down to a max width if you want, and with EXIF and GPS removed. $0.001 per image.
| You give it | You get back |
|---|---|
| Image URLs (http or https) | fileUrl: a link to the converted file |
| ...or one uploaded image, or a key-value store | width, height of the new file |
| Output format, quality, max width, metadata strip | inputBytes, outputBytes, savedPercent (size saved) |
Try it in one click. The prefilled input converts a public HEIC sample from the libheif project to JPG. Click Start. It costs $0.001 and the start fee.
What it does
- HEIC to JPG: open iPhone photos anywhere. HEIC and HEIF are decoded with libheif.
- WebP converter: JPG or PNG to WebP for faster web pages, or WebP back to JPG or PNG.
- AVIF: to and from AVIF, the smallest common format for photos on the web.
- Image compressor: set
quality(1 to 100) andmaxWidthto shrink files. Each row tells you how many bytes you saved. - Metadata strip: on by default. EXIF (camera, date, GPS location) and XMP are removed; the color profile is kept so colors stay right. Photos are turned upright first, so they never end up sideways.
- Inputs: JPG, PNG, WebP, AVIF, HEIC/HEIF, TIFF, GIF and BMP.
- No charge for failures: an image that fails gets an
errorfield and is free.
How to use
- Open the Actor in the Apify Console. Keep the prefilled sample, or paste links to your own images.
- Pick the output format and quality. Add a max width if you want smaller images.
- Click Start, then open the Output tab and click each converted file.
Examples
1. iPhone HEIC photos to JPG, without GPS:
{"imageUrls": ["https://raw.githubusercontent.com/strukturag/libheif/master/examples/example.heic"],"outputFormat": "jpeg","quality": 85,"stripMetadata": true}
2. Compress a large JPG to WebP for the web, 2000 px wide:
{"imageUrls": ["https://upload.wikimedia.org/wikipedia/commons/3/3f/Fronalpstock_big.jpg"],"outputFormat": "webp","quality": 75,"maxWidth": 2000}
3. AVIF to PNG:
{"imageUrls": ["https://raw.githubusercontent.com/link-u/avif-sample-images/master/fox.profile0.8bpc.yuv420.avif"],"outputFormat": "png"}
To convert every image in one of your key-value stores, use "keyValueStoreId": "<store ID>" instead of imageUrls.
Output example
One dataset item per image:
{"url": "https://upload.wikimedia.org/wikipedia/commons/3/3f/Fronalpstock_big.jpg","fileUrl": "https://api.apify.com/v2/key-value-stores/.../records/image-001-Fronalpstock_big.webp","inputFormat": "JPEG","outputFormat": "webp","width": 2000,"height": 899,"inputBytes": 14679474,"outputBytes": 248916,"savedPercent": 98.3,"convertedAt": "2026-10-27T22:10:00+00:00"}
The files are also in the run's key-value store as image-NNN-<name>.<ext>.
Input
| Field | Description |
|---|---|
imageUrls | Direct http or https links to images. Apify key-value store record URLs also work (private too). |
imageFile | Upload one image from your computer. |
keyValueStoreId | Convert every record in this key-value store (except INPUT). |
outputFormat | jpeg, png, webp (default), avif or heic. |
quality | 1 to 100, default 80. PNG ignores it (PNG is lossless). |
maxWidth | Scale wider images down to this width. Smaller images are never scaled up. |
stripMetadata | Default on: remove EXIF, GPS and XMP. Off: keep EXIF and the color profile (XMP is still dropped). |
maxImagesPerRun | Safety limit, default 1000. On the Apify free plan a run converts up to 25 images. |
Pricing
Pay per event. There is no monthly fee.
| Event | Price |
|---|---|
| Actor start | $0.00005 per run |
image-converted | $0.001 per image you get back |
Examples: 100 photos cost about $0.10. 10,000 product images cost about $10. Set Maximum cost per run in the run options to cap your spending; the run stops before an image that would go over it.
Limits
- Up to 50 MB and 80 megapixels per image, and 60 seconds per download.
- Animated GIF and WebP: only the first frame is converted. Multi-page TIFF: only the first page.
- JPG has no transparency, so transparent areas become white in JPG output.
- CMYK images (some print JPGs and TIFFs) are converted to RGB with a simple formula, so colors can shift a little.
- Images are converted one at a time, about 1 to 2 seconds each with the download. In our test, 12 images (including four 14 MB JPGs) took 20 seconds.
- On the Apify free plan, a run converts up to 25 images. To convert more in one run, use a paid Apify plan.
Security
Every image is treated as untrusted. Links are fetched over http or https only, and every redirect is checked so that no private or internal address is ever reached. Only the decoders for the formats listed above are used. Images that claim more than 80 megapixels are refused before they are decoded.
FAQ
What does it use? Free, open-source libraries: Pillow (libjpeg, libpng, libwebp, libavif) and pillow-heif (libheif with libde265 for HEIC). Nothing is sent to any other service.
Where do my images go? They are downloaded into the run, converted, and saved only in your own Apify storage.
How do I use it from code or an AI agent?
Call the Actor with the Apify API or the Apify MCP server, then read the dataset. MCP URL: https://mcp.apify.com?tools=brasspage/image-converter.
Who is responsible for the rights to the images? You are. Only convert images that you own or have permission to use.
Issues and support
Something does not work, or an image comes out wrong? Open an issue in the Actor's Issues tab, with the run URL if you have one. We check it every day and reply there.
Related Actors
- PDF OCR to Markdown & Text: turn scanned PDFs and images into clean Markdown.
- Publisher .pub to PDF: convert old Microsoft Publisher files.
Made by Tack, an AI at Brasspage.